amalgam 2.1.1 → 2.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -12,7 +12,7 @@
12
12
  - if Amalgam.i18n
13
13
  = drop_down t("amalgam.locales.#{I18n.locale.to_s}"), '#' do
14
14
  - I18n::available_locales.each do |locale|
15
- = dropdown_item(t("amalgam.locales.#{locale.to_s}"), locale_url(locale.to_s.downcase))
15
+ = dropdown_item(t("amalgam.locales.#{locale.to_s}"), locale_url(locale.to_s))
16
16
  %ul.nav.pull-right
17
17
  - if editor
18
18
  %li.edit
@@ -38,8 +38,8 @@ en:
38
38
  description: 'description'
39
39
  name: 'name'
40
40
  locales:
41
- zh-CN: 'simplified Chinese'
42
- zh-cn: 'simplified Chinese'
41
+ zh-CN: '中文(简体)'
42
+ zh-cn: '中文(简体)'
43
43
  en: 'English'
44
44
  registrations:
45
45
  currentpassword: 'we need your current password to confirm your changes'
@@ -40,7 +40,7 @@ zh-CN:
40
40
  locales:
41
41
  zh-CN: '中文(简体)'
42
42
  zh-cn: '中文(简体)'
43
- en: '英文'
43
+ en: 'English'
44
44
  registrations:
45
45
  currentpassword: '输入当前密码以确认修改'
46
46
  leaveblank: '如果不打算修改密码,请留空'
@@ -48,7 +48,7 @@ module Amalgam
48
48
  is_self = true
49
49
  list = @list.clone.reverse<<nil
50
50
  pages<<nil
51
- level = false
51
+ level = nil
52
52
  rule = list.shift
53
53
  while list.present? && pages.present?
54
54
  page = pages.shift
@@ -57,20 +57,21 @@ module Amalgam
57
57
  is_self = false if is_self
58
58
  #puts check_result.to_s + ':'+rule+":"+page.template_keys.to_s
59
59
  if check_result>0 || rule.match(/^&?(\d+)/)
60
- result += check_result*(level&&rule!='default' ? 10 : 1) unless rule=='default'&&pages.length>1&&list.length<=1
60
+ result += check_result*(level&&rule!='default' ? 10*(1.0/level) : 1) unless rule=='default'&&pages.length>1&&list.length<=1
61
+ level = nil
61
62
  rule = list.shift unless rule.match(/^&?(\d+)/)
62
63
  if rule && rule.match(/^&?(\d+)/)
63
64
  position = rule.match(/^&?(\d+)/)[1].to_i-1
64
65
  if pages.length > position+1
65
66
  rule = list.shift
66
67
  position.times{pages.shift}
67
- level = true
68
+ level = position + 1
68
69
  else
69
70
  break
70
71
  end
71
72
  end
72
73
  else
73
- if level == true
74
+ if level
74
75
  return [@list,0]
75
76
  end
76
77
  end
@@ -1,3 +1,3 @@
1
1
  module Amalgam
2
- VERSION = "2.1.1"
2
+ VERSION = "2.1.2"
3
3
  end
@@ -1,3 +1,4 @@
1
+ require 'page_routes'
1
2
  Rails.application.routes.draw do
2
3
 
3
4
  globalize_hierarchical_resource :pages, /zh-cn|en/
@@ -339738,3 +339738,1230 @@ Processing by PagesController#show as HTML
339738
339738
  Attachment Load (0.3ms) SELECT "attachments".* FROM "attachments" WHERE "attachments"."attachable_id" = 1 AND "attachments"."attachable_type" = 'Page'
339739
339739
  Rendered pages/test123.html.haml (25.0ms)
339740
339740
  Completed 200 OK in 31ms (Views: 25.6ms | ActiveRecord: 1.2ms)
