seiten 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/helpers/seiten_helper.rb +9 -7
- data/lib/seiten/page.rb +8 -6
- data/lib/seiten/version.rb +1 -1
- data/test/dummy/app/controllers/pages_controller.rb +5 -0
- data/test/dummy/app/views/pages/secret.html.erb +1 -0
- data/test/dummy/config/routes.rb +2 -0
- data/test/dummy/log/test.log +625 -0
- data/test/integration/navigation_test.rb +6 -0
- data/test/page_test.rb +4 -0
- metadata +5 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d2c65c4c99a68b5c68a66c4e0ec9ca783378f809
|
4
|
+
data.tar.gz: 25bd50d9ee3ae8d2999ef308c3422850de4d890b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 031000e07430ab7452480c2cb7c930eac0b5cfb9b6098e72fb9993f7225450c1ed127d25dfe0bffd40a638fc2ef0c0e5e7ac991e3c2383687ed16ab6dd3e1532
|
7
|
+
data.tar.gz: f15c195a766391ce5469bfd9d7b9b9cadc5ceba5db2d5858c1b5430e66716983a294e2feafe73542b75d9f9ac1de2e2789927bd8b6481e952d742528c7ba3e31
|
@@ -28,13 +28,15 @@ module SeitenHelper
|
|
28
28
|
end
|
29
29
|
|
30
30
|
def seiten_breadcrumb
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
31
|
+
if current_page
|
32
|
+
output = content_tag(:ul, class: "breadcrumb") do
|
33
|
+
Seiten::Page.get_breadcrumb(current_page).reverse.collect { |page|
|
34
|
+
content_tag :li do
|
35
|
+
raw "> #{link_to(page.title, page.slug)}"
|
36
|
+
end
|
37
|
+
}.join().html_safe
|
38
|
+
end
|
39
|
+
output
|
37
40
|
end
|
38
|
-
output
|
39
41
|
end
|
40
42
|
end
|
data/lib/seiten/page.rb
CHANGED
@@ -67,12 +67,14 @@ module Seiten
|
|
67
67
|
|
68
68
|
# true if page is equal current_page or parent of current_page
|
69
69
|
def active?(current_page)
|
70
|
-
if
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
70
|
+
if current_page
|
71
|
+
if id == current_page.id
|
72
|
+
true
|
73
|
+
elsif parent_of?(current_page)
|
74
|
+
true
|
75
|
+
else
|
76
|
+
false
|
77
|
+
end
|
76
78
|
end
|
77
79
|
end
|
78
80
|
end
|
data/lib/seiten/version.rb
CHANGED
@@ -0,0 +1 @@
|
|
1
|
+
This is a secret page
|
data/test/dummy/config/routes.rb
CHANGED
data/test/dummy/log/test.log
CHANGED
@@ -1758,3 +1758,628 @@ Completed 200 OK in 110ms (Views: 108.3ms | ActiveRecord: 0.0ms)
|
|
1758
1758
|
[1m[35m (0.0ms)[0m rollback transaction
|
1759
1759
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1760
1760
|
[1m[35m (0.0ms)[0m rollback transaction
|
1761
|
+
Connecting to database specified by database.yml
|
1762
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
1763
|
+
Started GET "/" for 127.0.0.1 at 2013-07-24 12:51:31 +0200
|
1764
|
+
Processing by Seiten::PagesController#show as HTML
|
1765
|
+
Rendered app/pages/home.html.erb (0.2ms)
|
1766
|
+
Rendered /Users/pulleasy/code/seiten/app/views/seiten/pages/show.html.erb within layouts/application (1.8ms)
|
1767
|
+
Completed 200 OK in 58ms (Views: 55.8ms | ActiveRecord: 0.0ms)
|
1768
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1769
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1770
|
+
Started GET "/about" for 127.0.0.1 at 2013-07-24 12:51:31 +0200
|
1771
|
+
Started GET "/about/our-team" for 127.0.0.1 at 2013-07-24 12:51:31 +0200
|
1772
|
+
Processing by Seiten::PagesController#show as HTML
|
1773
|
+
Parameters: {"page"=>"about/our-team"}
|
1774
|
+
Completed 200 OK in 103ms (Views: 102.1ms | ActiveRecord: 0.0ms)
|
1775
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1776
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1777
|
+
Started GET "/" for 127.0.0.1 at 2013-07-24 12:51:31 +0200
|
1778
|
+
Processing by Seiten::PagesController#show as HTML
|
1779
|
+
Completed 200 OK in 50ms (Views: 48.6ms | ActiveRecord: 0.0ms)
|
1780
|
+
Started GET "/contact" for 127.0.0.1 at 2013-07-24 12:51:31 +0200
|
1781
|
+
Processing by Seiten::PagesController#show as HTML
|
1782
|
+
Parameters: {"page"=>"contact"}
|
1783
|
+
Completed 200 OK in 69ms (Views: 67.4ms | ActiveRecord: 0.0ms)
|
1784
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1785
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1786
|
+
Started GET "/" for 127.0.0.1 at 2013-07-24 12:51:31 +0200
|
1787
|
+
Processing by Seiten::PagesController#show as HTML
|
1788
|
+
Completed 200 OK in 50ms (Views: 49.0ms | ActiveRecord: 0.0ms)
|
1789
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1790
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1791
|
+
Started GET "/about/our-team/switzerland" for 127.0.0.1 at 2013-07-24 12:51:31 +0200
|
1792
|
+
Processing by Seiten::PagesController#show as HTML
|
1793
|
+
Parameters: {"page"=>"about/our-team/switzerland"}
|
1794
|
+
Completed 200 OK in 112ms (Views: 110.9ms | ActiveRecord: 0.0ms)
|
1795
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1796
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1797
|
+
Started GET "/about/our-team/switzerland" for 127.0.0.1 at 2013-07-24 12:51:31 +0200
|
1798
|
+
Processing by Seiten::PagesController#show as HTML
|
1799
|
+
Parameters: {"page"=>"about/our-team/switzerland"}
|
1800
|
+
Completed 200 OK in 112ms (Views: 110.7ms | ActiveRecord: 0.0ms)
|
1801
|
+
Started GET "/about/our-team" for 127.0.0.1 at 2013-07-24 12:51:32 +0200
|
1802
|
+
Processing by Seiten::PagesController#show as HTML
|
1803
|
+
Parameters: {"page"=>"about/our-team"}
|
1804
|
+
Completed 200 OK in 101ms (Views: 100.0ms | ActiveRecord: 0.0ms)
|
1805
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1806
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1807
|
+
Started GET "/" for 127.0.0.1 at 2013-07-24 12:51:32 +0200
|
1808
|
+
Processing by Seiten::PagesController#show as HTML
|
1809
|
+
Completed 200 OK in 26ms (Views: 25.1ms | ActiveRecord: 0.0ms)
|
1810
|
+
Started GET "/products/web-development" for 127.0.0.1 at 2013-07-24 12:51:32 +0200
|
1811
|
+
Processing by Seiten::PagesController#show as HTML
|
1812
|
+
Parameters: {"page"=>"products/web-development"}
|
1813
|
+
Completed 200 OK in 94ms (Views: 92.8ms | ActiveRecord: 0.0ms)
|
1814
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1815
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1816
|
+
Started GET "/about/partners" for 127.0.0.1 at 2013-07-24 12:51:32 +0200
|
1817
|
+
Processing by Seiten::PagesController#show as HTML
|
1818
|
+
Parameters: {"page"=>"about/partners"}
|
1819
|
+
Completed 200 OK in 84ms (Views: 82.6ms | ActiveRecord: 0.0ms)
|
1820
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1821
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1822
|
+
Started GET "/about/partners" for 127.0.0.1 at 2013-07-24 12:51:32 +0200
|
1823
|
+
Processing by Seiten::PagesController#show as HTML
|
1824
|
+
Parameters: {"page"=>"about/partners"}
|
1825
|
+
Completed 200 OK in 106ms (Views: 104.6ms | ActiveRecord: 0.0ms)
|
1826
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1827
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1828
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1829
|
+
Connecting to database specified by database.yml
|
1830
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
1831
|
+
Started GET "/" for 127.0.0.1 at 2013-07-24 12:51:49 +0200
|
1832
|
+
Processing by Seiten::PagesController#show as HTML
|
1833
|
+
Rendered app/pages/home.html.erb (0.2ms)
|
1834
|
+
Rendered /Users/pulleasy/code/seiten/app/views/seiten/pages/show.html.erb within layouts/application (1.9ms)
|
1835
|
+
Completed 200 OK in 58ms (Views: 56.2ms | ActiveRecord: 0.0ms)
|
1836
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1837
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1838
|
+
Started GET "/about" for 127.0.0.1 at 2013-07-24 12:51:49 +0200
|
1839
|
+
Started GET "/about/our-team" for 127.0.0.1 at 2013-07-24 12:51:49 +0200
|
1840
|
+
Processing by Seiten::PagesController#show as HTML
|
1841
|
+
Parameters: {"page"=>"about/our-team"}
|
1842
|
+
Completed 200 OK in 104ms (Views: 102.3ms | ActiveRecord: 0.0ms)
|
1843
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1844
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1845
|
+
Started GET "/" for 127.0.0.1 at 2013-07-24 12:51:49 +0200
|
1846
|
+
Processing by Seiten::PagesController#show as HTML
|
1847
|
+
Completed 200 OK in 51ms (Views: 49.4ms | ActiveRecord: 0.0ms)
|
1848
|
+
Started GET "/contact" for 127.0.0.1 at 2013-07-24 12:51:49 +0200
|
1849
|
+
Processing by Seiten::PagesController#show as HTML
|
1850
|
+
Parameters: {"page"=>"contact"}
|
1851
|
+
Completed 200 OK in 69ms (Views: 67.5ms | ActiveRecord: 0.0ms)
|
1852
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1853
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1854
|
+
Started GET "/" for 127.0.0.1 at 2013-07-24 12:51:49 +0200
|
1855
|
+
Processing by Seiten::PagesController#show as HTML
|
1856
|
+
Completed 200 OK in 51ms (Views: 49.5ms | ActiveRecord: 0.0ms)
|
1857
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1858
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1859
|
+
Started GET "/about/our-team/switzerland" for 127.0.0.1 at 2013-07-24 12:51:49 +0200
|
1860
|
+
Processing by Seiten::PagesController#show as HTML
|
1861
|
+
Parameters: {"page"=>"about/our-team/switzerland"}
|
1862
|
+
Completed 200 OK in 112ms (Views: 110.8ms | ActiveRecord: 0.0ms)
|
1863
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1864
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1865
|
+
Started GET "/about/our-team/switzerland" for 127.0.0.1 at 2013-07-24 12:51:49 +0200
|
1866
|
+
Processing by Seiten::PagesController#show as HTML
|
1867
|
+
Parameters: {"page"=>"about/our-team/switzerland"}
|
1868
|
+
Completed 200 OK in 112ms (Views: 110.9ms | ActiveRecord: 0.0ms)
|
1869
|
+
Started GET "/about/our-team" for 127.0.0.1 at 2013-07-24 12:51:49 +0200
|
1870
|
+
Processing by Seiten::PagesController#show as HTML
|
1871
|
+
Parameters: {"page"=>"about/our-team"}
|
1872
|
+
Completed 200 OK in 102ms (Views: 101.1ms | ActiveRecord: 0.0ms)
|
1873
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1874
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1875
|
+
Started GET "/" for 127.0.0.1 at 2013-07-24 12:51:49 +0200
|
1876
|
+
Processing by Seiten::PagesController#show as HTML
|
1877
|
+
Completed 200 OK in 26ms (Views: 24.6ms | ActiveRecord: 0.0ms)
|
1878
|
+
Started GET "/products/web-development" for 127.0.0.1 at 2013-07-24 12:51:49 +0200
|
1879
|
+
Processing by Seiten::PagesController#show as HTML
|
1880
|
+
Parameters: {"page"=>"products/web-development"}
|
1881
|
+
Completed 200 OK in 93ms (Views: 91.6ms | ActiveRecord: 0.0ms)
|
1882
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1883
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1884
|
+
Started GET "/about/partners" for 127.0.0.1 at 2013-07-24 12:51:50 +0200
|
1885
|
+
Processing by Seiten::PagesController#show as HTML
|
1886
|
+
Parameters: {"page"=>"about/partners"}
|
1887
|
+
Completed 200 OK in 84ms (Views: 82.7ms | ActiveRecord: 0.0ms)
|
1888
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1889
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1890
|
+
Started GET "/about/partners" for 127.0.0.1 at 2013-07-24 12:51:50 +0200
|
1891
|
+
Processing by Seiten::PagesController#show as HTML
|
1892
|
+
Parameters: {"page"=>"about/partners"}
|
1893
|
+
Completed 200 OK in 106ms (Views: 104.7ms | ActiveRecord: 0.0ms)
|
1894
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1895
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1896
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1897
|
+
Connecting to database specified by database.yml
|
1898
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
1899
|
+
Started GET "/" for 127.0.0.1 at 2013-07-24 12:52:34 +0200
|
1900
|
+
Processing by Seiten::PagesController#show as HTML
|
1901
|
+
Rendered app/pages/home.html.erb (0.2ms)
|
1902
|
+
Rendered /Users/pulleasy/code/seiten/app/views/seiten/pages/show.html.erb within layouts/application (1.7ms)
|
1903
|
+
Completed 200 OK in 56ms (Views: 54.9ms | ActiveRecord: 0.0ms)
|
1904
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1905
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1906
|
+
Started GET "/about" for 127.0.0.1 at 2013-07-24 12:52:34 +0200
|
1907
|
+
Started GET "/about/our-team" for 127.0.0.1 at 2013-07-24 12:52:34 +0200
|
1908
|
+
Processing by Seiten::PagesController#show as HTML
|
1909
|
+
Parameters: {"page"=>"about/our-team"}
|
1910
|
+
Completed 200 OK in 103ms (Views: 101.5ms | ActiveRecord: 0.0ms)
|
1911
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1912
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1913
|
+
Started GET "/" for 127.0.0.1 at 2013-07-24 12:52:34 +0200
|
1914
|
+
Processing by Seiten::PagesController#show as HTML
|
1915
|
+
Completed 200 OK in 50ms (Views: 48.6ms | ActiveRecord: 0.0ms)
|
1916
|
+
Started GET "/contact" for 127.0.0.1 at 2013-07-24 12:52:34 +0200
|
1917
|
+
Processing by Seiten::PagesController#show as HTML
|
1918
|
+
Parameters: {"page"=>"contact"}
|
1919
|
+
Completed 200 OK in 69ms (Views: 67.5ms | ActiveRecord: 0.0ms)
|
1920
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1921
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1922
|
+
Started GET "/" for 127.0.0.1 at 2013-07-24 12:52:34 +0200
|
1923
|
+
Processing by Seiten::PagesController#show as HTML
|
1924
|
+
Completed 200 OK in 50ms (Views: 48.7ms | ActiveRecord: 0.0ms)
|
1925
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1926
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1927
|
+
Started GET "/about/our-team/switzerland" for 127.0.0.1 at 2013-07-24 12:52:34 +0200
|
1928
|
+
Processing by Seiten::PagesController#show as HTML
|
1929
|
+
Parameters: {"page"=>"about/our-team/switzerland"}
|
1930
|
+
Completed 200 OK in 111ms (Views: 110.1ms | ActiveRecord: 0.0ms)
|
1931
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1932
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1933
|
+
Started GET "/about/our-team/switzerland" for 127.0.0.1 at 2013-07-24 12:52:35 +0200
|
1934
|
+
Processing by Seiten::PagesController#show as HTML
|
1935
|
+
Parameters: {"page"=>"about/our-team/switzerland"}
|
1936
|
+
Completed 200 OK in 111ms (Views: 109.2ms | ActiveRecord: 0.0ms)
|
1937
|
+
Started GET "/about/our-team" for 127.0.0.1 at 2013-07-24 12:52:35 +0200
|
1938
|
+
Processing by Seiten::PagesController#show as HTML
|
1939
|
+
Parameters: {"page"=>"about/our-team"}
|
1940
|
+
Completed 200 OK in 100ms (Views: 98.7ms | ActiveRecord: 0.0ms)
|
1941
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1942
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1943
|
+
Started GET "/" for 127.0.0.1 at 2013-07-24 12:52:35 +0200
|
1944
|
+
Processing by Seiten::PagesController#show as HTML
|
1945
|
+
Completed 200 OK in 26ms (Views: 24.3ms | ActiveRecord: 0.0ms)
|
1946
|
+
Started GET "/products/web-development" for 127.0.0.1 at 2013-07-24 12:52:35 +0200
|
1947
|
+
Processing by Seiten::PagesController#show as HTML
|
1948
|
+
Parameters: {"page"=>"products/web-development"}
|
1949
|
+
Completed 200 OK in 94ms (Views: 92.4ms | ActiveRecord: 0.0ms)
|
1950
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1951
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1952
|
+
Started GET "/about/partners" for 127.0.0.1 at 2013-07-24 12:52:35 +0200
|
1953
|
+
Processing by Seiten::PagesController#show as HTML
|
1954
|
+
Parameters: {"page"=>"about/partners"}
|
1955
|
+
Completed 200 OK in 82ms (Views: 80.9ms | ActiveRecord: 0.0ms)
|
1956
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1957
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1958
|
+
Started GET "/about/partners" for 127.0.0.1 at 2013-07-24 12:52:35 +0200
|
1959
|
+
Processing by Seiten::PagesController#show as HTML
|
1960
|
+
Parameters: {"page"=>"about/partners"}
|
1961
|
+
Completed 200 OK in 105ms (Views: 104.0ms | ActiveRecord: 0.0ms)
|
1962
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1963
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1964
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1965
|
+
Connecting to database specified by database.yml
|
1966
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
1967
|
+
Started GET "/" for 127.0.0.1 at 2013-07-24 12:52:56 +0200
|
1968
|
+
Processing by Seiten::PagesController#show as HTML
|
1969
|
+
Rendered app/pages/home.html.erb (0.2ms)
|
1970
|
+
Rendered /Users/pulleasy/code/seiten/app/views/seiten/pages/show.html.erb within layouts/application (1.8ms)
|
1971
|
+
Completed 200 OK in 56ms (Views: 54.8ms | ActiveRecord: 0.0ms)
|
1972
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1973
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1974
|
+
Started GET "/about" for 127.0.0.1 at 2013-07-24 12:52:57 +0200
|
1975
|
+
Started GET "/about/our-team" for 127.0.0.1 at 2013-07-24 12:52:57 +0200
|
1976
|
+
Processing by Seiten::PagesController#show as HTML
|
1977
|
+
Parameters: {"page"=>"about/our-team"}
|
1978
|
+
Completed 200 OK in 102ms (Views: 100.9ms | ActiveRecord: 0.0ms)
|
1979
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1980
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1981
|
+
Started GET "/" for 127.0.0.1 at 2013-07-24 12:52:57 +0200
|
1982
|
+
Processing by Seiten::PagesController#show as HTML
|
1983
|
+
Completed 200 OK in 49ms (Views: 48.2ms | ActiveRecord: 0.0ms)
|
1984
|
+
Started GET "/contact" for 127.0.0.1 at 2013-07-24 12:52:57 +0200
|
1985
|
+
Processing by Seiten::PagesController#show as HTML
|
1986
|
+
Parameters: {"page"=>"contact"}
|
1987
|
+
Completed 200 OK in 68ms (Views: 66.6ms | ActiveRecord: 0.0ms)
|
1988
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1989
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1990
|
+
Started GET "/" for 127.0.0.1 at 2013-07-24 12:52:57 +0200
|
1991
|
+
Processing by Seiten::PagesController#show as HTML
|
1992
|
+
Completed 200 OK in 49ms (Views: 48.2ms | ActiveRecord: 0.0ms)
|
1993
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1994
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1995
|
+
Started GET "/about/our-team/switzerland" for 127.0.0.1 at 2013-07-24 12:52:57 +0200
|
1996
|
+
Processing by Seiten::PagesController#show as HTML
|
1997
|
+
Parameters: {"page"=>"about/our-team/switzerland"}
|
1998
|
+
Completed 200 OK in 110ms (Views: 109.2ms | ActiveRecord: 0.0ms)
|
1999
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2000
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2001
|
+
Started GET "/about/our-team/switzerland" for 127.0.0.1 at 2013-07-24 12:52:57 +0200
|
2002
|
+
Processing by Seiten::PagesController#show as HTML
|
2003
|
+
Parameters: {"page"=>"about/our-team/switzerland"}
|
2004
|
+
Completed 200 OK in 111ms (Views: 109.3ms | ActiveRecord: 0.0ms)
|
2005
|
+
Started GET "/about/our-team" for 127.0.0.1 at 2013-07-24 12:52:57 +0200
|
2006
|
+
Processing by Seiten::PagesController#show as HTML
|
2007
|
+
Parameters: {"page"=>"about/our-team"}
|
2008
|
+
Completed 200 OK in 100ms (Views: 98.7ms | ActiveRecord: 0.0ms)
|
2009
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2010
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2011
|
+
Started GET "/" for 127.0.0.1 at 2013-07-24 12:52:57 +0200
|
2012
|
+
Processing by Seiten::PagesController#show as HTML
|
2013
|
+
Completed 200 OK in 26ms (Views: 24.7ms | ActiveRecord: 0.0ms)
|
2014
|
+
Started GET "/products/web-development" for 127.0.0.1 at 2013-07-24 12:52:57 +0200
|
2015
|
+
Processing by Seiten::PagesController#show as HTML
|
2016
|
+
Parameters: {"page"=>"products/web-development"}
|
2017
|
+
Completed 200 OK in 91ms (Views: 90.0ms | ActiveRecord: 0.0ms)
|
2018
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2019
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2020
|
+
Started GET "/about/partners" for 127.0.0.1 at 2013-07-24 12:52:57 +0200
|
2021
|
+
Processing by Seiten::PagesController#show as HTML
|
2022
|
+
Parameters: {"page"=>"about/partners"}
|
2023
|
+
Completed 200 OK in 83ms (Views: 81.3ms | ActiveRecord: 0.0ms)
|
2024
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2025
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2026
|
+
Started GET "/about/partners" for 127.0.0.1 at 2013-07-24 12:52:57 +0200
|
2027
|
+
Processing by Seiten::PagesController#show as HTML
|
2028
|
+
Parameters: {"page"=>"about/partners"}
|
2029
|
+
Completed 200 OK in 105ms (Views: 103.5ms | ActiveRecord: 0.0ms)
|
2030
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2031
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2032
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2033
|
+
Connecting to database specified by database.yml
|
2034
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
2035
|
+
Started GET "/" for 127.0.0.1 at 2013-07-24 12:56:13 +0200
|
2036
|
+
Processing by Seiten::PagesController#show as HTML
|
2037
|
+
Rendered app/pages/home.html.erb (0.2ms)
|
2038
|
+
Rendered /Users/pulleasy/code/seiten/app/views/seiten/pages/show.html.erb within layouts/application (1.8ms)
|
2039
|
+
Completed 200 OK in 58ms (Views: 56.3ms | ActiveRecord: 0.0ms)
|
2040
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2041
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2042
|
+
Started GET "/about" for 127.0.0.1 at 2013-07-24 12:56:13 +0200
|
2043
|
+
Started GET "/about/our-team" for 127.0.0.1 at 2013-07-24 12:56:13 +0200
|
2044
|
+
Processing by Seiten::PagesController#show as HTML
|
2045
|
+
Parameters: {"page"=>"about/our-team"}
|
2046
|
+
Completed 200 OK in 105ms (Views: 104.0ms | ActiveRecord: 0.0ms)
|
2047
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2048
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2049
|
+
Started GET "/" for 127.0.0.1 at 2013-07-24 12:56:13 +0200
|
2050
|
+
Processing by Seiten::PagesController#show as HTML
|
2051
|
+
Completed 200 OK in 51ms (Views: 49.9ms | ActiveRecord: 0.0ms)
|
2052
|
+
Started GET "/contact" for 127.0.0.1 at 2013-07-24 12:56:13 +0200
|
2053
|
+
Processing by Seiten::PagesController#show as HTML
|
2054
|
+
Parameters: {"page"=>"contact"}
|
2055
|
+
Completed 200 OK in 69ms (Views: 68.0ms | ActiveRecord: 0.0ms)
|
2056
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2057
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2058
|
+
Started GET "/" for 127.0.0.1 at 2013-07-24 12:56:13 +0200
|
2059
|
+
Processing by Seiten::PagesController#show as HTML
|
2060
|
+
Completed 200 OK in 51ms (Views: 49.4ms | ActiveRecord: 0.0ms)
|
2061
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2062
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2063
|
+
Started GET "/about/our-team/switzerland" for 127.0.0.1 at 2013-07-24 12:56:13 +0200
|
2064
|
+
Processing by Seiten::PagesController#show as HTML
|
2065
|
+
Parameters: {"page"=>"about/our-team/switzerland"}
|
2066
|
+
Completed 200 OK in 113ms (Views: 112.1ms | ActiveRecord: 0.0ms)
|
2067
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2068
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2069
|
+
Started GET "/about/our-team/switzerland" for 127.0.0.1 at 2013-07-24 12:56:14 +0200
|
2070
|
+
Processing by Seiten::PagesController#show as HTML
|
2071
|
+
Parameters: {"page"=>"about/our-team/switzerland"}
|
2072
|
+
Completed 200 OK in 114ms (Views: 112.5ms | ActiveRecord: 0.0ms)
|
2073
|
+
Started GET "/about/our-team" for 127.0.0.1 at 2013-07-24 12:56:14 +0200
|
2074
|
+
Processing by Seiten::PagesController#show as HTML
|
2075
|
+
Parameters: {"page"=>"about/our-team"}
|
2076
|
+
Completed 200 OK in 102ms (Views: 101.1ms | ActiveRecord: 0.0ms)
|
2077
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2078
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2079
|
+
Started GET "/" for 127.0.0.1 at 2013-07-24 12:56:14 +0200
|
2080
|
+
Processing by Seiten::PagesController#show as HTML
|
2081
|
+
Completed 200 OK in 27ms (Views: 25.3ms | ActiveRecord: 0.0ms)
|
2082
|
+
Started GET "/products/web-development" for 127.0.0.1 at 2013-07-24 12:56:14 +0200
|
2083
|
+
Processing by Seiten::PagesController#show as HTML
|
2084
|
+
Parameters: {"page"=>"products/web-development"}
|
2085
|
+
Completed 200 OK in 93ms (Views: 92.2ms | ActiveRecord: 0.0ms)
|
2086
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2087
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2088
|
+
Started GET "/about/partners" for 127.0.0.1 at 2013-07-24 12:56:14 +0200
|
2089
|
+
Processing by Seiten::PagesController#show as HTML
|
2090
|
+
Parameters: {"page"=>"about/partners"}
|
2091
|
+
Completed 200 OK in 84ms (Views: 82.5ms | ActiveRecord: 0.0ms)
|
2092
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2093
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2094
|
+
Started GET "/secret" for 127.0.0.1 at 2013-07-24 12:56:14 +0200
|
2095
|
+
Processing by PagesController#secret as HTML
|
2096
|
+
Completed 500 Internal Server Error in 56ms
|
2097
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2098
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2099
|
+
Started GET "/about/partners" for 127.0.0.1 at 2013-07-24 12:56:14 +0200
|
2100
|
+
Processing by Seiten::PagesController#show as HTML
|
2101
|
+
Parameters: {"page"=>"about/partners"}
|
2102
|
+
Completed 200 OK in 108ms (Views: 106.3ms | ActiveRecord: 0.0ms)
|
2103
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2104
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2105
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2106
|
+
Connecting to database specified by database.yml
|
2107
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
2108
|
+
Started GET "/" for 127.0.0.1 at 2013-07-24 12:57:25 +0200
|
2109
|
+
Processing by Seiten::PagesController#show as HTML
|
2110
|
+
Rendered app/pages/home.html.erb (0.3ms)
|
2111
|
+
Rendered /Users/pulleasy/code/seiten/app/views/seiten/pages/show.html.erb within layouts/application (1.9ms)
|
2112
|
+
Completed 500 Internal Server Error in 57ms
|
2113
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2114
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2115
|
+
Started GET "/about" for 127.0.0.1 at 2013-07-24 12:57:25 +0200
|
2116
|
+
Started GET "/about/our-team" for 127.0.0.1 at 2013-07-24 12:57:25 +0200
|
2117
|
+
Processing by Seiten::PagesController#show as HTML
|
2118
|
+
Parameters: {"page"=>"about/our-team"}
|
2119
|
+
Completed 500 Internal Server Error in 78ms
|
2120
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2121
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2122
|
+
Started GET "/" for 127.0.0.1 at 2013-07-24 12:57:25 +0200
|
2123
|
+
Processing by Seiten::PagesController#show as HTML
|
2124
|
+
Completed 500 Internal Server Error in 50ms
|
2125
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2126
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2127
|
+
Started GET "/" for 127.0.0.1 at 2013-07-24 12:57:25 +0200
|
2128
|
+
Processing by Seiten::PagesController#show as HTML
|
2129
|
+
Completed 500 Internal Server Error in 52ms
|
2130
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2131
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2132
|
+
Started GET "/about/our-team/switzerland" for 127.0.0.1 at 2013-07-24 12:57:26 +0200
|
2133
|
+
Processing by Seiten::PagesController#show as HTML
|
2134
|
+
Parameters: {"page"=>"about/our-team/switzerland"}
|
2135
|
+
Completed 500 Internal Server Error in 85ms
|
2136
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2137
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2138
|
+
Started GET "/about/our-team/switzerland" for 127.0.0.1 at 2013-07-24 12:57:26 +0200
|
2139
|
+
Processing by Seiten::PagesController#show as HTML
|
2140
|
+
Parameters: {"page"=>"about/our-team/switzerland"}
|
2141
|
+
Completed 500 Internal Server Error in 107ms
|
2142
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2143
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2144
|
+
Started GET "/" for 127.0.0.1 at 2013-07-24 12:57:26 +0200
|
2145
|
+
Processing by Seiten::PagesController#show as HTML
|
2146
|
+
Completed 500 Internal Server Error in 50ms
|
2147
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2148
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2149
|
+
Started GET "/about/partners" for 127.0.0.1 at 2013-07-24 12:57:26 +0200
|
2150
|
+
Processing by Seiten::PagesController#show as HTML
|
2151
|
+
Parameters: {"page"=>"about/partners"}
|
2152
|
+
Completed 500 Internal Server Error in 105ms
|
2153
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2154
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2155
|
+
Started GET "/secret" for 127.0.0.1 at 2013-07-24 12:57:26 +0200
|
2156
|
+
Processing by PagesController#secret as HTML
|
2157
|
+
Completed 500 Internal Server Error in 28ms
|
2158
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2159
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2160
|
+
Started GET "/about/partners" for 127.0.0.1 at 2013-07-24 12:57:26 +0200
|
2161
|
+
Processing by Seiten::PagesController#show as HTML
|
2162
|
+
Parameters: {"page"=>"about/partners"}
|
2163
|
+
Completed 500 Internal Server Error in 103ms
|
2164
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2165
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2166
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2167
|
+
Connecting to database specified by database.yml
|
2168
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
2169
|
+
Started GET "/" for 127.0.0.1 at 2013-07-24 12:57:39 +0200
|
2170
|
+
Processing by Seiten::PagesController#show as HTML
|
2171
|
+
Rendered app/pages/home.html.erb (0.2ms)
|
2172
|
+
Rendered /Users/pulleasy/code/seiten/app/views/seiten/pages/show.html.erb within layouts/application (1.8ms)
|
2173
|
+
Completed 200 OK in 58ms (Views: 56.0ms | ActiveRecord: 0.0ms)
|
2174
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2175
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2176
|
+
Started GET "/about" for 127.0.0.1 at 2013-07-24 12:57:39 +0200
|
2177
|
+
Started GET "/about/our-team" for 127.0.0.1 at 2013-07-24 12:57:39 +0200
|
2178
|
+
Processing by Seiten::PagesController#show as HTML
|
2179
|
+
Parameters: {"page"=>"about/our-team"}
|
2180
|
+
Completed 200 OK in 103ms (Views: 101.7ms | ActiveRecord: 0.0ms)
|
2181
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2182
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2183
|
+
Started GET "/" for 127.0.0.1 at 2013-07-24 12:57:39 +0200
|
2184
|
+
Processing by Seiten::PagesController#show as HTML
|
2185
|
+
Completed 200 OK in 50ms (Views: 49.2ms | ActiveRecord: 0.0ms)
|
2186
|
+
Started GET "/contact" for 127.0.0.1 at 2013-07-24 12:57:39 +0200
|
2187
|
+
Processing by Seiten::PagesController#show as HTML
|
2188
|
+
Parameters: {"page"=>"contact"}
|
2189
|
+
Completed 200 OK in 68ms (Views: 66.9ms | ActiveRecord: 0.0ms)
|
2190
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2191
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2192
|
+
Started GET "/" for 127.0.0.1 at 2013-07-24 12:57:39 +0200
|
2193
|
+
Processing by Seiten::PagesController#show as HTML
|
2194
|
+
Completed 200 OK in 50ms (Views: 49.0ms | ActiveRecord: 0.0ms)
|
2195
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2196
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2197
|
+
Started GET "/about/our-team/switzerland" for 127.0.0.1 at 2013-07-24 12:57:39 +0200
|
2198
|
+
Processing by Seiten::PagesController#show as HTML
|
2199
|
+
Parameters: {"page"=>"about/our-team/switzerland"}
|
2200
|
+
Completed 200 OK in 112ms (Views: 111.1ms | ActiveRecord: 0.0ms)
|
2201
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2202
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2203
|
+
Started GET "/about/our-team/switzerland" for 127.0.0.1 at 2013-07-24 12:57:39 +0200
|
2204
|
+
Processing by Seiten::PagesController#show as HTML
|
2205
|
+
Parameters: {"page"=>"about/our-team/switzerland"}
|
2206
|
+
Completed 200 OK in 112ms (Views: 110.9ms | ActiveRecord: 0.0ms)
|
2207
|
+
Started GET "/about/our-team" for 127.0.0.1 at 2013-07-24 12:57:39 +0200
|
2208
|
+
Processing by Seiten::PagesController#show as HTML
|
2209
|
+
Parameters: {"page"=>"about/our-team"}
|
2210
|
+
Completed 200 OK in 101ms (Views: 100.2ms | ActiveRecord: 0.0ms)
|
2211
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2212
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2213
|
+
Started GET "/" for 127.0.0.1 at 2013-07-24 12:57:39 +0200
|
2214
|
+
Processing by Seiten::PagesController#show as HTML
|
2215
|
+
Completed 200 OK in 26ms (Views: 24.8ms | ActiveRecord: 0.0ms)
|
2216
|
+
Started GET "/products/web-development" for 127.0.0.1 at 2013-07-24 12:57:39 +0200
|
2217
|
+
Processing by Seiten::PagesController#show as HTML
|
2218
|
+
Parameters: {"page"=>"products/web-development"}
|
2219
|
+
Completed 200 OK in 92ms (Views: 91.0ms | ActiveRecord: 0.0ms)
|
2220
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2221
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2222
|
+
Started GET "/about/partners" for 127.0.0.1 at 2013-07-24 12:57:39 +0200
|
2223
|
+
Processing by Seiten::PagesController#show as HTML
|
2224
|
+
Parameters: {"page"=>"about/partners"}
|
2225
|
+
Completed 200 OK in 83ms (Views: 82.2ms | ActiveRecord: 0.0ms)
|
2226
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2227
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2228
|
+
Started GET "/secret" for 127.0.0.1 at 2013-07-24 12:57:40 +0200
|
2229
|
+
Processing by PagesController#secret as HTML
|
2230
|
+
Completed 500 Internal Server Error in 53ms
|
2231
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2232
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2233
|
+
Started GET "/about/partners" for 127.0.0.1 at 2013-07-24 12:57:40 +0200
|
2234
|
+
Processing by Seiten::PagesController#show as HTML
|
2235
|
+
Parameters: {"page"=>"about/partners"}
|
2236
|
+
Completed 200 OK in 108ms (Views: 106.1ms | ActiveRecord: 0.0ms)
|
2237
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2238
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2239
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2240
|
+
Connecting to database specified by database.yml
|
2241
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
2242
|
+
Started GET "/" for 127.0.0.1 at 2013-07-24 12:58:48 +0200
|
2243
|
+
Processing by Seiten::PagesController#show as HTML
|
2244
|
+
Rendered app/pages/home.html.erb (0.2ms)
|
2245
|
+
Rendered /Users/pulleasy/code/seiten/app/views/seiten/pages/show.html.erb within layouts/application (1.9ms)
|
2246
|
+
Completed 200 OK in 58ms (Views: 56.3ms | ActiveRecord: 0.0ms)
|
2247
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2248
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2249
|
+
Started GET "/about" for 127.0.0.1 at 2013-07-24 12:58:48 +0200
|
2250
|
+
Started GET "/about/our-team" for 127.0.0.1 at 2013-07-24 12:58:48 +0200
|
2251
|
+
Processing by Seiten::PagesController#show as HTML
|
2252
|
+
Parameters: {"page"=>"about/our-team"}
|
2253
|
+
Completed 200 OK in 104ms (Views: 102.6ms | ActiveRecord: 0.0ms)
|
2254
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2255
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2256
|
+
Started GET "/" for 127.0.0.1 at 2013-07-24 12:58:48 +0200
|
2257
|
+
Processing by Seiten::PagesController#show as HTML
|
2258
|
+
Completed 200 OK in 51ms (Views: 49.3ms | ActiveRecord: 0.0ms)
|
2259
|
+
Started GET "/contact" for 127.0.0.1 at 2013-07-24 12:58:48 +0200
|
2260
|
+
Processing by Seiten::PagesController#show as HTML
|
2261
|
+
Parameters: {"page"=>"contact"}
|
2262
|
+
Completed 200 OK in 69ms (Views: 68.0ms | ActiveRecord: 0.0ms)
|
2263
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2264
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2265
|
+
Started GET "/" for 127.0.0.1 at 2013-07-24 12:58:48 +0200
|
2266
|
+
Processing by Seiten::PagesController#show as HTML
|
2267
|
+
Completed 200 OK in 50ms (Views: 49.2ms | ActiveRecord: 0.0ms)
|
2268
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2269
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2270
|
+
Started GET "/about/our-team/switzerland" for 127.0.0.1 at 2013-07-24 12:58:48 +0200
|
2271
|
+
Processing by Seiten::PagesController#show as HTML
|
2272
|
+
Parameters: {"page"=>"about/our-team/switzerland"}
|
2273
|
+
Completed 200 OK in 114ms (Views: 113.1ms | ActiveRecord: 0.0ms)
|
2274
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2275
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2276
|
+
Started GET "/about/our-team/switzerland" for 127.0.0.1 at 2013-07-24 12:58:48 +0200
|
2277
|
+
Processing by Seiten::PagesController#show as HTML
|
2278
|
+
Parameters: {"page"=>"about/our-team/switzerland"}
|
2279
|
+
Completed 200 OK in 112ms (Views: 110.8ms | ActiveRecord: 0.0ms)
|
2280
|
+
Started GET "/about/our-team" for 127.0.0.1 at 2013-07-24 12:58:48 +0200
|
2281
|
+
Processing by Seiten::PagesController#show as HTML
|
2282
|
+
Parameters: {"page"=>"about/our-team"}
|
2283
|
+
Completed 200 OK in 102ms (Views: 101.0ms | ActiveRecord: 0.0ms)
|
2284
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2285
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2286
|
+
Started GET "/" for 127.0.0.1 at 2013-07-24 12:58:49 +0200
|
2287
|
+
Processing by Seiten::PagesController#show as HTML
|
2288
|
+
Completed 200 OK in 26ms (Views: 24.9ms | ActiveRecord: 0.0ms)
|
2289
|
+
Started GET "/products/web-development" for 127.0.0.1 at 2013-07-24 12:58:49 +0200
|
2290
|
+
Processing by Seiten::PagesController#show as HTML
|
2291
|
+
Parameters: {"page"=>"products/web-development"}
|
2292
|
+
Completed 200 OK in 93ms (Views: 91.3ms | ActiveRecord: 0.0ms)
|
2293
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2294
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2295
|
+
Started GET "/about/partners" for 127.0.0.1 at 2013-07-24 12:58:49 +0200
|
2296
|
+
Processing by Seiten::PagesController#show as HTML
|
2297
|
+
Parameters: {"page"=>"about/partners"}
|
2298
|
+
Completed 200 OK in 83ms (Views: 81.4ms | ActiveRecord: 0.0ms)
|
2299
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2300
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2301
|
+
Started GET "/secret" for 127.0.0.1 at 2013-07-24 12:58:49 +0200
|
2302
|
+
Processing by PagesController#secret as HTML
|
2303
|
+
Completed 200 OK in 52ms (Views: 51.3ms | ActiveRecord: 0.0ms)
|
2304
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2305
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2306
|
+
Started GET "/about/partners" for 127.0.0.1 at 2013-07-24 12:58:49 +0200
|
2307
|
+
Processing by Seiten::PagesController#show as HTML
|
2308
|
+
Parameters: {"page"=>"about/partners"}
|
2309
|
+
Completed 200 OK in 108ms (Views: 106.5ms | ActiveRecord: 0.0ms)
|
2310
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2311
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2312
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2313
|
+
Connecting to database specified by database.yml
|
2314
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
2315
|
+
Started GET "/" for 127.0.0.1 at 2013-07-24 12:59:32 +0200
|
2316
|
+
Processing by Seiten::PagesController#show as HTML
|
2317
|
+
Rendered app/pages/home.html.erb (0.2ms)
|
2318
|
+
Rendered /Users/pulleasy/code/seiten/app/views/seiten/pages/show.html.erb within layouts/application (1.7ms)
|
2319
|
+
Completed 200 OK in 58ms (Views: 56.1ms | ActiveRecord: 0.0ms)
|
2320
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2321
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2322
|
+
Started GET "/about" for 127.0.0.1 at 2013-07-24 12:59:32 +0200
|
2323
|
+
Started GET "/about/our-team" for 127.0.0.1 at 2013-07-24 12:59:32 +0200
|
2324
|
+
Processing by Seiten::PagesController#show as HTML
|
2325
|
+
Parameters: {"page"=>"about/our-team"}
|
2326
|
+
Completed 200 OK in 104ms (Views: 102.7ms | ActiveRecord: 0.0ms)
|
2327
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2328
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2329
|
+
Started GET "/" for 127.0.0.1 at 2013-07-24 12:59:32 +0200
|
2330
|
+
Processing by Seiten::PagesController#show as HTML
|
2331
|
+
Completed 200 OK in 51ms (Views: 50.1ms | ActiveRecord: 0.0ms)
|
2332
|
+
Started GET "/contact" for 127.0.0.1 at 2013-07-24 12:59:32 +0200
|
2333
|
+
Processing by Seiten::PagesController#show as HTML
|
2334
|
+
Parameters: {"page"=>"contact"}
|
2335
|
+
Completed 200 OK in 69ms (Views: 67.6ms | ActiveRecord: 0.0ms)
|
2336
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2337
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2338
|
+
Started GET "/" for 127.0.0.1 at 2013-07-24 12:59:33 +0200
|
2339
|
+
Processing by Seiten::PagesController#show as HTML
|
2340
|
+
Completed 200 OK in 51ms (Views: 49.5ms | ActiveRecord: 0.0ms)
|
2341
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2342
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2343
|
+
Started GET "/about/our-team/switzerland" for 127.0.0.1 at 2013-07-24 12:59:33 +0200
|
2344
|
+
Processing by Seiten::PagesController#show as HTML
|
2345
|
+
Parameters: {"page"=>"about/our-team/switzerland"}
|
2346
|
+
Completed 200 OK in 114ms (Views: 112.9ms | ActiveRecord: 0.0ms)
|
2347
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2348
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2349
|
+
Started GET "/about/our-team/switzerland" for 127.0.0.1 at 2013-07-24 12:59:33 +0200
|
2350
|
+
Processing by Seiten::PagesController#show as HTML
|
2351
|
+
Parameters: {"page"=>"about/our-team/switzerland"}
|
2352
|
+
Completed 200 OK in 113ms (Views: 111.5ms | ActiveRecord: 0.0ms)
|
2353
|
+
Started GET "/about/our-team" for 127.0.0.1 at 2013-07-24 12:59:33 +0200
|
2354
|
+
Processing by Seiten::PagesController#show as HTML
|
2355
|
+
Parameters: {"page"=>"about/our-team"}
|
2356
|
+
Completed 200 OK in 103ms (Views: 101.3ms | ActiveRecord: 0.0ms)
|
2357
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2358
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2359
|
+
Started GET "/" for 127.0.0.1 at 2013-07-24 12:59:33 +0200
|
2360
|
+
Processing by Seiten::PagesController#show as HTML
|
2361
|
+
Completed 200 OK in 27ms (Views: 25.8ms | ActiveRecord: 0.0ms)
|
2362
|
+
Started GET "/products/web-development" for 127.0.0.1 at 2013-07-24 12:59:33 +0200
|
2363
|
+
Processing by Seiten::PagesController#show as HTML
|
2364
|
+
Parameters: {"page"=>"products/web-development"}
|
2365
|
+
Completed 200 OK in 94ms (Views: 92.4ms | ActiveRecord: 0.0ms)
|
2366
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2367
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2368
|
+
Started GET "/about/partners" for 127.0.0.1 at 2013-07-24 12:59:33 +0200
|
2369
|
+
Processing by Seiten::PagesController#show as HTML
|
2370
|
+
Parameters: {"page"=>"about/partners"}
|
2371
|
+
Completed 200 OK in 83ms (Views: 82.1ms | ActiveRecord: 0.0ms)
|
2372
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2373
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2374
|
+
Started GET "/secret" for 127.0.0.1 at 2013-07-24 12:59:33 +0200
|
2375
|
+
Processing by PagesController#secret as HTML
|
2376
|
+
Completed 200 OK in 51ms (Views: 50.5ms | ActiveRecord: 0.0ms)
|
2377
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2378
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2379
|
+
Started GET "/about/partners" for 127.0.0.1 at 2013-07-24 12:59:33 +0200
|
2380
|
+
Processing by Seiten::PagesController#show as HTML
|
2381
|
+
Parameters: {"page"=>"about/partners"}
|
2382
|
+
Completed 200 OK in 105ms (Views: 104.2ms | ActiveRecord: 0.0ms)
|
2383
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2384
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2385
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
@@ -65,4 +65,10 @@ class NavigationTest < ActionDispatch::IntegrationTest
|
|
65
65
|
visit "/about/partners"
|
66
66
|
assert has_xpath?("//a[@href='http://danielpuglisi.com']")
|
67
67
|
end
|
68
|
+
|
69
|
+
def test_returns_page_with_navigation_which_is_not_defined_in_navigation_config
|
70
|
+
visit "/secret"
|
71
|
+
assert_equal 200, status_code
|
72
|
+
has_content?("This is a secret page")
|
73
|
+
end
|
68
74
|
end
|
data/test/page_test.rb
CHANGED
@@ -59,4 +59,8 @@ class PageTest < Test::Unit::TestCase
|
|
59
59
|
page = Seiten::Page.find_by_slug("/products/logo-design")
|
60
60
|
assert_equal "Logo Design", page.title
|
61
61
|
end
|
62
|
+
|
63
|
+
def test_returns_nil_for_active_method_when_current_page_is_nil
|
64
|
+
assert_equal nil, Seiten::Page.find(1).active?(nil)
|
65
|
+
end
|
62
66
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: seiten
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Daniel Puglisi
|
@@ -76,6 +76,7 @@ files:
|
|
76
76
|
- test/dummy/app/assets/javascripts/application.js
|
77
77
|
- test/dummy/app/assets/stylesheets/application.css
|
78
78
|
- test/dummy/app/controllers/application_controller.rb
|
79
|
+
- test/dummy/app/controllers/pages_controller.rb
|
79
80
|
- test/dummy/app/helpers/application_helper.rb
|
80
81
|
- test/dummy/app/pages/about/our-team/italy.html.erb
|
81
82
|
- test/dummy/app/pages/about/our-team/switzerland.html.erb
|
@@ -88,6 +89,7 @@ files:
|
|
88
89
|
- test/dummy/app/pages/products/web-development.html.erb
|
89
90
|
- test/dummy/app/pages/products.html.erb
|
90
91
|
- test/dummy/app/views/layouts/application.html.erb
|
92
|
+
- test/dummy/app/views/pages/secret.html.erb
|
91
93
|
- test/dummy/config/application.rb
|
92
94
|
- test/dummy/config/boot.rb
|
93
95
|
- test/dummy/config/database.yml
|
@@ -151,6 +153,7 @@ test_files:
|
|
151
153
|
- test/dummy/app/assets/javascripts/application.js
|
152
154
|
- test/dummy/app/assets/stylesheets/application.css
|
153
155
|
- test/dummy/app/controllers/application_controller.rb
|
156
|
+
- test/dummy/app/controllers/pages_controller.rb
|
154
157
|
- test/dummy/app/helpers/application_helper.rb
|
155
158
|
- test/dummy/app/pages/about/our-team/italy.html.erb
|
156
159
|
- test/dummy/app/pages/about/our-team/switzerland.html.erb
|
@@ -163,6 +166,7 @@ test_files:
|
|
163
166
|
- test/dummy/app/pages/products/web-development.html.erb
|
164
167
|
- test/dummy/app/pages/products.html.erb
|
165
168
|
- test/dummy/app/views/layouts/application.html.erb
|
169
|
+
- test/dummy/app/views/pages/secret.html.erb
|
166
170
|
- test/dummy/config/application.rb
|
167
171
|
- test/dummy/config/boot.rb
|
168
172
|
- test/dummy/config/database.yml
|