339741
+ Connecting to database specified by database.yml
339742
+ DEPRECATION WARNING: Calling set_table_name is deprecated. Please use `self.table_name = 'the_name'` instead. (called from <class:Group> at /Users/brownjohn/code/amalgam/lib/amalgam/models/group.rb:4)
339743
+ DEPRECATION WARNING: Calling set_table_name is deprecated. Please use `self.table_name = 'the_name'` instead. (called from <class:BaseGroup> at /Users/brownjohn/code/amalgam/lib/amalgam/models/base_group.rb:4)
339744
+ Connecting to database specified by database.yml
339745
+ DEPRECATION WARNING: Calling set_table_name is deprecated. Please use `self.table_name = 'the_name'` instead. (called from <class:Group> at /Users/brownjohn/code/amalgam/lib/amalgam/models/group.rb:4)
339746
+ DEPRECATION WARNING: Calling set_table_name is deprecated. Please use `self.table_name = 'the_name'` instead. (called from <class:BaseGroup> at /Users/brownjohn/code/amalgam/lib/amalgam/models/base_group.rb:4)
339747
+
339748
+
339749
+ Started GET "/" for 127.0.0.1 at 2013-01-21 10:09:18 +0800
339750
+ Processing by PagesController#show as HTML
339751
+ Parameters: {"slug"=>"home"}
339752
+ AdminUser Load (6.0ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? LIMIT 1 [["id", 1]]
339753
+ Page Load (0.7ms) SELECT "pages".* FROM "pages" WHERE "pages"."slug" = 'home' ORDER BY lft ASC LIMIT 1
339754
+ Completed 500 Internal Server Error in 39ms
339755
+
339756
+ ActiveRecord::RecordNotFound (Couldn't find page with PATH=home):
339757
+ app/controllers/pages_controller.rb:7:in `show'
339758
+
339759
+
339760
+ Rendered /Users/brownjohn/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.2ms)
339761
+ Rendered /Users/brownjohn/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.9ms)
339762
+ Rendered /Users/brownjohn/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (11.2ms)
339763
+
339764
+
339765
+ Started GET "/admin" for 127.0.0.1 at 2013-01-21 10:09:22 +0800
339766
+ Processing by Amalgam::Admin::PagesController#index as HTML
339767
+ AdminUser Load (0.1ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? LIMIT 1 [["id", 1]]
339768
+ Page Load (0.2ms) SELECT "pages".* FROM "pages" ORDER BY lft ASC
339769
+ Page::Translation Load (1.0ms) SELECT "page_translations".* FROM "page_translations" WHERE "page_translations"."page_id" = 1
339770
+ Amalgam::Models::Group Load (0.4ms) SELECT "groups".* FROM "groups"
339771
+ Rendered /Users/brownjohn/code/amalgam/app/views/amalgam/admin/pages/_fields.html.haml (5.1ms)
339772
+ Rendered /Users/brownjohn/code/amalgam/app/views/amalgam/admin/pages/_tree_inner.html.haml (105.7ms)
339773
+ Rendered /Users/brownjohn/code/amalgam/app/views/amalgam/admin/tree/_list.html.haml (1.7ms)
339774
+ Rendered /Users/brownjohn/code/amalgam/app/views/amalgam/admin/tree/_node.html.haml (111.5ms)
339775
+ Rendered /Users/brownjohn/code/amalgam/app/views/amalgam/admin/tree/_list.html.haml (114.6ms)
339776
+ Rendered /Users/brownjohn/code/amalgam/app/views/amalgam/admin/pages/index.html.haml within layouts/amalgam/admin/application (123.9ms)
339777
+ Rendered /Users/brownjohn/code/amalgam/app/views/amalgam/admin/_nav_bar.html.haml (28.6ms)
339778
+ Completed 200 OK in 380ms (Views: 367.1ms | ActiveRecord: 2.3ms)
339779
+
339780
+
339781
+ Started GET "/assets/bootstrap.css?body=1" for 127.0.0.1 at 2013-01-21 10:09:23 +0800
339782
+ Served asset /bootstrap.css - 200 OK (13ms)
339783
+
339784
+
339785
+ Started GET "/assets/amalgam/extra.css?body=1" for 127.0.0.1 at 2013-01-21 10:09:23 +0800
339786
+ Served asset /amalgam/extra.css - 200 OK (3ms)
339787
+
339788
+
339789
+ Started GET "/assets/amalgam/admin/layout.css?body=1" for 127.0.0.1 at 2013-01-21 10:09:23 +0800
339790
+ Served asset /amalgam/admin/layout.css - 200 OK (2ms)
339791
+
339792
+
339793
+ Started GET "/assets/amalgam/admin/_mixins.css?body=1" for 127.0.0.1 at 2013-01-21 10:09:23 +0800
339794
+ Served asset /amalgam/admin/_mixins.css - 200 OK (3ms)
339795
+
339796
+
339797
+ Started GET "/assets/amalgam/admin/login.css?body=1" for 127.0.0.1 at 2013-01-21 10:09:23 +0800
339798
+ Served asset /amalgam/admin/login.css - 200 OK (2ms)
339799
+
339800
+
339801
+ Started GET "/assets/amalgam/admin.css?body=1" for 127.0.0.1 at 2013-01-21 10:09:23 +0800
339802
+ Served asset /amalgam/admin.css - 200 OK (52ms)
339803
+
339804
+
339805
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-01-21 10:09:23 +0800
339806
+ Served asset /jquery.js - 200 OK (4ms)
339807
+
339808
+
339809
+ Started GET "/assets/jquery.ui.core.js?body=1" for 127.0.0.1 at 2013-01-21 10:09:23 +0800
339810
+ Served asset /jquery.ui.core.js - 200 OK (6ms)
339811
+
339812
+
339813
+ Started GET "/assets/modernizr.js?body=1" for 127.0.0.1 at 2013-01-21 10:09:23 +0800
339814
+ Served asset /modernizr.js - 200 OK (3ms)
339815
+
339816
+
339817
+ Started GET "/assets/jquery.ui.mouse.js?body=1" for 127.0.0.1 at 2013-01-21 10:09:23 +0800
339818
+ Served asset /jquery.ui.mouse.js - 200 OK (12ms)
339819
+
339820
+
339821
+ Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2013-01-21 10:09:23 +0800
339822
+ Served asset /jquery.ui.widget.js - 200 OK (4ms)
339823
+
339824
+
339825
+ Started GET "/assets/jquery.ui.sortable.js?body=1" for 127.0.0.1 at 2013-01-21 10:09:23 +0800
339826
+ Served asset /jquery.ui.sortable.js - 200 OK (14ms)
339827
+
339828
+
339829
+ Started GET "/assets/jquery.ui.nestedSortable.js?body=1" for 127.0.0.1 at 2013-01-21 10:09:23 +0800
339830
+ Served asset /jquery.ui.nestedSortable.js - 200 OK (2ms)
339831
+
339832
+
339833
+ Started GET "/assets/jquery.scrollto.js?body=1" for 127.0.0.1 at 2013-01-21 10:09:23 +0800
339834
+ Served asset /jquery.scrollto.js - 200 OK (2ms)
339835
+
339836
+
339837
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-01-21 10:09:23 +0800
339838
+ Served asset /jquery_ujs.js - 200 OK (3ms)
339839
+
339840
+
339841
+ Started GET "/assets/bootstrap-dropdown.js?body=1" for 127.0.0.1 at 2013-01-21 10:09:23 +0800
339842
+ Served asset /bootstrap-dropdown.js - 200 OK (4ms)
339843
+
339844
+
339845
+ Started GET "/assets/bootstrap-alert.js?body=1" for 127.0.0.1 at 2013-01-21 10:09:23 +0800
339846
+ Served asset /bootstrap-alert.js - 200 OK (6ms)
339847
+
339848
+
339849
+ Started GET "/assets/bootstrap-tooltip.js?body=1" for 127.0.0.1 at 2013-01-21 10:09:23 +0800
339850
+ Served asset /bootstrap-tooltip.js - 200 OK (4ms)
339851
+
339852
+
339853
+ Started GET "/assets/bootstrap-button.js?body=1" for 127.0.0.1 at 2013-01-21 10:09:23 +0800
339854
+ Served asset /bootstrap-button.js - 200 OK (3ms)
339855
+
339856
+
339857
+ Started GET "/assets/amalgam/extra.js?body=1" for 127.0.0.1 at 2013-01-21 10:09:23 +0800
339858
+ Served asset /amalgam/extra.js - 200 OK (1ms)
339859
+
339860
+
339861
+ Started GET "/assets/amalgam/admin/app.js?body=1" for 127.0.0.1 at 2013-01-21 10:09:23 +0800
339862
+ Served asset /amalgam/admin/app.js - 200 OK (2ms)
339863
+
339864
+
339865
+ Started GET "/assets/amalgam/admin/popover.js?body=1" for 127.0.0.1 at 2013-01-21 10:09:23 +0800
339866
+ Served asset /amalgam/admin/popover.js - 200 OK (2ms)
339867
+
339868
+
339869
+ Started GET "/assets/amalgam/admin/tree.js?body=1" for 127.0.0.1 at 2013-01-21 10:09:23 +0800
339870
+ Served asset /amalgam/admin/tree.js - 200 OK (1ms)
339871
+
339872
+
339873
+ Started GET "/assets/amalgam/admin.js?body=1" for 127.0.0.1 at 2013-01-21 10:09:23 +0800
339874
+ Served asset /amalgam/admin.js - 200 OK (16ms)
339875
+
339876
+
339877
+ Started GET "/assets/amalgam/admin/bg.png" for 127.0.0.1 at 2013-01-21 10:09:23 +0800
339878
+ Served asset /amalgam/admin/bg.png - 200 OK (2ms)
339879
+
339880
+
339881
+ Started GET "/assets/glyphicons-halflings-white.png" for 127.0.0.1 at 2013-01-21 10:09:23 +0800
339882
+ Served asset /glyphicons-halflings-white.png - 200 OK (8ms)
339883
+
339884
+
339885
+ Started GET "/assets/amalgam/admin/tree-last-node-bg.gif" for 127.0.0.1 at 2013-01-21 10:09:23 +0800
339886
+ Served asset /amalgam/admin/tree-last-node-bg.gif - 200 OK (3ms)
339887
+
339888
+
339889
+ Started GET "/assets/amalgam/admin/tree-node-bg.gif" for 127.0.0.1 at 2013-01-21 10:09:23 +0800
339890
+ Served asset /amalgam/admin/tree-node-bg.gif - 200 OK (1ms)
339891
+
339892
+
339893
+ Started GET "/assets/glyphicons-halflings.png" for 127.0.0.1 at 2013-01-21 10:09:23 +0800
339894
+ Served asset /glyphicons-halflings.png - 200 OK (3ms)
339895
+ Connecting to database specified by database.yml
339896
+ DEPRECATION WARNING: Calling set_table_name is deprecated. Please use `self.table_name = 'the_name'` instead. (called from <class:Group> at /Users/brownjohn/code/amalgam/lib/amalgam/models/group.rb:4)
339897
+ DEPRECATION WARNING: Calling set_table_name is deprecated. Please use `self.table_name = 'the_name'` instead. (called from <class:BaseGroup> at /Users/brownjohn/code/amalgam/lib/amalgam/models/base_group.rb:4)
339898
+
339899
+
339900
+ Started GET "/admin/pages?locale=en" for 127.0.0.1 at 2013-01-21 16:33:25 +0800
339901
+ Processing by Amalgam::Admin::PagesController#index as HTML
339902
+ Parameters: {"locale"=>"en"}
339903
+ AdminUser Load (3.5ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? LIMIT 1 [["id", 1]]
339904
+ Page Load (0.2ms) SELECT "pages".* FROM "pages" ORDER BY lft ASC
339905
+ Page::Translation Load (0.1ms) SELECT "page_translations".* FROM "page_translations" WHERE "page_translations"."page_id" = 1
339906
+ Amalgam::Models::Group Load (0.1ms) SELECT "groups".* FROM "groups"
339907
+ Rendered /Users/brownjohn/code/amalgam/app/views/amalgam/admin/pages/_fields.html.haml (4.6ms)
339908
+ Rendered /Users/brownjohn/code/amalgam/app/views/amalgam/admin/pages/_tree_inner.html.haml (86.0ms)
339909
+ Rendered /Users/brownjohn/code/amalgam/app/views/amalgam/admin/tree/_list.html.haml (2.0ms)
339910
+ Rendered /Users/brownjohn/code/amalgam/app/views/amalgam/admin/tree/_node.html.haml (92.9ms)
339911
+ Rendered /Users/brownjohn/code/amalgam/app/views/amalgam/admin/tree/_list.html.haml (97.0ms)
339912
+ Rendered /Users/brownjohn/code/amalgam/app/views/amalgam/admin/pages/index.html.haml within layouts/amalgam/admin/application (119.9ms)
339913
+ Rendered /Users/brownjohn/code/amalgam/app/views/amalgam/admin/_nav_bar.html.haml (25.7ms)
339914
+ Completed 200 OK in 424ms (Views: 360.3ms | ActiveRecord: 4.8ms)
339915
+
339916
+
339917
+ Started GET "/assets/bootstrap.css?body=1" for 127.0.0.1 at 2013-01-21 16:33:25 +0800
339918
+ Served asset /bootstrap.css - 200 OK (7ms)
339919
+
339920
+
339921
+ Started GET "/assets/amalgam/admin/login.css?body=1" for 127.0.0.1 at 2013-01-21 16:33:25 +0800
339922
+ Served asset /amalgam/admin/login.css - 200 OK (1ms)
339923
+
339924
+
339925
+ Started GET "/assets/amalgam/admin/layout.css?body=1" for 127.0.0.1 at 2013-01-21 16:33:25 +0800
339926
+ Served asset /amalgam/admin/layout.css - 200 OK (2ms)
339927
+
339928
+
339929
+ Started GET "/assets/amalgam/admin/_mixins.css?body=1" for 127.0.0.1 at 2013-01-21 16:33:25 +0800
339930
+ Served asset /amalgam/admin/_mixins.css - 200 OK (3ms)
339931
+
339932
+
339933
+ Started GET "/assets/amalgam/extra.css?body=1" for 127.0.0.1 at 2013-01-21 16:33:25 +0800
339934
+ Served asset /amalgam/extra.css - 200 OK (2ms)
339935
+
339936
+
339937
+ Started GET "/assets/amalgam/admin.css?body=1" for 127.0.0.1 at 2013-01-21 16:33:25 +0800
339938
+ Served asset /amalgam/admin.css - 200 OK (48ms)
339939
+
339940
+
339941
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-01-21 16:33:26 +0800
339942
+ Served asset /jquery.js - 200 OK (3ms)
339943
+
339944
+
339945
+ Started GET "/assets/modernizr.js?body=1" for 127.0.0.1 at 2013-01-21 16:33:26 +0800
339946
+ Served asset /modernizr.js - 200 OK (5ms)
339947
+
339948
+
339949
+ Started GET "/assets/jquery.ui.core.js?body=1" for 127.0.0.1 at 2013-01-21 16:33:26 +0800
339950
+ Served asset /jquery.ui.core.js - 200 OK (5ms)
339951
+
339952
+
339953
+ Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2013-01-21 16:33:26 +0800
339954
+ Served asset /jquery.ui.widget.js - 200 OK (3ms)
339955
+
339956
+
339957
+ Started GET "/assets/jquery.ui.mouse.js?body=1" for 127.0.0.1 at 2013-01-21 16:33:26 +0800
339958
+ Served asset /jquery.ui.mouse.js - 200 OK (12ms)
339959
+
339960
+
339961
+ Started GET "/assets/jquery.ui.sortable.js?body=1" for 127.0.0.1 at 2013-01-21 16:33:26 +0800
339962
+ Served asset /jquery.ui.sortable.js - 200 OK (10ms)
339963
+
339964
+
339965
+ Started GET "/assets/jquery.scrollto.js?body=1" for 127.0.0.1 at 2013-01-21 16:33:26 +0800
339966
+ Served asset /jquery.scrollto.js - 200 OK (2ms)
339967
+
339968
+
339969
+ Started GET "/assets/jquery.ui.nestedSortable.js?body=1" for 127.0.0.1 at 2013-01-21 16:33:26 +0800
339970
+ Served asset /jquery.ui.nestedSortable.js - 200 OK (2ms)
339971
+
339972
+
339973
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-01-21 16:33:26 +0800
339974
+ Served asset /jquery_ujs.js - 200 OK (5ms)
339975
+
339976
+
339977
+ Started GET "/assets/bootstrap-dropdown.js?body=1" for 127.0.0.1 at 2013-01-21 16:33:26 +0800
339978
+ Served asset /bootstrap-dropdown.js - 200 OK (3ms)
339979
+
339980
+
339981
+ Started GET "/assets/bootstrap-alert.js?body=1" for 127.0.0.1 at 2013-01-21 16:33:26 +0800
339982
+ Served asset /bootstrap-alert.js - 200 OK (6ms)
339983
+
339984
+
339985
+ Started GET "/assets/bootstrap-button.js?body=1" for 127.0.0.1 at 2013-01-21 16:33:26 +0800
339986
+ Served asset /bootstrap-button.js - 200 OK (4ms)
339987
+
339988
+
339989
+ Started GET "/assets/bootstrap-tooltip.js?body=1" for 127.0.0.1 at 2013-01-21 16:33:26 +0800
339990
+ Served asset /bootstrap-tooltip.js - 200 OK (3ms)
339991
+
339992
+
339993
+ Started GET "/assets/amalgam/extra.js?body=1" for 127.0.0.1 at 2013-01-21 16:33:26 +0800
339994
+ Served asset /amalgam/extra.js - 200 OK (1ms)
339995
+
339996
+
339997
+ Started GET "/assets/amalgam/admin/popover.js?body=1" for 127.0.0.1 at 2013-01-21 16:33:26 +0800
339998
+ Served asset /amalgam/admin/popover.js - 200 OK (2ms)
339999
+
340000
+
340001
+ Started GET "/assets/amalgam/admin/app.js?body=1" for 127.0.0.1 at 2013-01-21 16:33:26 +0800
340002
+ Served asset /amalgam/admin/app.js - 200 OK (2ms)
340003
+
340004
+
340005
+ Started GET "/assets/amalgam/admin/tree.js?body=1" for 127.0.0.1 at 2013-01-21 16:33:26 +0800
340006
+ Served asset /amalgam/admin/tree.js - 200 OK (1ms)
340007
+
340008
+
340009
+ Started GET "/assets/amalgam/admin.js?body=1" for 127.0.0.1 at 2013-01-21 16:33:26 +0800
340010
+ Served asset /amalgam/admin.js - 200 OK (55ms)
340011
+
340012
+
340013
+ Started GET "/assets/amalgam/admin/bg.png" for 127.0.0.1 at 2013-01-21 16:33:26 +0800
340014
+ Served asset /amalgam/admin/bg.png - 200 OK (1ms)
340015
+
340016
+
340017
+ Started GET "/assets/amalgam/admin/tree-node-bg.gif" for 127.0.0.1 at 2013-01-21 16:33:26 +0800
340018
+ Served asset /amalgam/admin/tree-node-bg.gif - 200 OK (1ms)
340019
+
340020
+
340021
+ Started GET "/assets/amalgam/admin/tree-last-node-bg.gif" for 127.0.0.1 at 2013-01-21 16:33:26 +0800
340022
+ Served asset /amalgam/admin/tree-last-node-bg.gif - 200 OK (1ms)
340023
+
340024
+
340025
+ Started GET "/admin/pages?locale=zh-CN" for 127.0.0.1 at 2013-01-21 16:33:30 +0800
340026
+ Processing by Amalgam::Admin::PagesController#index as HTML
340027
+ Parameters: {"locale"=>"zh-CN"}
340028
+ AdminUser Load (0.1ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? LIMIT 1 [["id", 1]]
340029
+ Page Load (0.2ms) SELECT "pages".* FROM "pages" ORDER BY lft ASC
340030
+ Page::Translation Load (0.2ms) SELECT "page_translations".* FROM "page_translations" WHERE "page_translations"."page_id" = 1
340031
+ Amalgam::Models::Group Load (0.2ms) SELECT "groups".* FROM "groups"
340032
+ Rendered /Users/brownjohn/code/amalgam/app/views/amalgam/admin/pages/_fields.html.haml (3.7ms)
340033
+ Rendered /Users/brownjohn/code/amalgam/app/views/amalgam/admin/pages/_tree_inner.html.haml (15.1ms)
340034
+ Rendered /Users/brownjohn/code/amalgam/app/views/amalgam/admin/tree/_list.html.haml (1.4ms)
340035
+ Rendered /Users/brownjohn/code/amalgam/app/views/amalgam/admin/tree/_node.html.haml (19.5ms)
340036
+ Rendered /Users/brownjohn/code/amalgam/app/views/amalgam/admin/tree/_list.html.haml (22.1ms)
340037
+ Rendered /Users/brownjohn/code/amalgam/app/views/amalgam/admin/pages/index.html.haml within layouts/amalgam/admin/application (26.3ms)
340038
+ Rendered /Users/brownjohn/code/amalgam/app/views/amalgam/admin/_nav_bar.html.haml (16.2ms)
340039
+ Completed 200 OK in 63ms (Views: 60.4ms | ActiveRecord: 0.7ms)
340040
+
340041
+
340042
+ Started GET "/admin/pages?locale=en" for 127.0.0.1 at 2013-01-21 16:33:33 +0800
340043
+ Processing by Amalgam::Admin::PagesController#index as HTML
340044
+ Parameters: {"locale"=>"en"}
340045
+ AdminUser Load (0.1ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? LIMIT 1 [["id", 1]]
340046
+ Page Load (0.2ms) SELECT "pages".* FROM "pages" ORDER BY lft ASC
340047
+ Page::Translation Load (0.2ms) SELECT "page_translations".* FROM "page_translations" WHERE "page_translations"."page_id" = 1
340048
+ Amalgam::Models::Group Load (0.1ms) SELECT "groups".* FROM "groups"
340049
+ Rendered /Users/brownjohn/code/amalgam/app/views/amalgam/admin/pages/_fields.html.haml (1.7ms)
340050
+ Rendered /Users/brownjohn/code/amalgam/app/views/amalgam/admin/pages/_tree_inner.html.haml (9.8ms)
340051
+ Rendered /Users/brownjohn/code/amalgam/app/views/amalgam/admin/tree/_list.html.haml (0.2ms)
340052
+ Rendered /Users/brownjohn/code/amalgam/app/views/amalgam/admin/tree/_node.html.haml (12.9ms)
340053
+ Rendered /Users/brownjohn/code/amalgam/app/views/amalgam/admin/tree/_list.html.haml (15.0ms)
340054
+ Rendered /Users/brownjohn/code/amalgam/app/views/amalgam/admin/pages/index.html.haml within layouts/amalgam/admin/application (17.8ms)
340055
+ Rendered /Users/brownjohn/code/amalgam/app/views/amalgam/admin/_nav_bar.html.haml (50.7ms)
340056
+ Completed 200 OK in 86ms (Views: 83.9ms | ActiveRecord: 0.6ms)
340057
+
340058
+
340059
+ Started GET "/admin/pages?locale=zh-CN" for 127.0.0.1 at 2013-01-21 16:33:35 +0800
340060
+ Processing by Amalgam::Admin::PagesController#index as HTML
340061
+ Parameters: {"locale"=>"zh-CN"}
340062
+ AdminUser Load (0.1ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? LIMIT 1 [["id", 1]]
340063
+ Page Load (0.2ms) SELECT "pages".* FROM "pages" ORDER BY lft ASC
340064
+ Page::Translation Load (0.2ms) SELECT "page_translations".* FROM "page_translations" WHERE "page_translations"."page_id" = 1
340065
+ Amalgam::Models::Group Load (0.1ms) SELECT "groups".* FROM "groups"
340066
+ Rendered /Users/brownjohn/code/amalgam/app/views/amalgam/admin/pages/_fields.html.haml (2.1ms)
340067
+ Rendered /Users/brownjohn/code/amalgam/app/views/amalgam/admin/pages/_tree_inner.html.haml (9.9ms)
340068
+ Rendered /Users/brownjohn/code/amalgam/app/views/amalgam/admin/tree/_list.html.haml (0.1ms)
340069
+ Rendered /Users/brownjohn/code/amalgam/app/views/amalgam/admin/tree/_node.html.haml (11.9ms)
340070
+ Rendered /Users/brownjohn/code/amalgam/app/views/amalgam/admin/tree/_list.html.haml (12.9ms)
340071
+ Rendered /Users/brownjohn/code/amalgam/app/views/amalgam/admin/pages/index.html.haml within layouts/amalgam/admin/application (15.3ms)
340072
+ Rendered /Users/brownjohn/code/amalgam/app/views/amalgam/admin/_nav_bar.html.haml (10.9ms)
340073
+ Completed 200 OK in 44ms (Views: 41.7ms | ActiveRecord: 0.7ms)
340074
+
340075
+
340076
+ Started GET "/admin/pages?locale=en" for 127.0.0.1 at 2013-01-21 16:33:37 +0800
340077
+ Processing by Amalgam::Admin::PagesController#index as HTML
340078
+ Parameters: {"locale"=>"en"}
340079
+ AdminUser Load (0.1ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? LIMIT 1 [["id", 1]]
340080
+ Page Load (0.2ms) SELECT "pages".* FROM "pages" ORDER BY lft ASC
340081
+ Page::Translation Load (0.2ms) SELECT "page_translations".* FROM "page_translations" WHERE "page_translations"."page_id" = 1
340082
+ Amalgam::Models::Group Load (0.1ms) SELECT "groups".* FROM "groups"
340083
+ Rendered /Users/brownjohn/code/amalgam/app/views/amalgam/admin/pages/_fields.html.haml (1.9ms)
340084
+ Rendered /Users/brownjohn/code/amalgam/app/views/amalgam/admin/pages/_tree_inner.html.haml (11.8ms)
340085
+ Rendered /Users/brownjohn/code/amalgam/app/views/amalgam/admin/tree/_list.html.haml (0.2ms)
340086
+ Rendered /Users/brownjohn/code/amalgam/app/views/amalgam/admin/tree/_node.html.haml (14.6ms)
340087
+ Rendered /Users/brownjohn/code/amalgam/app/views/amalgam/admin/tree/_list.html.haml (15.9ms)
340088
+ Rendered /Users/brownjohn/code/amalgam/app/views/amalgam/admin/pages/index.html.haml within layouts/amalgam/admin/application (18.2ms)
340089
+ Rendered /Users/brownjohn/code/amalgam/app/views/amalgam/admin/_nav_bar.html.haml (48.9ms)
340090
+ Completed 200 OK in 86ms (Views: 84.1ms | ActiveRecord: 0.6ms)
340091
+
340092
+
340093
+ Started GET "/admin/pages?locale=zh-CN" for 127.0.0.1 at 2013-01-21 16:33:39 +0800
340094
+ Processing by Amalgam::Admin::PagesController#index as HTML
340095
+ Parameters: {"locale"=>"zh-CN"}
340096
+ AdminUser Load (0.1ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? LIMIT 1 [["id", 1]]
340097
+ Page Load (0.2ms) SELECT "pages".* FROM "pages" ORDER BY lft ASC
340098
+ Page::Translation Load (0.2ms) SELECT "page_translations".* FROM "page_translations" WHERE "page_translations"."page_id" = 1
340099
+ Amalgam::Models::Group Load (0.1ms) SELECT "groups".* FROM "groups"
340100
+ Rendered /Users/brownjohn/code/amalgam/app/views/amalgam/admin/pages/_fields.html.haml (2.0ms)
340101
+ Rendered /Users/brownjohn/code/amalgam/app/views/amalgam/admin/pages/_tree_inner.html.haml (9.8ms)
340102
+ Rendered /Users/brownjohn/code/amalgam/app/views/amalgam/admin/tree/_list.html.haml (0.1ms)
340103
+ Rendered /Users/brownjohn/code/amalgam/app/views/amalgam/admin/tree/_node.html.haml (11.8ms)
340104
+ Rendered /Users/brownjohn/code/amalgam/app/views/amalgam/admin/tree/_list.html.haml (13.1ms)
340105
+ Rendered /Users/brownjohn/code/amalgam/app/views/amalgam/admin/pages/index.html.haml within layouts/amalgam/admin/application (15.6ms)
340106
+ Rendered /Users/brownjohn/code/amalgam/app/views/amalgam/admin/_nav_bar.html.haml (12.5ms)
340107
+ Completed 200 OK in 46ms (Views: 43.4ms | ActiveRecord: 0.6ms)
340108
+
340109
+
340110
+ Started GET "/admin/pages?locale=en" for 127.0.0.1 at 2013-01-21 16:33:41 +0800
340111
+ Processing by Amalgam::Admin::PagesController#index as HTML
340112
+ Parameters: {"locale"=>"en"}
340113
+ AdminUser Load (0.1ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? LIMIT 1 [["id", 1]]
340114
+ Page Load (0.3ms) SELECT "pages".* FROM "pages" ORDER BY lft ASC
340115
+ Page::Translation Load (0.2ms) SELECT "page_translations".* FROM "page_translations" WHERE "page_translations"."page_id" = 1
340116
+ Amalgam::Models::Group Load (0.1ms) SELECT "groups".* FROM "groups"
340117
+ Rendered /Users/brownjohn/code/amalgam/app/views/amalgam/admin/pages/_fields.html.haml (1.9ms)
340118
+ Rendered /Users/brownjohn/code/amalgam/app/views/amalgam/admin/pages/_tree_inner.html.haml (11.1ms)
340119
+ Rendered /Users/brownjohn/code/amalgam/app/views/amalgam/admin/tree/_list.html.haml (0.2ms)
340120
+ Rendered /Users/brownjohn/code/amalgam/app/views/amalgam/admin/tree/_node.html.haml (13.7ms)
340121
+ Rendered /Users/brownjohn/code/amalgam/app/views/amalgam/admin/tree/_list.html.haml (14.9ms)
340122
+ Rendered /Users/brownjohn/code/amalgam/app/views/amalgam/admin/pages/index.html.haml within layouts/amalgam/admin/application (17.6ms)
340123
+ Rendered /Users/brownjohn/code/amalgam/app/views/amalgam/admin/_nav_bar.html.haml (48.9ms)
340124
+ Completed 200 OK in 84ms (Views: 81.7ms | ActiveRecord: 0.7ms)
340125
+
340126
+
340127
+ Started GET "/admin/pages?locale=zh-CN" for 127.0.0.1 at 2013-01-21 16:33:42 +0800
340128
+ Processing by Amalgam::Admin::PagesController#index as HTML
340129
+ Parameters: {"locale"=>"zh-CN"}
340130
+ AdminUser Load (0.1ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? LIMIT 1 [["id", 1]]
340131
+ Page Load (0.2ms) SELECT "pages".* FROM "pages" ORDER BY lft ASC
340132
+ Page::Translation Load (0.2ms) SELECT "page_translations".* FROM "page_translations" WHERE "page_translations"."page_id" = 1
340133
+ Amalgam::Models::Group Load (0.1ms) SELECT "groups".* FROM "groups"
340134
+ Rendered /Users/brownjohn/code/amalgam/app/views/amalgam/admin/pages/_fields.html.haml (1.9ms)
340135
+ Rendered /Users/brownjohn/code/amalgam/app/views/amalgam/admin/pages/_tree_inner.html.haml (9.8ms)
340136
+ Rendered /Users/brownjohn/code/amalgam/app/views/amalgam/admin/tree/_list.html.haml (0.2ms)
340137
+ Rendered /Users/brownjohn/code/amalgam/app/views/amalgam/admin/tree/_node.html.haml (11.9ms)
340138
+ Rendered /Users/brownjohn/code/amalgam/app/views/amalgam/admin/tree/_list.html.haml (13.1ms)
340139
+ Rendered /Users/brownjohn/code/amalgam/app/views/amalgam/admin/pages/index.html.haml within layouts/amalgam/admin/application (16.0ms)
340140
+ Rendered /Users/brownjohn/code/amalgam/app/views/amalgam/admin/_nav_bar.html.haml (11.2ms)
340141
+ Completed 200 OK in 45ms (Views: 43.0ms | ActiveRecord: 0.6ms)
340142
+
340143
+
340144
+ Started GET "/" for 127.0.0.1 at 2013-01-21 16:34:11 +0800
340145
+ Processing by PagesController#show as HTML
340146
+ Parameters: {"slug"=>"home"}
340147
+ AdminUser Load (0.1ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? LIMIT 1 [["id", 1]]
340148
+ Page Load (0.3ms) SELECT "pages".* FROM "pages" WHERE "pages"."slug" = 'home' ORDER BY lft ASC LIMIT 1
340149
+ Completed 500 Internal Server Error in 39ms
340150
+
340151
+ ActiveRecord::RecordNotFound (Couldn't find page with PATH=home):
340152
+ app/controllers/pages_controller.rb:7:in `show'
340153
+
340154
+
340155
+ Rendered /Users/brownjohn/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.9ms)
340156
+ Rendered /Users/brownjohn/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.9ms)
340157
+ Rendered /Users/brownjohn/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (14.0ms)
340158
+
340159
+
340160
+ Started GET "/admin" for 127.0.0.1 at 2013-01-21 16:34:13 +0800
340161
+ Processing by Amalgam::Admin::PagesController#index as HTML
340162
+ AdminUser Load (0.1ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? LIMIT 1 [["id", 1]]
340163
+ Page Load (0.3ms) SELECT "pages".* FROM "pages" ORDER BY lft ASC
340164
+ Page::Translation Load (0.2ms) SELECT "page_translations".* FROM "page_translations" WHERE "page_translations"."page_id" = 1
340165
+ Amalgam::Models::Group Load (0.1ms) SELECT "groups".* FROM "groups"
340166
+ Rendered /Users/brownjohn/code/amalgam/app/views/amalgam/admin/pages/_fields.html.haml (1.8ms)
340167
+ Rendered /Users/brownjohn/code/amalgam/app/views/amalgam/admin/pages/_tree_inner.html.haml (10.4ms)
340168
+ Rendered /Users/brownjohn/code/amalgam/app/views/amalgam/admin/tree/_list.html.haml (0.1ms)
340169
+ Rendered /Users/brownjohn/code/amalgam/app/views/amalgam/admin/tree/_node.html.haml (12.4ms)
340170
+ Rendered /Users/brownjohn/code/amalgam/app/views/amalgam/admin/tree/_list.html.haml (13.5ms)
340171
+ Rendered /Users/brownjohn/code/amalgam/app/views/amalgam/admin/pages/index.html.haml within layouts/amalgam/admin/application (15.8ms)
340172
+ Rendered /Users/brownjohn/code/amalgam/app/views/amalgam/admin/_nav_bar.html.haml (13.3ms)
340173
+ Completed 200 OK in 49ms (Views: 45.8ms | ActiveRecord: 0.7ms)
340174
+
340175
+
340176
+ Started GET "/assets/bootstrap.css?body=1" for 127.0.0.1 at 2013-01-21 16:34:13 +0800
340177
+ Served asset /bootstrap.css - 304 Not Modified (1ms)
340178
+
340179
+
340180
+ Started GET "/assets/amalgam/admin/layout.css?body=1" for 127.0.0.1 at 2013-01-21 16:34:13 +0800
340181
+ Served asset /amalgam/admin/layout.css - 304 Not Modified (0ms)
340182
+
340183
+
340184
+ Started GET "/assets/amalgam/extra.css?body=1" for 127.0.0.1 at 2013-01-21 16:34:13 +0800
340185
+ Served asset /amalgam/extra.css - 304 Not Modified (0ms)
340186
+
340187
+
340188
+ Started GET "/assets/amalgam/admin/_mixins.css?body=1" for 127.0.0.1 at 2013-01-21 16:34:13 +0800
340189
+ Served asset /amalgam/admin/_mixins.css - 304 Not Modified (0ms)
340190
+
340191
+
340192
+ Started GET "/assets/amalgam/admin.css?body=1" for 127.0.0.1 at 2013-01-21 16:34:13 +0800
340193
+ Served asset /amalgam/admin.css - 304 Not Modified (2ms)
340194
+
340195
+
340196
+ Started GET "/assets/amalgam/admin/login.css?body=1" for 127.0.0.1 at 2013-01-21 16:34:13 +0800
340197
+ Served asset /amalgam/admin/login.css - 304 Not Modified (0ms)
340198
+
340199
+
340200
+ Started GET "/assets/modernizr.js?body=1" for 127.0.0.1 at 2013-01-21 16:34:13 +0800
340201
+ Served asset /modernizr.js - 304 Not Modified (0ms)
340202
+
340203
+
340204
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-01-21 16:34:13 +0800
340205
+ Served asset /jquery.js - 304 Not Modified (0ms)
340206
+
340207
+
340208
+ Started GET "/assets/jquery.ui.core.js?body=1" for 127.0.0.1 at 2013-01-21 16:34:13 +0800
340209
+ Served asset /jquery.ui.core.js - 304 Not Modified (0ms)
340210
+
340211
+
340212
+ Started GET "/assets/jquery.ui.mouse.js?body=1" for 127.0.0.1 at 2013-01-21 16:34:13 +0800
340213
+ Served asset /jquery.ui.mouse.js - 304 Not Modified (0ms)
340214
+
340215
+
340216
+ Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2013-01-21 16:34:13 +0800
340217
+ Served asset /jquery.ui.widget.js - 304 Not Modified (0ms)
340218
+
340219
+
340220
+ Started GET "/assets/jquery.ui.sortable.js?body=1" for 127.0.0.1 at 2013-01-21 16:34:13 +0800
340221
+ Served asset /jquery.ui.sortable.js - 304 Not Modified (0ms)
340222
+
340223
+
340224
+ Started GET "/assets/jquery.ui.nestedSortable.js?body=1" for 127.0.0.1 at 2013-01-21 16:34:13 +0800
340225
+ Served asset /jquery.ui.nestedSortable.js - 304 Not Modified (0ms)
340226
+
340227
+
340228
+ Started GET "/assets/jquery.scrollto.js?body=1" for 127.0.0.1 at 2013-01-21 16:34:14 +0800
340229
+ Served asset /jquery.scrollto.js - 304 Not Modified (0ms)
340230
+
340231
+
340232
+ Started GET "/assets/bootstrap-dropdown.js?body=1" for 127.0.0.1 at 2013-01-21 16:34:14 +0800
340233
+ Served asset /bootstrap-dropdown.js - 304 Not Modified (0ms)
340234
+
340235
+
340236
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-01-21 16:34:14 +0800
340237
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
340238
+
340239
+
340240
+ Started GET "/assets/bootstrap-alert.js?body=1" for 127.0.0.1 at 2013-01-21 16:34:14 +0800
340241
+ Served asset /bootstrap-alert.js - 304 Not Modified (0ms)
340242
+
340243
+
340244
+ Started GET "/assets/bootstrap-tooltip.js?body=1" for 127.0.0.1 at 2013-01-21 16:34:14 +0800
340245
+ Served asset /bootstrap-tooltip.js - 304 Not Modified (0ms)
340246
+
340247
+
340248
+ Started GET "/assets/bootstrap-button.js?body=1" for 127.0.0.1 at 2013-01-21 16:34:14 +0800
340249
+ Served asset /bootstrap-button.js - 304 Not Modified (0ms)
340250
+
340251
+
340252
+ Started GET "/assets/amalgam/extra.js?body=1" for 127.0.0.1 at 2013-01-21 16:34:14 +0800
340253
+ Served asset /amalgam/extra.js - 304 Not Modified (0ms)
340254
+
340255
+
340256
+ Started GET "/assets/amalgam/admin/app.js?body=1" for 127.0.0.1 at 2013-01-21 16:34:14 +0800
340257
+ Served asset /amalgam/admin/app.js - 304 Not Modified (0ms)
340258
+
340259
+
340260
+ Started GET "/assets/amalgam/admin.js?body=1" for 127.0.0.1 at 2013-01-21 16:34:14 +0800
340261
+ Served asset /amalgam/admin.js - 304 Not Modified (2ms)
340262
+
340263
+
340264
+ Started GET "/assets/amalgam/admin/popover.js?body=1" for 127.0.0.1 at 2013-01-21 16:34:14 +0800
340265
+ Served asset /amalgam/admin/popover.js - 304 Not Modified (0ms)
340266
+
340267
+
340268
+ Started GET "/assets/amalgam/admin/tree.js?body=1" for 127.0.0.1 at 2013-01-21 16:34:14 +0800
340269
+ Served asset /amalgam/admin/tree.js - 304 Not Modified (0ms)
340270
+
340271
+
340272
+ Started GET "/assets/amalgam/admin/tree-node-bg.gif" for 127.0.0.1 at 2013-01-21 16:34:14 +0800
340273
+ Served asset /amalgam/admin/tree-node-bg.gif - 304 Not Modified (0ms)
340274
+
340275
+
340276
+ Started GET "/assets/glyphicons-halflings-white.png" for 127.0.0.1 at 2013-01-21 16:34:14 +0800
340277
+ Served asset /glyphicons-halflings-white.png - 200 OK (3ms)
340278
+
340279
+
340280
+ Started GET "/assets/amalgam/admin/bg.png" for 127.0.0.1 at 2013-01-21 16:34:14 +0800
340281
+ Served asset /amalgam/admin/bg.png - 304 Not Modified (0ms)
340282
+
340283
+
340284
+ Started GET "/assets/amalgam/admin/tree-last-node-bg.gif" for 127.0.0.1 at 2013-01-21 16:34:14 +0800
340285
+ Served asset /amalgam/admin/tree-last-node-bg.gif - 304 Not Modified (0ms)
340286
+
340287
+
340288
+ Started GET "/assets/glyphicons-halflings.png" for 127.0.0.1 at 2013-01-21 16:34:14 +0800
340289
+ Served asset /glyphicons-halflings.png - 200 OK (3ms)
340290
+
340291
+
340292
+ Started GET "/admin?locale=en" for 127.0.0.1 at 2013-01-21 16:34:16 +0800
340293
+ Processing by Amalgam::Admin::PagesController#index as HTML
340294
+ Parameters: {"locale"=>"en"}
340295
+ AdminUser Load (0.2ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? LIMIT 1 [["id", 1]]
340296
+ Page Load (0.2ms) SELECT "pages".* FROM "pages" ORDER BY lft ASC
340297
+ Page::Translation Load (0.2ms) SELECT "page_translations".* FROM "page_translations" WHERE "page_translations"."page_id" = 1
340298
+ Amalgam::Models::Group Load (0.2ms) SELECT "groups".* FROM "groups"
340299
+ Rendered /Users/brownjohn/code/amalgam/app/views/amalgam/admin/pages/_fields.html.haml (3.0ms)
340300
+ Rendered /Users/brownjohn/code/amalgam/app/views/amalgam/admin/pages/_tree_inner.html.haml (11.8ms)
340301
+ Rendered /Users/brownjohn/code/amalgam/app/views/amalgam/admin/tree/_list.html.haml (0.1ms)
340302
+ Rendered /Users/brownjohn/code/amalgam/app/views/amalgam/admin/tree/_node.html.haml (13.9ms)
340303
+ Rendered /Users/brownjohn/code/amalgam/app/views/amalgam/admin/tree/_list.html.haml (15.2ms)
340304
+ Rendered /Users/brownjohn/code/amalgam/app/views/amalgam/admin/pages/index.html.haml within layouts/amalgam/admin/application (17.9ms)
340305
+ Rendered /Users/brownjohn/code/amalgam/app/views/amalgam/admin/_nav_bar.html.haml (10.7ms)
340306
+ Completed 200 OK in 48ms (Views: 44.7ms | ActiveRecord: 0.8ms)
340307
+
340308
+
340309
+ Started GET "/assets/amalgam/extra.css?body=1" for 127.0.0.1 at 2013-01-21 16:34:16 +0800
340310
+ Served asset /amalgam/extra.css - 304 Not Modified (0ms)
340311
+
340312
+
340313
+ Started GET "/assets/bootstrap.css?body=1" for 127.0.0.1 at 2013-01-21 16:34:16 +0800
340314
+ Served asset /bootstrap.css - 304 Not Modified (1ms)
340315
+
340316
+
340317
+ Started GET "/assets/amalgam/admin/layout.css?body=1" for 127.0.0.1 at 2013-01-21 16:34:16 +0800
340318
+ Served asset /amalgam/admin/layout.css - 304 Not Modified (0ms)
340319
+
340320
+
340321
+ Started GET "/assets/amalgam/admin.css?body=1" for 127.0.0.1 at 2013-01-21 16:34:16 +0800
340322
+ Served asset /amalgam/admin.css - 304 Not Modified (1ms)
340323
+
340324
+
340325
+ Started GET "/assets/amalgam/admin/_mixins.css?body=1" for 127.0.0.1 at 2013-01-21 16:34:16 +0800
340326
+ Served asset /amalgam/admin/_mixins.css - 304 Not Modified (0ms)
340327
+
340328
+
340329
+ Started GET "/assets/amalgam/admin/login.css?body=1" for 127.0.0.1 at 2013-01-21 16:34:16 +0800
340330
+ Served asset /amalgam/admin/login.css - 304 Not Modified (0ms)
340331
+
340332
+
340333
+ Started GET "/assets/modernizr.js?body=1" for 127.0.0.1 at 2013-01-21 16:34:16 +0800
340334
+ Served asset /modernizr.js - 304 Not Modified (0ms)
340335
+
340336
+
340337
+ Started GET "/assets/jquery.ui.core.js?body=1" for 127.0.0.1 at 2013-01-21 16:34:16 +0800
340338
+ Served asset /jquery.ui.core.js - 304 Not Modified (0ms)
340339
+
340340
+
340341
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-01-21 16:34:16 +0800
340342
+ Served asset /jquery.js - 304 Not Modified (0ms)
340343
+
340344
+
340345
+ Started GET "/assets/jquery.ui.mouse.js?body=1" for 127.0.0.1 at 2013-01-21 16:34:16 +0800
340346
+ Served asset /jquery.ui.mouse.js - 304 Not Modified (0ms)
340347
+
340348
+
340349
+ Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2013-01-21 16:34:16 +0800
340350
+ Served asset /jquery.ui.widget.js - 304 Not Modified (0ms)
340351
+
340352
+
340353
+ Started GET "/assets/jquery.ui.sortable.js?body=1" for 127.0.0.1 at 2013-01-21 16:34:16 +0800
340354
+ Served asset /jquery.ui.sortable.js - 304 Not Modified (0ms)
340355
+
340356
+
340357
+ Started GET "/assets/jquery.ui.nestedSortable.js?body=1" for 127.0.0.1 at 2013-01-21 16:34:16 +0800
340358
+ Served asset /jquery.ui.nestedSortable.js - 304 Not Modified (0ms)
340359
+
340360
+
340361
+ Started GET "/assets/jquery.scrollto.js?body=1" for 127.0.0.1 at 2013-01-21 16:34:16 +0800
340362
+ Served asset /jquery.scrollto.js - 304 Not Modified (0ms)
340363
+
340364
+
340365
+ Started GET "/assets/bootstrap-dropdown.js?body=1" for 127.0.0.1 at 2013-01-21 16:34:16 +0800
340366
+ Served asset /bootstrap-dropdown.js - 304 Not Modified (0ms)
340367
+
340368
+
340369
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-01-21 16:34:16 +0800
340370
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
340371
+
340372
+
340373
+ Started GET "/assets/bootstrap-tooltip.js?body=1" for 127.0.0.1 at 2013-01-21 16:34:16 +0800
340374
+ Served asset /bootstrap-tooltip.js - 304 Not Modified (0ms)
340375
+
340376
+
340377
+ Started GET "/assets/bootstrap-button.js?body=1" for 127.0.0.1 at 2013-01-21 16:34:16 +0800
340378
+ Served asset /bootstrap-button.js - 304 Not Modified (0ms)
340379
+
340380
+
340381
+ Started GET "/assets/bootstrap-alert.js?body=1" for 127.0.0.1 at 2013-01-21 16:34:16 +0800
340382
+ Served asset /bootstrap-alert.js - 304 Not Modified (0ms)
340383
+
340384
+
340385
+ Started GET "/assets/amalgam/extra.js?body=1" for 127.0.0.1 at 2013-01-21 16:34:16 +0800
340386
+ Served asset /amalgam/extra.js - 304 Not Modified (0ms)
340387
+
340388
+
340389
+ Started GET "/assets/amalgam/admin/popover.js?body=1" for 127.0.0.1 at 2013-01-21 16:34:16 +0800
340390
+ Served asset /amalgam/admin/popover.js - 304 Not Modified (0ms)
340391
+
340392
+
340393
+ Started GET "/assets/amalgam/admin/app.js?body=1" for 127.0.0.1 at 2013-01-21 16:34:16 +0800
340394
+ Served asset /amalgam/admin/app.js - 304 Not Modified (0ms)
340395
+
340396
+
340397
+ Started GET "/assets/amalgam/admin.js?body=1" for 127.0.0.1 at 2013-01-21 16:34:16 +0800
340398
+ Served asset /amalgam/admin.js - 304 Not Modified (0ms)
340399
+
340400
+
340401
+ Started GET "/assets/amalgam/admin/tree.js?body=1" for 127.0.0.1 at 2013-01-21 16:34:16 +0800
340402
+ Served asset /amalgam/admin/tree.js - 304 Not Modified (0ms)
340403
+
340404
+
340405
+ Started GET "/admin?locale=zh-CN" for 127.0.0.1 at 2013-01-21 16:34:19 +0800
340406
+ Processing by Amalgam::Admin::PagesController#index as HTML
340407
+ Parameters: {"locale"=>"zh-CN"}
340408
+ AdminUser Load (0.1ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? LIMIT 1 [["id", 1]]
340409
+ Page Load (0.2ms) SELECT "pages".* FROM "pages" ORDER BY lft ASC
340410
+ Page::Translation Load (0.2ms) SELECT "page_translations".* FROM "page_translations" WHERE "page_translations"."page_id" = 1
340411
+ Amalgam::Models::Group Load (0.1ms) SELECT "groups".* FROM "groups"
340412
+ Rendered /Users/brownjohn/code/amalgam/app/views/amalgam/admin/pages/_fields.html.haml (2.1ms)
340413
+ Rendered /Users/brownjohn/code/amalgam/app/views/amalgam/admin/pages/_tree_inner.html.haml (11.3ms)
340414
+ Rendered /Users/brownjohn/code/amalgam/app/views/amalgam/admin/tree/_list.html.haml (0.1ms)
340415
+ Rendered /Users/brownjohn/code/amalgam/app/views/amalgam/admin/tree/_node.html.haml (13.1ms)
340416
+ Rendered /Users/brownjohn/code/amalgam/app/views/amalgam/admin/tree/_list.html.haml (14.2ms)
340417
+ Rendered /Users/brownjohn/code/amalgam/app/views/amalgam/admin/pages/index.html.haml within layouts/amalgam/admin/application (16.5ms)
340418
+ Rendered /Users/brownjohn/code/amalgam/app/views/amalgam/admin/_nav_bar.html.haml (12.7ms)
340419
+ Completed 200 OK in 88ms (Views: 85.7ms | ActiveRecord: 0.6ms)
340420
+
340421
+
340422
+ Started GET "/assets/bootstrap.css?body=1" for 127.0.0.1 at 2013-01-21 16:34:19 +0800
340423
+ Served asset /bootstrap.css - 304 Not Modified (2ms)
340424
+
340425
+
340426
+ Started GET "/assets/amalgam/extra.css?body=1" for 127.0.0.1 at 2013-01-21 16:34:19 +0800
340427
+ Served asset /amalgam/extra.css - 304 Not Modified (0ms)
340428
+
340429
+
340430
+ Started GET "/assets/amalgam/admin/_mixins.css?body=1" for 127.0.0.1 at 2013-01-21 16:34:19 +0800
340431
+ Served asset /amalgam/admin/_mixins.css - 304 Not Modified (0ms)
340432
+
340433
+
340434
+ Started GET "/assets/amalgam/admin/layout.css?body=1" for 127.0.0.1 at 2013-01-21 16:34:19 +0800
340435
+ Served asset /amalgam/admin/layout.css - 304 Not Modified (0ms)
340436
+
340437
+
340438
+ Started GET "/assets/amalgam/admin/login.css?body=1" for 127.0.0.1 at 2013-01-21 16:34:19 +0800
340439
+ Served asset /amalgam/admin/login.css - 304 Not Modified (0ms)
340440
+
340441
+
340442
+ Started GET "/assets/amalgam/admin.css?body=1" for 127.0.0.1 at 2013-01-21 16:34:19 +0800
340443
+ Served asset /amalgam/admin.css - 304 Not Modified (1ms)
340444
+
340445
+
340446
+ Started GET "/assets/modernizr.js?body=1" for 127.0.0.1 at 2013-01-21 16:34:19 +0800
340447
+ Served asset /modernizr.js - 304 Not Modified (0ms)
340448
+
340449
+
340450
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-01-21 16:34:19 +0800
340451
+ Served asset /jquery.js - 304 Not Modified (0ms)
340452
+
340453
+
340454
+ Started GET "/assets/jquery.ui.core.js?body=1" for 127.0.0.1 at 2013-01-21 16:34:19 +0800
340455
+ Served asset /jquery.ui.core.js - 304 Not Modified (0ms)
340456
+
340457
+
340458
+ Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2013-01-21 16:34:19 +0800
340459
+ Served asset /jquery.ui.widget.js - 304 Not Modified (0ms)
340460
+
340461
+
340462
+ Started GET "/assets/jquery.ui.mouse.js?body=1" for 127.0.0.1 at 2013-01-21 16:34:19 +0800
340463
+ Served asset /jquery.ui.mouse.js - 304 Not Modified (0ms)
340464
+
340465
+
340466
+ Started GET "/assets/jquery.ui.sortable.js?body=1" for 127.0.0.1 at 2013-01-21 16:34:19 +0800
340467
+ Served asset /jquery.ui.sortable.js - 304 Not Modified (0ms)
340468
+
340469
+
340470
+ Started GET "/assets/jquery.ui.nestedSortable.js?body=1" for 127.0.0.1 at 2013-01-21 16:34:19 +0800
340471
+ Served asset /jquery.ui.nestedSortable.js - 304 Not Modified (0ms)
340472
+
340473
+
340474
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-01-21 16:34:19 +0800
340475
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
340476
+
340477
+
340478
+ Started GET "/assets/bootstrap-dropdown.js?body=1" for 127.0.0.1 at 2013-01-21 16:34:19 +0800
340479
+ Served asset /bootstrap-dropdown.js - 304 Not Modified (0ms)
340480
+
340481
+
340482
+ Started GET "/assets/jquery.scrollto.js?body=1" for 127.0.0.1 at 2013-01-21 16:34:19 +0800
340483
+ Served asset /jquery.scrollto.js - 304 Not Modified (0ms)
340484
+
340485
+
340486
+ Started GET "/assets/bootstrap-alert.js?body=1" for 127.0.0.1 at 2013-01-21 16:34:19 +0800
340487
+ Served asset /bootstrap-alert.js - 304 Not Modified (0ms)
340488
+
340489
+
340490
+ Started GET "/assets/bootstrap-tooltip.js?body=1" for 127.0.0.1 at 2013-01-21 16:34:19 +0800
340491
+ Served asset /bootstrap-tooltip.js - 304 Not Modified (0ms)
340492
+
340493
+
340494
+ Started GET "/assets/amalgam/extra.js?body=1" for 127.0.0.1 at 2013-01-21 16:34:19 +0800
340495
+ Served asset /amalgam/extra.js - 304 Not Modified (0ms)
340496
+
340497
+
340498
+ Started GET "/assets/amalgam/admin/app.js?body=1" for 127.0.0.1 at 2013-01-21 16:34:19 +0800
340499
+ Served asset /amalgam/admin/app.js - 304 Not Modified (0ms)
340500
+
340501
+
340502
+ Started GET "/assets/bootstrap-button.js?body=1" for 127.0.0.1 at 2013-01-21 16:34:19 +0800
340503
+ Served asset /bootstrap-button.js - 304 Not Modified (0ms)
340504
+
340505
+
340506
+ Started GET "/assets/amalgam/admin/popover.js?body=1" for 127.0.0.1 at 2013-01-21 16:34:19 +0800
340507
+ Served asset /amalgam/admin/popover.js - 304 Not Modified (0ms)
340508
+
340509
+
340510
+ Started GET "/assets/amalgam/admin/tree.js?body=1" for 127.0.0.1 at 2013-01-21 16:34:19 +0800
340511
+ Served asset /amalgam/admin/tree.js - 304 Not Modified (0ms)
340512
+
340513
+
340514
+ Started GET "/assets/amalgam/admin.js?body=1" for 127.0.0.1 at 2013-01-21 16:34:19 +0800
340515
+ Served asset /amalgam/admin.js - 304 Not Modified (1ms)
340516
+
340517
+
340518
+ Started GET "/admin?locale=en" for 127.0.0.1 at 2013-01-21 16:34:21 +0800
340519
+ Processing by Amalgam::Admin::PagesController#index as HTML
340520
+ Parameters: {"locale"=>"en"}
340521
+ AdminUser Load (0.2ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? LIMIT 1 [["id", 1]]
340522
+ Page Load (0.2ms) SELECT "pages".* FROM "pages" ORDER BY lft ASC
340523
+ Page::Translation Load (0.2ms) SELECT "page_translations".* FROM "page_translations" WHERE "page_translations"."page_id" = 1
340524
+ Amalgam::Models::Group Load (0.1ms) SELECT "groups".* FROM "groups"
340525
+ Rendered /Users/brownjohn/code/amalgam/app/views/amalgam/admin/pages/_fields.html.haml (2.1ms)
340526
+ Rendered /Users/brownjohn/code/amalgam/app/views/amalgam/admin/pages/_tree_inner.html.haml (9.9ms)
340527
+ Rendered /Users/brownjohn/code/amalgam/app/views/amalgam/admin/tree/_list.html.haml (0.1ms)
340528
+ Rendered /Users/brownjohn/code/amalgam/app/views/amalgam/admin/tree/_node.html.haml (12.8ms)
340529
+ Rendered /Users/brownjohn/code/amalgam/app/views/amalgam/admin/tree/_list.html.haml (14.1ms)
340530
+ Rendered /Users/brownjohn/code/amalgam/app/views/amalgam/admin/pages/index.html.haml within layouts/amalgam/admin/application (16.9ms)
340531
+ Rendered /Users/brownjohn/code/amalgam/app/views/amalgam/admin/_nav_bar.html.haml (51.8ms)
340532
+ Completed 200 OK in 87ms (Views: 84.5ms | ActiveRecord: 0.7ms)
340533
+
340534
+
340535
+ Started GET "/assets/bootstrap.css?body=1" for 127.0.0.1 at 2013-01-21 16:34:21 +0800
340536
+ Served asset /bootstrap.css - 304 Not Modified (1ms)
340537
+
340538
+
340539
+ Started GET "/assets/amalgam/admin/layout.css?body=1" for 127.0.0.1 at 2013-01-21 16:34:21 +0800
340540
+ Served asset /amalgam/admin/layout.css - 304 Not Modified (0ms)
340541
+
340542
+
340543
+ Started GET "/assets/amalgam/extra.css?body=1" for 127.0.0.1 at 2013-01-21 16:34:21 +0800
340544
+ Served asset /amalgam/extra.css - 304 Not Modified (0ms)
340545
+
340546
+
340547
+ Started GET "/assets/amalgam/admin.css?body=1" for 127.0.0.1 at 2013-01-21 16:34:21 +0800
340548
+ Served asset /amalgam/admin.css - 304 Not Modified (1ms)
340549
+
340550
+
340551
+ Started GET "/assets/amalgam/admin/_mixins.css?body=1" for 127.0.0.1 at 2013-01-21 16:34:21 +0800
340552
+ Served asset /amalgam/admin/_mixins.css - 304 Not Modified (0ms)
340553
+
340554
+
340555
+ Started GET "/assets/amalgam/admin/login.css?body=1" for 127.0.0.1 at 2013-01-21 16:34:21 +0800
340556
+ Served asset /amalgam/admin/login.css - 304 Not Modified (0ms)
340557
+
340558
+
340559
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-01-21 16:34:21 +0800
340560
+ Served asset /jquery.js - 304 Not Modified (0ms)
340561
+
340562
+
340563
+ Started GET "/assets/modernizr.js?body=1" for 127.0.0.1 at 2013-01-21 16:34:21 +0800
340564
+ Served asset /modernizr.js - 304 Not Modified (0ms)
340565
+
340566
+
340567
+ Started GET "/assets/jquery.ui.core.js?body=1" for 127.0.0.1 at 2013-01-21 16:34:21 +0800
340568
+ Served asset /jquery.ui.core.js - 304 Not Modified (0ms)
340569
+
340570
+
340571
+ Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2013-01-21 16:34:21 +0800
340572
+ Served asset /jquery.ui.widget.js - 304 Not Modified (0ms)
340573
+
340574
+
340575
+ Started GET "/assets/jquery.ui.mouse.js?body=1" for 127.0.0.1 at 2013-01-21 16:34:21 +0800
340576
+ Served asset /jquery.ui.mouse.js - 304 Not Modified (0ms)
340577
+
340578
+
340579
+ Started GET "/assets/jquery.ui.sortable.js?body=1" for 127.0.0.1 at 2013-01-21 16:34:21 +0800
340580
+ Served asset /jquery.ui.sortable.js - 304 Not Modified (0ms)
340581
+
340582
+
340583
+ Started GET "/assets/jquery.ui.nestedSortable.js?body=1" for 127.0.0.1 at 2013-01-21 16:34:21 +0800
340584
+ Served asset /jquery.ui.nestedSortable.js - 304 Not Modified (0ms)
340585
+
340586
+
340587
+ Started GET "/assets/jquery.scrollto.js?body=1" for 127.0.0.1 at 2013-01-21 16:34:21 +0800
340588
+ Served asset /jquery.scrollto.js - 304 Not Modified (0ms)
340589
+
340590
+
340591
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-01-21 16:34:21 +0800
340592
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
340593
+
340594
+
340595
+ Started GET "/assets/bootstrap-dropdown.js?body=1" for 127.0.0.1 at 2013-01-21 16:34:21 +0800
340596
+ Served asset /bootstrap-dropdown.js - 304 Not Modified (0ms)
340597
+
340598
+
340599
+ Started GET "/assets/bootstrap-alert.js?body=1" for 127.0.0.1 at 2013-01-21 16:34:21 +0800
340600
+ Served asset /bootstrap-alert.js - 304 Not Modified (0ms)
340601
+
340602
+
340603
+ Started GET "/assets/bootstrap-tooltip.js?body=1" for 127.0.0.1 at 2013-01-21 16:34:21 +0800
340604
+ Served asset /bootstrap-tooltip.js - 304 Not Modified (0ms)
340605
+
340606
+
340607
+ Started GET "/assets/bootstrap-button.js?body=1" for 127.0.0.1 at 2013-01-21 16:34:21 +0800
340608
+ Served asset /bootstrap-button.js - 304 Not Modified (0ms)
340609
+
340610
+
340611
+ Started GET "/assets/amalgam/extra.js?body=1" for 127.0.0.1 at 2013-01-21 16:34:21 +0800
340612
+ Served asset /amalgam/extra.js - 304 Not Modified (0ms)
340613
+
340614
+
340615
+ Started GET "/assets/amalgam/admin/app.js?body=1" for 127.0.0.1 at 2013-01-21 16:34:21 +0800
340616
+ Served asset /amalgam/admin/app.js - 304 Not Modified (0ms)
340617
+
340618
+
340619
+ Started GET "/assets/amalgam/admin/popover.js?body=1" for 127.0.0.1 at 2013-01-21 16:34:21 +0800
340620
+ Served asset /amalgam/admin/popover.js - 304 Not Modified (0ms)
340621
+
340622
+
340623
+ Started GET "/assets/amalgam/admin/tree.js?body=1" for 127.0.0.1 at 2013-01-21 16:34:21 +0800
340624
+ Served asset /amalgam/admin/tree.js - 304 Not Modified (0ms)
340625
+
340626
+
340627
+ Started GET "/assets/amalgam/admin.js?body=1" for 127.0.0.1 at 2013-01-21 16:34:21 +0800
340628
+ Served asset /amalgam/admin.js - 304 Not Modified (1ms)
340629
+
340630
+
340631
+ Started GET "/admin?locale=zh-CN" for 127.0.0.1 at 2013-01-21 16:34:33 +0800
340632
+ Processing by Amalgam::Admin::PagesController#index as HTML
340633
+ Parameters: {"locale"=>"zh-CN"}
340634
+ AdminUser Load (0.1ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? LIMIT 1 [["id", 1]]
340635
+ Page Load (0.2ms) SELECT "pages".* FROM "pages" ORDER BY lft ASC
340636
+ Page::Translation Load (0.2ms) SELECT "page_translations".* FROM "page_translations" WHERE "page_translations"."page_id" = 1
340637
+ Amalgam::Models::Group Load (0.1ms) SELECT "groups".* FROM "groups"
340638
+ Rendered /Users/brownjohn/code/amalgam/app/views/amalgam/admin/pages/_fields.html.haml (1.6ms)
340639
+ Rendered /Users/brownjohn/code/amalgam/app/views/amalgam/admin/pages/_tree_inner.html.haml (9.4ms)
340640
+ Rendered /Users/brownjohn/code/amalgam/app/views/amalgam/admin/tree/_list.html.haml (0.1ms)
340641
+ Rendered /Users/brownjohn/code/amalgam/app/views/amalgam/admin/tree/_node.html.haml (11.6ms)
340642
+ Rendered /Users/brownjohn/code/amalgam/app/views/amalgam/admin/tree/_list.html.haml (12.8ms)
340643
+ Rendered /Users/brownjohn/code/amalgam/app/views/amalgam/admin/pages/index.html.haml within layouts/amalgam/admin/application (15.3ms)
340644
+ Rendered /Users/brownjohn/code/amalgam/app/views/amalgam/admin/_nav_bar.html.haml (54.4ms)
340645
+ Completed 200 OK in 87ms (Views: 85.1ms | ActiveRecord: 0.7ms)
340646
+
340647
+
340648
+ Started GET "/assets/bootstrap.css?body=1" for 127.0.0.1 at 2013-01-21 16:34:33 +0800
340649
+ Served asset /bootstrap.css - 304 Not Modified (2ms)
340650
+
340651
+
340652
+ Started GET "/assets/amalgam/extra.css?body=1" for 127.0.0.1 at 2013-01-21 16:34:33 +0800
340653
+ Served asset /amalgam/extra.css - 304 Not Modified (0ms)
340654
+
340655
+
340656
+ Started GET "/assets/amalgam/admin/_mixins.css?body=1" for 127.0.0.1 at 2013-01-21 16:34:33 +0800
340657
+ Served asset /amalgam/admin/_mixins.css - 304 Not Modified (0ms)
340658
+
340659
+
340660
+ Started GET "/assets/amalgam/admin/login.css?body=1" for 127.0.0.1 at 2013-01-21 16:34:33 +0800
340661
+ Served asset /amalgam/admin/login.css - 304 Not Modified (0ms)
340662
+
340663
+
340664
+ Started GET "/assets/amalgam/admin/layout.css?body=1" for 127.0.0.1 at 2013-01-21 16:34:33 +0800
340665
+ Served asset /amalgam/admin/layout.css - 304 Not Modified (0ms)
340666
+
340667
+
340668
+ Started GET "/assets/modernizr.js?body=1" for 127.0.0.1 at 2013-01-21 16:34:33 +0800
340669
+ Served asset /modernizr.js - 304 Not Modified (0ms)
340670
+
340671
+
340672
+ Started GET "/assets/amalgam/admin.css?body=1" for 127.0.0.1 at 2013-01-21 16:34:33 +0800
340673
+ Served asset /amalgam/admin.css - 304 Not Modified (1ms)
340674
+
340675
+
340676
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-01-21 16:34:33 +0800
340677
+ Served asset /jquery.js - 304 Not Modified (0ms)
340678
+
340679
+
340680
+ Started GET "/assets/jquery.ui.core.js?body=1" for 127.0.0.1 at 2013-01-21 16:34:33 +0800
340681
+ Served asset /jquery.ui.core.js - 304 Not Modified (0ms)
340682
+
340683
+
340684
+ Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2013-01-21 16:34:33 +0800
340685
+ Served asset /jquery.ui.widget.js - 304 Not Modified (0ms)
340686
+
340687
+
340688
+ Started GET "/assets/jquery.ui.mouse.js?body=1" for 127.0.0.1 at 2013-01-21 16:34:33 +0800
340689
+ Served asset /jquery.ui.mouse.js - 304 Not Modified (0ms)
340690
+
340691
+
340692
+ Started GET "/assets/jquery.ui.sortable.js?body=1" for 127.0.0.1 at 2013-01-21 16:34:33 +0800
340693
+ Served asset /jquery.ui.sortable.js - 304 Not Modified (0ms)
340694
+
340695
+
340696
+ Started GET "/assets/jquery.ui.nestedSortable.js?body=1" for 127.0.0.1 at 2013-01-21 16:34:33 +0800
340697
+ Served asset /jquery.ui.nestedSortable.js - 304 Not Modified (0ms)
340698
+
340699
+
340700
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-01-21 16:34:33 +0800
340701
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
340702
+
340703
+
340704
+ Started GET "/assets/jquery.scrollto.js?body=1" for 127.0.0.1 at 2013-01-21 16:34:33 +0800
340705
+ Served asset /jquery.scrollto.js - 304 Not Modified (0ms)
340706
+
340707
+
340708
+ Started GET "/assets/bootstrap-dropdown.js?body=1" for 127.0.0.1 at 2013-01-21 16:34:33 +0800
340709
+ Served asset /bootstrap-dropdown.js - 304 Not Modified (0ms)
340710
+
340711
+
340712
+ Started GET "/assets/bootstrap-tooltip.js?body=1" for 127.0.0.1 at 2013-01-21 16:34:33 +0800
340713
+ Served asset /bootstrap-tooltip.js - 304 Not Modified (0ms)
340714
+
340715
+
340716
+ Started GET "/assets/bootstrap-button.js?body=1" for 127.0.0.1 at 2013-01-21 16:34:33 +0800
340717
+ Served asset /bootstrap-button.js - 304 Not Modified (0ms)
340718
+
340719
+
340720
+ Started GET "/assets/bootstrap-alert.js?body=1" for 127.0.0.1 at 2013-01-21 16:34:33 +0800
340721
+ Served asset /bootstrap-alert.js - 304 Not Modified (0ms)
340722
+
340723
+
340724
+ Started GET "/assets/amalgam/extra.js?body=1" for 127.0.0.1 at 2013-01-21 16:34:33 +0800
340725
+ Served asset /amalgam/extra.js - 304 Not Modified (0ms)
340726
+
340727
+
340728
+ Started GET "/assets/amalgam/admin/popover.js?body=1" for 127.0.0.1 at 2013-01-21 16:34:33 +0800
340729
+ Served asset /amalgam/admin/popover.js - 304 Not Modified (0ms)
340730
+
340731
+
340732
+ Started GET "/assets/amalgam/admin/app.js?body=1" for 127.0.0.1 at 2013-01-21 16:34:33 +0800
340733
+ Served asset /amalgam/admin/app.js - 304 Not Modified (0ms)
340734
+
340735
+
340736
+ Started GET "/assets/amalgam/admin/tree.js?body=1" for 127.0.0.1 at 2013-01-21 16:34:33 +0800
340737
+ Served asset /amalgam/admin/tree.js - 304 Not Modified (0ms)
340738
+
340739
+
340740
+ Started GET "/assets/amalgam/admin.js?body=1" for 127.0.0.1 at 2013-01-21 16:34:33 +0800
340741
+ Served asset /amalgam/admin.js - 304 Not Modified (1ms)
340742
+
340743
+
340744
+ Started GET "/admin?locale=en" for 127.0.0.1 at 2013-01-21 16:34:34 +0800
340745
+ Processing by Amalgam::Admin::PagesController#index as HTML
340746
+ Parameters: {"locale"=>"en"}
340747
+ AdminUser Load (0.1ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? LIMIT 1 [["id", 1]]
340748
+ Page Load (0.2ms) SELECT "pages".* FROM "pages" ORDER BY lft ASC
340749
+ Page::Translation Load (0.2ms) SELECT "page_translations".* FROM "page_translations" WHERE "page_translations"."page_id" = 1
340750
+ Amalgam::Models::Group Load (0.1ms) SELECT "groups".* FROM "groups"
340751
+ Rendered /Users/brownjohn/code/amalgam/app/views/amalgam/admin/pages/_fields.html.haml (1.8ms)
340752
+ Rendered /Users/brownjohn/code/amalgam/app/views/amalgam/admin/pages/_tree_inner.html.haml (10.8ms)
340753
+ Rendered /Users/brownjohn/code/amalgam/app/views/amalgam/admin/tree/_list.html.haml (0.1ms)
340754
+ Rendered /Users/brownjohn/code/amalgam/app/views/amalgam/admin/tree/_node.html.haml (13.7ms)
340755
+ Rendered /Users/brownjohn/code/amalgam/app/views/amalgam/admin/tree/_list.html.haml (15.1ms)
340756
+ Rendered /Users/brownjohn/code/amalgam/app/views/amalgam/admin/pages/index.html.haml within layouts/amalgam/admin/application (17.8ms)
340757
+ Rendered /Users/brownjohn/code/amalgam/app/views/amalgam/admin/_nav_bar.html.haml (12.1ms)
340758
+ Completed 200 OK in 47ms (Views: 45.3ms | ActiveRecord: 0.6ms)
340759
+
340760
+
340761
+ Started GET "/assets/amalgam/extra.css?body=1" for 127.0.0.1 at 2013-01-21 16:34:35 +0800
340762
+ Served asset /amalgam/extra.css - 304 Not Modified (0ms)
340763
+
340764
+
340765
+ Started GET "/assets/amalgam/admin.css?body=1" for 127.0.0.1 at 2013-01-21 16:34:35 +0800
340766
+ Served asset /amalgam/admin.css - 304 Not Modified (2ms)
340767
+
340768
+
340769
+ Started GET "/assets/amalgam/admin/_mixins.css?body=1" for 127.0.0.1 at 2013-01-21 16:34:35 +0800
340770
+ Served asset /amalgam/admin/_mixins.css - 304 Not Modified (0ms)
340771
+
340772
+
340773
+ Started GET "/assets/amalgam/admin/login.css?body=1" for 127.0.0.1 at 2013-01-21 16:34:35 +0800
340774
+ Served asset /amalgam/admin/login.css - 304 Not Modified (0ms)
340775
+
340776
+
340777
+ Started GET "/assets/bootstrap.css?body=1" for 127.0.0.1 at 2013-01-21 16:34:35 +0800
340778
+ Served asset /bootstrap.css - 304 Not Modified (1ms)
340779
+
340780
+
340781
+ Started GET "/assets/amalgam/admin/layout.css?body=1" for 127.0.0.1 at 2013-01-21 16:34:35 +0800
340782
+ Served asset /amalgam/admin/layout.css - 304 Not Modified (0ms)
340783
+
340784
+
340785
+ Started GET "/assets/modernizr.js?body=1" for 127.0.0.1 at 2013-01-21 16:34:35 +0800
340786
+ Served asset /modernizr.js - 304 Not Modified (0ms)
340787
+
340788
+
340789
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-01-21 16:34:35 +0800
340790
+ Served asset /jquery.js - 304 Not Modified (0ms)
340791
+
340792
+
340793
+ Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2013-01-21 16:34:35 +0800
340794
+ Served asset /jquery.ui.widget.js - 304 Not Modified (0ms)
340795
+
340796
+
340797
+ Started GET "/assets/jquery.ui.core.js?body=1" for 127.0.0.1 at 2013-01-21 16:34:35 +0800
340798
+ Served asset /jquery.ui.core.js - 304 Not Modified (0ms)
340799
+
340800
+
340801
+ Started GET "/assets/jquery.ui.mouse.js?body=1" for 127.0.0.1 at 2013-01-21 16:34:35 +0800
340802
+ Served asset /jquery.ui.mouse.js - 304 Not Modified (0ms)
340803
+
340804
+
340805
+ Started GET "/assets/jquery.ui.sortable.js?body=1" for 127.0.0.1 at 2013-01-21 16:34:35 +0800
340806
+ Served asset /jquery.ui.sortable.js - 304 Not Modified (0ms)
340807
+
340808
+
340809
+ Started GET "/assets/jquery.scrollto.js?body=1" for 127.0.0.1 at 2013-01-21 16:34:35 +0800
340810
+ Served asset /jquery.scrollto.js - 304 Not Modified (0ms)
340811
+
340812
+
340813
+ Started GET "/assets/jquery.ui.nestedSortable.js?body=1" for 127.0.0.1 at 2013-01-21 16:34:35 +0800
340814
+ Served asset /jquery.ui.nestedSortable.js - 304 Not Modified (0ms)
340815
+
340816
+
340817
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-01-21 16:34:35 +0800
340818
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
340819
+
340820
+
340821
+ Started GET "/assets/bootstrap-dropdown.js?body=1" for 127.0.0.1 at 2013-01-21 16:34:35 +0800
340822
+ Served asset /bootstrap-dropdown.js - 304 Not Modified (0ms)
340823
+
340824
+
340825
+ Started GET "/assets/bootstrap-tooltip.js?body=1" for 127.0.0.1 at 2013-01-21 16:34:35 +0800
340826
+ Served asset /bootstrap-tooltip.js - 304 Not Modified (0ms)
340827
+
340828
+
340829
+ Started GET "/assets/bootstrap-alert.js?body=1" for 127.0.0.1 at 2013-01-21 16:34:35 +0800
340830
+ Served asset /bootstrap-alert.js - 304 Not Modified (0ms)
340831
+
340832
+
340833
+ Started GET "/assets/bootstrap-button.js?body=1" for 127.0.0.1 at 2013-01-21 16:34:35 +0800
340834
+ Served asset /bootstrap-button.js - 304 Not Modified (0ms)
340835
+
340836
+
340837
+ Started GET "/assets/amalgam/extra.js?body=1" for 127.0.0.1 at 2013-01-21 16:34:35 +0800
340838
+ Served asset /amalgam/extra.js - 304 Not Modified (0ms)
340839
+
340840
+
340841
+ Started GET "/assets/amalgam/admin/app.js?body=1" for 127.0.0.1 at 2013-01-21 16:34:35 +0800
340842
+ Served asset /amalgam/admin/app.js - 304 Not Modified (0ms)
340843
+
340844
+
340845
+ Started GET "/assets/amalgam/admin/popover.js?body=1" for 127.0.0.1 at 2013-01-21 16:34:35 +0800
340846
+ Served asset /amalgam/admin/popover.js - 304 Not Modified (0ms)
340847
+
340848
+
340849
+ Started GET "/assets/amalgam/admin/tree.js?body=1" for 127.0.0.1 at 2013-01-21 16:34:35 +0800
340850
+ Served asset /amalgam/admin/tree.js - 304 Not Modified (0ms)
340851
+
340852
+
340853
+ Started GET "/assets/amalgam/admin.js?body=1" for 127.0.0.1 at 2013-01-21 16:34:35 +0800
340854
+ Served asset /amalgam/admin.js - 304 Not Modified (1ms)
340855
+
340856
+
340857
+ Started GET "/admin?locale=zh-CN" for 127.0.0.1 at 2013-01-21 16:34:36 +0800
340858
+ Processing by Amalgam::Admin::PagesController#index as HTML
340859
+ Parameters: {"locale"=>"zh-CN"}
340860
+ AdminUser Load (0.1ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? LIMIT 1 [["id", 1]]
340861
+ Page Load (0.3ms) SELECT "pages".* FROM "pages" ORDER BY lft ASC
340862
+ Page::Translation Load (0.2ms) SELECT "page_translations".* FROM "page_translations" WHERE "page_translations"."page_id" = 1
340863
+ Amalgam::Models::Group Load (0.1ms) SELECT "groups".* FROM "groups"
340864
+ Rendered /Users/brownjohn/code/amalgam/app/views/amalgam/admin/pages/_fields.html.haml (2.1ms)
340865
+ Rendered /Users/brownjohn/code/amalgam/app/views/amalgam/admin/pages/_tree_inner.html.haml (9.9ms)
340866
+ Rendered /Users/brownjohn/code/amalgam/app/views/amalgam/admin/tree/_list.html.haml (0.1ms)
340867
+ Rendered /Users/brownjohn/code/amalgam/app/views/amalgam/admin/tree/_node.html.haml (12.1ms)
340868
+ Rendered /Users/brownjohn/code/amalgam/app/views/amalgam/admin/tree/_list.html.haml (13.1ms)
340869
+ Rendered /Users/brownjohn/code/amalgam/app/views/amalgam/admin/pages/index.html.haml within layouts/amalgam/admin/application (15.3ms)
340870
+ Rendered /Users/brownjohn/code/amalgam/app/views/amalgam/admin/_nav_bar.html.haml (11.2ms)
340871
+ Completed 200 OK in 44ms (Views: 41.0ms | ActiveRecord: 0.7ms)
340872
+
340873
+
340874
+ Started GET "/assets/amalgam/extra.css?body=1" for 127.0.0.1 at 2013-01-21 16:34:36 +0800
340875
+ Served asset /amalgam/extra.css - 304 Not Modified (0ms)
340876
+
340877
+
340878
+ Started GET "/assets/bootstrap.css?body=1" for 127.0.0.1 at 2013-01-21 16:34:36 +0800
340879
+ Served asset /bootstrap.css - 304 Not Modified (1ms)
340880
+
340881
+
340882
+ Started GET "/assets/amalgam/admin/layout.css?body=1" for 127.0.0.1 at 2013-01-21 16:34:36 +0800
340883
+ Served asset /amalgam/admin/layout.css - 304 Not Modified (0ms)
340884
+
340885
+
340886
+ Started GET "/assets/amalgam/admin.css?body=1" for 127.0.0.1 at 2013-01-21 16:34:36 +0800
340887
+ Served asset /amalgam/admin.css - 304 Not Modified (2ms)
340888
+
340889
+
340890
+ Started GET "/assets/amalgam/admin/_mixins.css?body=1" for 127.0.0.1 at 2013-01-21 16:34:36 +0800
340891
+ Served asset /amalgam/admin/_mixins.css - 304 Not Modified (0ms)
340892
+
340893
+
340894
+ Started GET "/assets/amalgam/admin/login.css?body=1" for 127.0.0.1 at 2013-01-21 16:34:36 +0800
340895
+ Served asset /amalgam/admin/login.css - 304 Not Modified (0ms)
340896
+
340897
+
340898
+ Started GET "/assets/modernizr.js?body=1" for 127.0.0.1 at 2013-01-21 16:34:37 +0800
340899
+ Served asset /modernizr.js - 304 Not Modified (0ms)
340900
+
340901
+
340902
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-01-21 16:34:37 +0800
340903
+ Served asset /jquery.js - 304 Not Modified (0ms)
340904
+
340905
+
340906
+ Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2013-01-21 16:34:37 +0800
340907
+ Served asset /jquery.ui.widget.js - 304 Not Modified (0ms)
340908
+
340909
+
340910
+ Started GET "/assets/jquery.ui.core.js?body=1" for 127.0.0.1 at 2013-01-21 16:34:37 +0800
340911
+ Served asset /jquery.ui.core.js - 304 Not Modified (0ms)
340912
+
340913
+
340914
+ Started GET "/assets/jquery.ui.sortable.js?body=1" for 127.0.0.1 at 2013-01-21 16:34:37 +0800
340915
+ Served asset /jquery.ui.sortable.js - 304 Not Modified (0ms)
340916
+
340917
+
340918
+ Started GET "/assets/jquery.ui.mouse.js?body=1" for 127.0.0.1 at 2013-01-21 16:34:37 +0800
340919
+ Served asset /jquery.ui.mouse.js - 304 Not Modified (0ms)
340920
+
340921
+
340922
+ Started GET "/assets/jquery.scrollto.js?body=1" for 127.0.0.1 at 2013-01-21 16:34:37 +0800
340923
+ Served asset /jquery.scrollto.js - 304 Not Modified (0ms)
340924
+
340925
+
340926
+ Started GET "/assets/jquery.ui.nestedSortable.js?body=1" for 127.0.0.1 at 2013-01-21 16:34:37 +0800
340927
+ Served asset /jquery.ui.nestedSortable.js - 304 Not Modified (0ms)
340928
+
340929
+
340930
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-01-21 16:34:37 +0800
340931
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
340932
+
340933
+
340934
+ Started GET "/assets/bootstrap-dropdown.js?body=1" for 127.0.0.1 at 2013-01-21 16:34:37 +0800
340935
+ Served asset /bootstrap-dropdown.js - 304 Not Modified (0ms)
340936
+
340937
+
340938
+ Started GET "/assets/bootstrap-alert.js?body=1" for 127.0.0.1 at 2013-01-21 16:34:37 +0800
340939
+ Served asset /bootstrap-alert.js - 304 Not Modified (0ms)
340940
+
340941
+
340942
+ Started GET "/assets/bootstrap-tooltip.js?body=1" for 127.0.0.1 at 2013-01-21 16:34:37 +0800
340943
+ Served asset /bootstrap-tooltip.js - 304 Not Modified (0ms)
340944
+
340945
+
340946
+ Started GET "/assets/amalgam/extra.js?body=1" for 127.0.0.1 at 2013-01-21 16:34:37 +0800
340947
+ Served asset /amalgam/extra.js - 304 Not Modified (0ms)
340948
+
340949
+
340950
+ Started GET "/assets/bootstrap-button.js?body=1" for 127.0.0.1 at 2013-01-21 16:34:37 +0800
340951
+ Served asset /bootstrap-button.js - 304 Not Modified (0ms)
340952
+
340953
+
340954
+ Started GET "/assets/amalgam/admin/app.js?body=1" for 127.0.0.1 at 2013-01-21 16:34:37 +0800
340955
+ Served asset /amalgam/admin/app.js - 304 Not Modified (0ms)
340956
+
340957
+
340958
+ Started GET "/assets/amalgam/admin/popover.js?body=1" for 127.0.0.1 at 2013-01-21 16:34:37 +0800
340959
+ Served asset /amalgam/admin/popover.js - 304 Not Modified (0ms)
340960
+
340961
+
340962
+ Started GET "/assets/amalgam/admin/tree.js?body=1" for 127.0.0.1 at 2013-01-21 16:34:37 +0800
340963
+ Served asset /amalgam/admin/tree.js - 304 Not Modified (0ms)
340964
+
340965
+
340966
+ Started GET "/assets/amalgam/admin.js?body=1" for 127.0.0.1 at 2013-01-21 16:34:37 +0800
340967
+ Served asset /amalgam/admin.js - 304 Not Modified (1ms)