pilgrim 0.1.4 → 0.1.5

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.
@@ -19,11 +19,17 @@ module Pilgrim
19
19
  @state_html_class = params[:state_html_class]
20
20
 
21
21
  country = Pilgrim::Country.find(value)
22
- @states = country.states
23
- @cities = @states.first.cities rescue []
22
+
23
+ states = country.states rescue []
24
+ @states = transform_result(states, 0)
25
+
26
+ cities = states.first.cities rescue []
27
+ @cities = transform_result(cities, 0)
24
28
  elsif @kind == "state"
25
29
  state = Pilgrim::State.find(value)
26
- @cities = state.cities
30
+
31
+ cities = state.cities rescue []
32
+ @cities = transform_result(cities, 0)
27
33
  end
28
34
  end
29
35
 
@@ -9,6 +9,7 @@ module Pilgrim
9
9
  extend Pilgrim::Methods::ClassMethods
10
10
  include Pilgrim::Methods::InstanceMethods
11
11
  helper Pilgrim::ApplicationHelper
12
+ helper_method "transform_result"
12
13
  end
13
14
  end
14
15
  end
@@ -1,3 +1,3 @@
1
1
  module Pilgrim
2
- VERSION = "0.1.4"
2
+ VERSION = "0.1.5"
3
3
  end
@@ -1 +1 @@
1
- <%= select form_name, name, options_for_select(data.collect{ |c| [c.name, c.id] }, 1), {}, :data => {:kind => kind, :block => block, :formname => form_name, :name => name}, :class => html_class, :id => html_id %>
1
+ <%= select form_name, name, options_for_select(data[:data].collect{ |c| [c.name, c.id] }, data[:selected]), {}, :data => {:kind => kind, :block => block, :formname => form_name, :name => name}, :class => html_class, :id => html_id %>
@@ -1589,3 +1589,711 @@ Processing by Pilgrim::TagsController#change_location as */*
1589
1589
  Rendered pilgrim/tags/_dropdown_aux.html.erb (1.6ms)
1590
1590
  Rendered pilgrim/tags/change_location.js.erb (4.4ms)
1591
1591
  Completed 200 OK in 10ms (Views: 6.6ms | ActiveRecord: 1.5ms)
1592
+ Connecting to database specified by database.yml
1593
+
1594
+
1595
+ Started GET "/" for 127.0.0.1 at 2013-05-08 14:02:08 -0600
1596
+ Processing by WelcomeController#index as HTML
1597
+ Pilgrim::Country Load (2.9ms) SELECT `pilgrim_countries`.* FROM `pilgrim_countries` ORDER BY id ASC LIMIT 1
1598
+ Pilgrim::Country Load (0.4ms) SELECT `pilgrim_countries`.* FROM `pilgrim_countries` WHERE `pilgrim_countries`.`id` = 1 LIMIT 1
1599
+  (0.6ms) SELECT COUNT(*) FROM `pilgrim_states` WHERE `pilgrim_states`.`country_id` = 1
1600
+ Pilgrim::State Load (0.6ms) SELECT `pilgrim_states`.* FROM `pilgrim_states` WHERE `pilgrim_states`.`country_id` = 1 LIMIT 1
1601
+ Pilgrim::State Load (0.3ms) SELECT `pilgrim_states`.* FROM `pilgrim_states` WHERE `pilgrim_states`.`id` = 70 LIMIT 1
1602
+  (0.5ms) SELECT COUNT(*) FROM `pilgrim_cities` WHERE `pilgrim_cities`.`state_id` = 70
1603
+ Pilgrim::City Load (0.3ms) SELECT `pilgrim_cities`.* FROM `pilgrim_cities` WHERE `pilgrim_cities`.`state_id` = 70 LIMIT 1
1604
+ Pilgrim::Country Load (0.7ms) SELECT `pilgrim_countries`.* FROM `pilgrim_countries` ORDER BY id ASC
1605
+ Rendered pilgrim/tags/_dropdown_aux.html.erb (30.7ms)
1606
+ Rendered pilgrim/tags/_dropdown.html.erb (31.8ms)
1607
+ Rendered pilgrim/tags/_container.html.erb (32.9ms)
1608
+ Rendered welcome/index.html.erb within layouts/application (38.5ms)
1609
+ Completed 500 Internal Server Error in 321ms
1610
+
1611
+ ActionView::Template::Error (undefined method `name' for #<Array:0x007fe487b7a908>):
1612
+ 1: <%= select form_name, name, options_for_select(data.collect{ |c| [c.name, c.id] }, 1), {}, :data => {:kind => kind, :block => block, :formname => form_name, :name => name}, :class => html_class, :id => html_id %>
1613
+ app/views/pilgrim/tags/_dropdown_aux.html.erb:1:in `block in _app_views_pilgrim_tags__dropdown_aux_html_erb__1512789106215908788_70309754791140'
1614
+ app/views/pilgrim/tags/_dropdown_aux.html.erb:1:in `each'
1615
+ app/views/pilgrim/tags/_dropdown_aux.html.erb:1:in `collect'
1616
+ app/views/pilgrim/tags/_dropdown_aux.html.erb:1:in `_app_views_pilgrim_tags__dropdown_aux_html_erb__1512789106215908788_70309754791140'
1617
+ app/views/pilgrim/tags/_dropdown.html.erb:2:in `_app_views_pilgrim_tags__dropdown_html_erb__4320260026648647891_70309752712080'
1618
+ app/views/pilgrim/tags/_container.html.erb:2:in `_app_views_pilgrim_tags__container_html_erb___1990964108972933463_70309754391660'
1619
+ app/views/welcome/index.html.erb:6:in `block in _app_views_welcome_index_html_erb__390110413552410479_70309752822840'
1620
+ app/views/welcome/index.html.erb:4:in `_app_views_welcome_index_html_erb__390110413552410479_70309752822840'
1621
+
1622
+
1623
+ Rendered /usr/local/rvm/gems/ruby-1.9.3-p392@r3212/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.3ms)
1624
+ Rendered /usr/local/rvm/gems/ruby-1.9.3-p392@r3212/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.9ms)
1625
+ Rendered /usr/local/rvm/gems/ruby-1.9.3-p392@r3212/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (6.8ms)
1626
+ Connecting to database specified by database.yml
1627
+ Connecting to database specified by database.yml
1628
+
1629
+
1630
+ Started GET "/" for 127.0.0.1 at 2013-05-08 14:02:42 -0600
1631
+ Processing by WelcomeController#index as HTML
1632
+ Pilgrim::Country Load (0.3ms) SELECT `pilgrim_countries`.* FROM `pilgrim_countries` ORDER BY id ASC LIMIT 1
1633
+ Pilgrim::Country Load (0.4ms) SELECT `pilgrim_countries`.* FROM `pilgrim_countries` WHERE `pilgrim_countries`.`id` = 1 LIMIT 1
1634
+  (0.2ms) SELECT COUNT(*) FROM `pilgrim_states` WHERE `pilgrim_states`.`country_id` = 1
1635
+ Pilgrim::State Load (0.2ms) SELECT `pilgrim_states`.* FROM `pilgrim_states` WHERE `pilgrim_states`.`country_id` = 1 LIMIT 1
1636
+ Pilgrim::State Load (0.4ms) SELECT `pilgrim_states`.* FROM `pilgrim_states` WHERE `pilgrim_states`.`id` = 70 LIMIT 1
1637
+  (0.2ms) SELECT COUNT(*) FROM `pilgrim_cities` WHERE `pilgrim_cities`.`state_id` = 70
1638
+ Pilgrim::City Load (0.2ms) SELECT `pilgrim_cities`.* FROM `pilgrim_cities` WHERE `pilgrim_cities`.`state_id` = 70 LIMIT 1
1639
+ Pilgrim::Country Load (1.0ms) SELECT `pilgrim_countries`.* FROM `pilgrim_countries` ORDER BY id ASC
1640
+ Rendered pilgrim/tags/_dropdown_aux.html.erb (16.9ms)
1641
+ Rendered pilgrim/tags/_dropdown.html.erb (17.8ms)
1642
+ Pilgrim::State Load (0.4ms) SELECT `pilgrim_states`.* FROM `pilgrim_states` WHERE `pilgrim_states`.`country_id` = 1
1643
+ Rendered pilgrim/tags/_dropdown_aux.html.erb (1.5ms)
1644
+ Rendered pilgrim/tags/_dropdown.html.erb (2.1ms)
1645
+ Pilgrim::City Load (0.3ms) SELECT `pilgrim_cities`.* FROM `pilgrim_cities` WHERE `pilgrim_cities`.`state_id` = 70
1646
+ Rendered pilgrim/tags/_dropdown_aux.html.erb (2.0ms)
1647
+ Rendered pilgrim/tags/_dropdown.html.erb (2.4ms)
1648
+ Rendered pilgrim/tags/_container.html.erb (25.8ms)
1649
+ Rendered pilgrim/tags/_dropdown_aux.html.erb (5.8ms)
1650
+ Rendered pilgrim/tags/_dropdown.html.erb (6.3ms)
1651
+ Rendered pilgrim/tags/_dropdown_aux.html.erb (0.4ms)
1652
+ Rendered pilgrim/tags/_dropdown.html.erb (1.1ms)
1653
+ Rendered pilgrim/tags/_dropdown_aux.html.erb (0.5ms)
1654
+ Rendered pilgrim/tags/_dropdown.html.erb (1.0ms)
1655
+ Rendered pilgrim/tags/_container.html.erb (9.9ms)
1656
+ Rendered welcome/index.html.erb within layouts/application (43.6ms)
1657
+ Completed 200 OK in 274ms (Views: 96.8ms | ActiveRecord: 24.1ms)
1658
+
1659
+
1660
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-05-08 14:02:43 -0600
1661
+ Served asset /application.css - 200 OK (5ms)
1662
+
1663
+
1664
+ Started GET "/assets/welcome.css?body=1" for 127.0.0.1 at 2013-05-08 14:02:43 -0600
1665
+ Served asset /welcome.css - 200 OK (2ms)
1666
+
1667
+
1668
+ Started GET "/assets/pilgrim/application.js?body=1" for 127.0.0.1 at 2013-05-08 14:02:43 -0600
1669
+ Served asset /pilgrim/application.js - 200 OK (34ms)
1670
+
1671
+
1672
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-05-08 14:02:43 -0600
1673
+ Served asset /jquery_ujs.js - 200 OK (1ms)
1674
+
1675
+
1676
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-05-08 14:02:43 -0600
1677
+ Served asset /jquery.js - 200 OK (2ms)
1678
+
1679
+
1680
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-05-08 14:02:43 -0600
1681
+ Served asset /application.js - 200 OK (8ms)
1682
+
1683
+
1684
+ Started GET "/assets/welcome.js?body=1" for 127.0.0.1 at 2013-05-08 14:02:43 -0600
1685
+ Served asset /welcome.js - 200 OK (1ms)
1686
+
1687
+
1688
+ Started GET "/assets/pilgrim/tags.js?body=1" for 127.0.0.1 at 2013-05-08 14:02:43 -0600
1689
+ Served asset /pilgrim/tags.js - 200 OK (2ms)
1690
+
1691
+
1692
+ Started POST "/pilgrim/change_location" for 127.0.0.1 at 2013-05-08 14:02:48 -0600
1693
+ Processing by Pilgrim::TagsController#change_location as */*
1694
+ Parameters: {"value"=>"7", "kind"=>"country", "block"=>"main", "city_name"=>"city_id", "city_html_class"=>"", "form_name"=>"data", "state_name"=>"state_id", "state_html_class"=>"dropdown_location"}
1695
+ Pilgrim::Country Load (0.4ms) SELECT `pilgrim_countries`.* FROM `pilgrim_countries` WHERE `pilgrim_countries`.`id` = 7 LIMIT 1
1696
+ Pilgrim::State Load (0.3ms) SELECT `pilgrim_states`.* FROM `pilgrim_states` WHERE `pilgrim_states`.`country_id` = 7 LIMIT 1
1697
+ Pilgrim::State Load (0.4ms) SELECT `pilgrim_states`.* FROM `pilgrim_states` WHERE `pilgrim_states`.`country_id` = 7
1698
+ Rendered pilgrim/tags/_dropdown_aux.html.erb (7.1ms)
1699
+ Rendered pilgrim/tags/change_location.js.erb (8.6ms)
1700
+ Completed 500 Internal Server Error in 16ms
1701
+
1702
+ ActionView::Template::Error (can't convert Symbol into Integer):
1703
+ 1: <%= select form_name, name, options_for_select(data[:data].collect{ |c| [c.name, c.id] }, data[:selected]), {}, :data => {:kind => kind, :block => block, :formname => form_name, :name => name}, :class => html_class, :id => html_id %>
1704
+ app/views/pilgrim/tags/_dropdown_aux.html.erb:1:in `_app_views_pilgrim_tags__dropdown_aux_html_erb__3210127056634002918_70315750989660'
1705
+ app/views/pilgrim/tags/change_location.js.erb:2:in `_app_views_pilgrim_tags_change_location_js_erb___4240843816572402308_70315750867040'
1706
+
1707
+
1708
+ Rendered /usr/local/rvm/gems/ruby-1.9.3-p392@r3212/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.2ms)
1709
+ Rendered /usr/local/rvm/gems/ruby-1.9.3-p392@r3212/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.0ms)
1710
+ Rendered /usr/local/rvm/gems/ruby-1.9.3-p392@r3212/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (8.1ms)
1711
+ Connecting to database specified by database.yml
1712
+ Connecting to database specified by database.yml
1713
+ Connecting to database specified by database.yml
1714
+ Connecting to database specified by database.yml
1715
+
1716
+
1717
+ Started GET "/" for 127.0.0.1 at 2013-05-08 14:08:32 -0600
1718
+ Processing by WelcomeController#index as HTML
1719
+ Pilgrim::Country Load (0.3ms) SELECT `pilgrim_countries`.* FROM `pilgrim_countries` ORDER BY id ASC LIMIT 1
1720
+ Pilgrim::Country Load (0.4ms) SELECT `pilgrim_countries`.* FROM `pilgrim_countries` WHERE `pilgrim_countries`.`id` = 1 LIMIT 1
1721
+  (0.2ms) SELECT COUNT(*) FROM `pilgrim_states` WHERE `pilgrim_states`.`country_id` = 1
1722
+ Pilgrim::State Load (0.3ms) SELECT `pilgrim_states`.* FROM `pilgrim_states` WHERE `pilgrim_states`.`country_id` = 1 LIMIT 1
1723
+ Pilgrim::State Load (0.3ms) SELECT `pilgrim_states`.* FROM `pilgrim_states` WHERE `pilgrim_states`.`id` = 70 LIMIT 1
1724
+  (0.2ms) SELECT COUNT(*) FROM `pilgrim_cities` WHERE `pilgrim_cities`.`state_id` = 70
1725
+ Pilgrim::City Load (0.2ms) SELECT `pilgrim_cities`.* FROM `pilgrim_cities` WHERE `pilgrim_cities`.`state_id` = 70 LIMIT 1
1726
+ Pilgrim::Country Load (0.7ms) SELECT `pilgrim_countries`.* FROM `pilgrim_countries` ORDER BY id ASC
1727
+ Rendered pilgrim/tags/_dropdown_aux.html.erb (17.8ms)
1728
+ Rendered pilgrim/tags/_dropdown.html.erb (18.8ms)
1729
+ Pilgrim::State Load (0.4ms) SELECT `pilgrim_states`.* FROM `pilgrim_states` WHERE `pilgrim_states`.`country_id` = 1
1730
+ Rendered pilgrim/tags/_dropdown_aux.html.erb (1.7ms)
1731
+ Rendered pilgrim/tags/_dropdown.html.erb (2.3ms)
1732
+ Pilgrim::City Load (0.4ms) SELECT `pilgrim_cities`.* FROM `pilgrim_cities` WHERE `pilgrim_cities`.`state_id` = 70
1733
+ Rendered pilgrim/tags/_dropdown_aux.html.erb (2.7ms)
1734
+ Rendered pilgrim/tags/_dropdown.html.erb (3.4ms)
1735
+ Rendered pilgrim/tags/_container.html.erb (28.2ms)
1736
+ Rendered pilgrim/tags/_dropdown_aux.html.erb (5.1ms)
1737
+ Rendered pilgrim/tags/_dropdown.html.erb (5.6ms)
1738
+ Rendered pilgrim/tags/_dropdown_aux.html.erb (0.2ms)
1739
+ Rendered pilgrim/tags/_dropdown.html.erb (0.7ms)
1740
+ Rendered pilgrim/tags/_dropdown_aux.html.erb (0.6ms)
1741
+ Rendered pilgrim/tags/_dropdown.html.erb (1.2ms)
1742
+ Rendered pilgrim/tags/_container.html.erb (9.1ms)
1743
+ Rendered welcome/index.html.erb within layouts/application (43.8ms)
1744
+ Completed 200 OK in 214ms (Views: 96.2ms | ActiveRecord: 10.1ms)
1745
+
1746
+
1747
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-05-08 14:08:33 -0600
1748
+ Served asset /application.css - 304 Not Modified (2ms)
1749
+
1750
+
1751
+ Started GET "/assets/welcome.css?body=1" for 127.0.0.1 at 2013-05-08 14:08:33 -0600
1752
+ Served asset /welcome.css - 304 Not Modified (4ms)
1753
+
1754
+
1755
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-05-08 14:08:33 -0600
1756
+ Served asset /jquery_ujs.js - 304 Not Modified (3ms)
1757
+
1758
+
1759
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-05-08 14:08:33 -0600
1760
+ Served asset /jquery.js - 304 Not Modified (32ms)
1761
+
1762
+
1763
+ Started GET "/assets/pilgrim/application.js?body=1" for 127.0.0.1 at 2013-05-08 14:08:33 -0600
1764
+ Served asset /pilgrim/application.js - 304 Not Modified (8ms)
1765
+
1766
+
1767
+ Started GET "/assets/welcome.js?body=1" for 127.0.0.1 at 2013-05-08 14:08:33 -0600
1768
+ Served asset /welcome.js - 304 Not Modified (2ms)
1769
+
1770
+
1771
+ Started GET "/assets/pilgrim/tags.js?body=1" for 127.0.0.1 at 2013-05-08 14:08:33 -0600
1772
+ Served asset /pilgrim/tags.js - 304 Not Modified (2ms)
1773
+
1774
+
1775
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-05-08 14:08:33 -0600
1776
+ Served asset /application.js - 304 Not Modified (6ms)
1777
+
1778
+
1779
+ Started POST "/pilgrim/change_location" for 127.0.0.1 at 2013-05-08 14:08:35 -0600
1780
+ Processing by Pilgrim::TagsController#change_location as */*
1781
+ Parameters: {"value"=>"4", "kind"=>"country", "block"=>"main", "city_name"=>"city_id", "city_html_class"=>"", "form_name"=>"data", "state_name"=>"state_id", "state_html_class"=>"dropdown_location"}
1782
+ Pilgrim::Country Load (0.5ms) SELECT `pilgrim_countries`.* FROM `pilgrim_countries` WHERE `pilgrim_countries`.`id` = 4 LIMIT 1
1783
+ Pilgrim::State Load (0.3ms) SELECT `pilgrim_states`.* FROM `pilgrim_states` WHERE `pilgrim_states`.`country_id` = 4 LIMIT 1
1784
+ Pilgrim::State Load (0.4ms) SELECT `pilgrim_states`.* FROM `pilgrim_states` WHERE `pilgrim_states`.`country_id` = 4
1785
+ Rendered pilgrim/tags/_dropdown_aux.html.erb (6.5ms)
1786
+ Rendered pilgrim/tags/change_location.js.erb (7.9ms)
1787
+ Completed 500 Internal Server Error in 16ms
1788
+
1789
+ ActionView::Template::Error (can't convert Symbol into Integer):
1790
+ 1: <%= select form_name, name, options_for_select(data[:data].collect{ |c| [c.name, c.id] }, data[:selected].to_i), {}, :data => {:kind => kind, :block => block, :formname => form_name, :name => name}, :class => html_class, :id => html_id %>
1791
+ app/views/pilgrim/tags/_dropdown_aux.html.erb:1:in `_app_views_pilgrim_tags__dropdown_aux_html_erb__632248241483651360_70098197450260'
1792
+ app/views/pilgrim/tags/change_location.js.erb:2:in `_app_views_pilgrim_tags_change_location_js_erb__1680338600362801472_70098190027040'
1793
+
1794
+
1795
+ Rendered /usr/local/rvm/gems/ruby-1.9.3-p392@r3212/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.3ms)
1796
+ Rendered /usr/local/rvm/gems/ruby-1.9.3-p392@r3212/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.9ms)
1797
+ Rendered /usr/local/rvm/gems/ruby-1.9.3-p392@r3212/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (7.0ms)
1798
+
1799
+
1800
+ Started GET "/" for 127.0.0.1 at 2013-05-08 14:09:14 -0600
1801
+ Processing by WelcomeController#index as HTML
1802
+ Pilgrim::Country Load (0.3ms) SELECT `pilgrim_countries`.* FROM `pilgrim_countries` ORDER BY id ASC LIMIT 1
1803
+ Pilgrim::Country Load (0.2ms) SELECT `pilgrim_countries`.* FROM `pilgrim_countries` WHERE `pilgrim_countries`.`id` = 1 LIMIT 1
1804
+  (0.2ms) SELECT COUNT(*) FROM `pilgrim_states` WHERE `pilgrim_states`.`country_id` = 1
1805
+ Pilgrim::State Load (0.2ms) SELECT `pilgrim_states`.* FROM `pilgrim_states` WHERE `pilgrim_states`.`country_id` = 1 LIMIT 1
1806
+ Pilgrim::State Load (0.2ms) SELECT `pilgrim_states`.* FROM `pilgrim_states` WHERE `pilgrim_states`.`id` = 70 LIMIT 1
1807
+  (0.2ms) SELECT COUNT(*) FROM `pilgrim_cities` WHERE `pilgrim_cities`.`state_id` = 70
1808
+ Pilgrim::City Load (0.2ms) SELECT `pilgrim_cities`.* FROM `pilgrim_cities` WHERE `pilgrim_cities`.`state_id` = 70 LIMIT 1
1809
+ Pilgrim::Country Load (0.9ms) SELECT `pilgrim_countries`.* FROM `pilgrim_countries` ORDER BY id ASC
1810
+ Rendered pilgrim/tags/_dropdown_aux.html.erb (16.3ms)
1811
+ Rendered pilgrim/tags/_dropdown.html.erb (17.0ms)
1812
+ Pilgrim::State Load (0.3ms) SELECT `pilgrim_states`.* FROM `pilgrim_states` WHERE `pilgrim_states`.`country_id` = 1
1813
+ Rendered pilgrim/tags/_dropdown_aux.html.erb (1.4ms)
1814
+ Rendered pilgrim/tags/_dropdown.html.erb (1.8ms)
1815
+ Pilgrim::City Load (0.3ms) SELECT `pilgrim_cities`.* FROM `pilgrim_cities` WHERE `pilgrim_cities`.`state_id` = 70
1816
+ Rendered pilgrim/tags/_dropdown_aux.html.erb (33.1ms)
1817
+ Rendered pilgrim/tags/_dropdown.html.erb (33.8ms)
1818
+ Rendered pilgrim/tags/_container.html.erb (55.1ms)
1819
+ Rendered pilgrim/tags/_dropdown_aux.html.erb (5.3ms)
1820
+ Rendered pilgrim/tags/_dropdown.html.erb (5.9ms)
1821
+ Rendered pilgrim/tags/_dropdown_aux.html.erb (0.2ms)
1822
+ Rendered pilgrim/tags/_dropdown.html.erb (0.6ms)
1823
+ Rendered pilgrim/tags/_dropdown_aux.html.erb (0.6ms)
1824
+ Rendered pilgrim/tags/_dropdown.html.erb (1.0ms)
1825
+ Rendered pilgrim/tags/_container.html.erb (9.1ms)
1826
+ Rendered welcome/index.html.erb within layouts/application (66.3ms)
1827
+ Completed 200 OK in 76ms (Views: 68.6ms | ActiveRecord: 3.0ms)
1828
+
1829
+
1830
+ Started GET "/assets/welcome.css?body=1" for 127.0.0.1 at 2013-05-08 14:09:14 -0600
1831
+ Served asset /welcome.css - 304 Not Modified (0ms)
1832
+
1833
+
1834
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-05-08 14:09:14 -0600
1835
+ Served asset /application.css - 304 Not Modified (0ms)
1836
+
1837
+
1838
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-05-08 14:09:14 -0600
1839
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
1840
+
1841
+
1842
+ Started GET "/assets/pilgrim/application.js?body=1" for 127.0.0.1 at 2013-05-08 14:09:14 -0600
1843
+ Served asset /pilgrim/application.js - 304 Not Modified (0ms)
1844
+
1845
+
1846
+ Started GET "/assets/pilgrim/tags.js?body=1" for 127.0.0.1 at 2013-05-08 14:09:14 -0600
1847
+ Served asset /pilgrim/tags.js - 304 Not Modified (0ms)
1848
+
1849
+
1850
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-05-08 14:09:14 -0600
1851
+ Served asset /jquery.js - 304 Not Modified (0ms)
1852
+
1853
+
1854
+ Started GET "/assets/welcome.js?body=1" for 127.0.0.1 at 2013-05-08 14:09:14 -0600
1855
+ Served asset /welcome.js - 304 Not Modified (0ms)
1856
+
1857
+
1858
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-05-08 14:09:14 -0600
1859
+ Served asset /application.js - 304 Not Modified (0ms)
1860
+
1861
+
1862
+ Started POST "/pilgrim/change_location" for 127.0.0.1 at 2013-05-08 14:09:15 -0600
1863
+ Processing by Pilgrim::TagsController#change_location as */*
1864
+ Parameters: {"value"=>"5", "kind"=>"country", "block"=>"main", "city_name"=>"city_id", "city_html_class"=>"", "form_name"=>"data", "state_name"=>"state_id", "state_html_class"=>"dropdown_location"}
1865
+ Pilgrim::Country Load (0.3ms) SELECT `pilgrim_countries`.* FROM `pilgrim_countries` WHERE `pilgrim_countries`.`id` = 5 LIMIT 1
1866
+ Pilgrim::State Load (0.4ms) SELECT `pilgrim_states`.* FROM `pilgrim_states` WHERE `pilgrim_states`.`country_id` = 5 LIMIT 1
1867
+ Pilgrim::State Load (0.4ms) SELECT `pilgrim_states`.* FROM `pilgrim_states` WHERE `pilgrim_states`.`country_id` = 5
1868
+ Rendered pilgrim/tags/_dropdown_aux.html.erb (2.5ms)
1869
+ Rendered pilgrim/tags/change_location.js.erb (3.2ms)
1870
+ Completed 500 Internal Server Error in 10ms
1871
+
1872
+ ActionView::Template::Error (can't convert Symbol into Integer):
1873
+ 1: <%= select form_name, name, options_for_select(data[:data].collect{ |c| [c.name, c.id] }), {}, :data => {:kind => kind, :block => block, :formname => form_name, :name => name}, :class => html_class, :id => html_id %>
1874
+ app/views/pilgrim/tags/_dropdown_aux.html.erb:1:in `_app_views_pilgrim_tags__dropdown_aux_html_erb__632248241483651360_70098196435100'
1875
+ app/views/pilgrim/tags/change_location.js.erb:2:in `_app_views_pilgrim_tags_change_location_js_erb__1680338600362801472_70098190027040'
1876
+
1877
+
1878
+ Rendered /usr/local/rvm/gems/ruby-1.9.3-p392@r3212/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.1ms)
1879
+ Rendered /usr/local/rvm/gems/ruby-1.9.3-p392@r3212/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.9ms)
1880
+ Rendered /usr/local/rvm/gems/ruby-1.9.3-p392@r3212/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (6.5ms)
1881
+
1882
+
1883
+ Started GET "/" for 127.0.0.1 at 2013-05-08 14:09:22 -0600
1884
+ Processing by WelcomeController#index as HTML
1885
+ Pilgrim::Country Load (0.3ms) SELECT `pilgrim_countries`.* FROM `pilgrim_countries` ORDER BY id ASC LIMIT 1
1886
+ Pilgrim::Country Load (0.2ms) SELECT `pilgrim_countries`.* FROM `pilgrim_countries` WHERE `pilgrim_countries`.`id` = 1 LIMIT 1
1887
+  (0.2ms) SELECT COUNT(*) FROM `pilgrim_states` WHERE `pilgrim_states`.`country_id` = 1
1888
+ Pilgrim::State Load (0.1ms) SELECT `pilgrim_states`.* FROM `pilgrim_states` WHERE `pilgrim_states`.`country_id` = 1 LIMIT 1
1889
+ Pilgrim::State Load (0.2ms) SELECT `pilgrim_states`.* FROM `pilgrim_states` WHERE `pilgrim_states`.`id` = 70 LIMIT 1
1890
+  (0.2ms) SELECT COUNT(*) FROM `pilgrim_cities` WHERE `pilgrim_cities`.`state_id` = 70
1891
+ Pilgrim::City Load (0.3ms) SELECT `pilgrim_cities`.* FROM `pilgrim_cities` WHERE `pilgrim_cities`.`state_id` = 70 LIMIT 1
1892
+ Pilgrim::Country Load (0.7ms) SELECT `pilgrim_countries`.* FROM `pilgrim_countries` ORDER BY id ASC
1893
+ Rendered pilgrim/tags/_dropdown_aux.html.erb (17.3ms)
1894
+ Rendered pilgrim/tags/_dropdown.html.erb (17.9ms)
1895
+ Pilgrim::State Load (0.5ms) SELECT `pilgrim_states`.* FROM `pilgrim_states` WHERE `pilgrim_states`.`country_id` = 1
1896
+ Rendered pilgrim/tags/_dropdown_aux.html.erb (1.7ms)
1897
+ Rendered pilgrim/tags/_dropdown.html.erb (2.2ms)
1898
+ Pilgrim::City Load (0.4ms) SELECT `pilgrim_cities`.* FROM `pilgrim_cities` WHERE `pilgrim_cities`.`state_id` = 70
1899
+ Rendered pilgrim/tags/_dropdown_aux.html.erb (2.0ms)
1900
+ Rendered pilgrim/tags/_dropdown.html.erb (2.4ms)
1901
+ Rendered pilgrim/tags/_container.html.erb (25.1ms)
1902
+ Rendered pilgrim/tags/_dropdown_aux.html.erb (4.7ms)
1903
+ Rendered pilgrim/tags/_dropdown.html.erb (5.1ms)
1904
+ Rendered pilgrim/tags/_dropdown_aux.html.erb (0.2ms)
1905
+ Rendered pilgrim/tags/_dropdown.html.erb (0.6ms)
1906
+ Rendered pilgrim/tags/_dropdown_aux.html.erb (0.6ms)
1907
+ Rendered pilgrim/tags/_dropdown.html.erb (1.0ms)
1908
+ Rendered pilgrim/tags/_container.html.erb (8.0ms)
1909
+ Rendered welcome/index.html.erb within layouts/application (34.8ms)
1910
+ Completed 200 OK in 45ms (Views: 37.1ms | ActiveRecord: 2.9ms)
1911
+
1912
+
1913
+ Started GET "/assets/welcome.css?body=1" for 127.0.0.1 at 2013-05-08 14:09:22 -0600
1914
+ Served asset /welcome.css - 304 Not Modified (0ms)
1915
+
1916
+
1917
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-05-08 14:09:22 -0600
1918
+ Served asset /application.css - 304 Not Modified (0ms)
1919
+
1920
+
1921
+ Started GET "/assets/pilgrim/application.js?body=1" for 127.0.0.1 at 2013-05-08 14:09:22 -0600
1922
+ Served asset /pilgrim/application.js - 304 Not Modified (0ms)
1923
+
1924
+
1925
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-05-08 14:09:22 -0600
1926
+ Served asset /jquery.js - 304 Not Modified (0ms)
1927
+
1928
+
1929
+ Started GET "/assets/pilgrim/tags.js?body=1" for 127.0.0.1 at 2013-05-08 14:09:22 -0600
1930
+ Served asset /pilgrim/tags.js - 304 Not Modified (0ms)
1931
+
1932
+
1933
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-05-08 14:09:22 -0600
1934
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
1935
+
1936
+
1937
+ Started GET "/assets/welcome.js?body=1" for 127.0.0.1 at 2013-05-08 14:09:22 -0600
1938
+ Served asset /welcome.js - 304 Not Modified (0ms)
1939
+
1940
+
1941
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-05-08 14:09:22 -0600
1942
+ Served asset /application.js - 304 Not Modified (0ms)
1943
+
1944
+
1945
+ Started POST "/pilgrim/change_location" for 127.0.0.1 at 2013-05-08 14:09:24 -0600
1946
+ Processing by Pilgrim::TagsController#change_location as */*
1947
+ Parameters: {"value"=>"9", "kind"=>"country", "block"=>"main", "city_name"=>"city_id", "city_html_class"=>"", "form_name"=>"data", "state_name"=>"state_id", "state_html_class"=>"dropdown_location"}
1948
+ Pilgrim::Country Load (0.3ms) SELECT `pilgrim_countries`.* FROM `pilgrim_countries` WHERE `pilgrim_countries`.`id` = 9 LIMIT 1
1949
+ Pilgrim::State Load (0.3ms) SELECT `pilgrim_states`.* FROM `pilgrim_states` WHERE `pilgrim_states`.`country_id` = 9 LIMIT 1
1950
+ Pilgrim::State Load (0.4ms) SELECT `pilgrim_states`.* FROM `pilgrim_states` WHERE `pilgrim_states`.`country_id` = 9
1951
+ Rendered pilgrim/tags/_dropdown_aux.html.erb (3.4ms)
1952
+ Rendered pilgrim/tags/change_location.js.erb (4.1ms)
1953
+ Completed 500 Internal Server Error in 10ms
1954
+
1955
+ ActionView::Template::Error (can't convert Symbol into Integer):
1956
+ 1: <%= select form_name, name, options_for_select(data[:data].collect{ |c| [c.name, c.id] }, data[:selected].to_i), {}, :data => {:kind => kind, :block => block, :formname => form_name, :name => name}, :class => html_class, :id => html_id %>
1957
+ app/views/pilgrim/tags/_dropdown_aux.html.erb:1:in `_app_views_pilgrim_tags__dropdown_aux_html_erb__632248241483651360_70098198377520'
1958
+ app/views/pilgrim/tags/change_location.js.erb:2:in `_app_views_pilgrim_tags_change_location_js_erb__1680338600362801472_70098190027040'
1959
+
1960
+
1961
+ Rendered /usr/local/rvm/gems/ruby-1.9.3-p392@r3212/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.2ms)
1962
+ Rendered /usr/local/rvm/gems/ruby-1.9.3-p392@r3212/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.5ms)
1963
+ Rendered /usr/local/rvm/gems/ruby-1.9.3-p392@r3212/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (7.9ms)
1964
+ Connecting to database specified by database.yml
1965
+
1966
+
1967
+ Started GET "/" for 127.0.0.1 at 2013-05-08 14:12:19 -0600
1968
+ Processing by WelcomeController#index as HTML
1969
+ Pilgrim::Country Load (0.4ms) SELECT `pilgrim_countries`.* FROM `pilgrim_countries` ORDER BY id ASC LIMIT 1
1970
+ Pilgrim::Country Load (0.4ms) SELECT `pilgrim_countries`.* FROM `pilgrim_countries` WHERE `pilgrim_countries`.`id` = 1 LIMIT 1
1971
+  (0.2ms) SELECT COUNT(*) FROM `pilgrim_states` WHERE `pilgrim_states`.`country_id` = 1
1972
+ Pilgrim::State Load (0.2ms) SELECT `pilgrim_states`.* FROM `pilgrim_states` WHERE `pilgrim_states`.`country_id` = 1 LIMIT 1
1973
+ Pilgrim::State Load (0.3ms) SELECT `pilgrim_states`.* FROM `pilgrim_states` WHERE `pilgrim_states`.`id` = 70 LIMIT 1
1974
+  (0.3ms) SELECT COUNT(*) FROM `pilgrim_cities` WHERE `pilgrim_cities`.`state_id` = 70
1975
+ Pilgrim::City Load (0.3ms) SELECT `pilgrim_cities`.* FROM `pilgrim_cities` WHERE `pilgrim_cities`.`state_id` = 70 LIMIT 1
1976
+ Pilgrim::Country Load (0.8ms) SELECT `pilgrim_countries`.* FROM `pilgrim_countries` ORDER BY id ASC
1977
+ Rendered pilgrim/tags/_dropdown_aux.html.erb (16.5ms)
1978
+ Rendered pilgrim/tags/_dropdown.html.erb (18.0ms)
1979
+ Pilgrim::State Load (0.5ms) SELECT `pilgrim_states`.* FROM `pilgrim_states` WHERE `pilgrim_states`.`country_id` = 1
1980
+ Rendered pilgrim/tags/_dropdown_aux.html.erb (1.5ms)
1981
+ Rendered pilgrim/tags/_dropdown.html.erb (2.0ms)
1982
+ Pilgrim::City Load (77.2ms) SELECT `pilgrim_cities`.* FROM `pilgrim_cities` WHERE `pilgrim_cities`.`state_id` = 70
1983
+ Rendered pilgrim/tags/_dropdown_aux.html.erb (79.3ms)
1984
+ Rendered pilgrim/tags/_dropdown.html.erb (79.9ms)
1985
+ Rendered pilgrim/tags/_container.html.erb (103.5ms)
1986
+ Rendered pilgrim/tags/_dropdown_aux.html.erb (4.9ms)
1987
+ Rendered pilgrim/tags/_dropdown.html.erb (5.4ms)
1988
+ Rendered pilgrim/tags/_dropdown_aux.html.erb (0.2ms)
1989
+ Rendered pilgrim/tags/_dropdown.html.erb (0.6ms)
1990
+ Rendered pilgrim/tags/_dropdown_aux.html.erb (0.6ms)
1991
+ Rendered pilgrim/tags/_dropdown.html.erb (1.2ms)
1992
+ Rendered pilgrim/tags/_container.html.erb (8.6ms)
1993
+ Rendered welcome/index.html.erb within layouts/application (119.2ms)
1994
+ Completed 200 OK in 290ms (Views: 91.7ms | ActiveRecord: 90.6ms)
1995
+
1996
+
1997
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-05-08 14:12:19 -0600
1998
+ Served asset /application.css - 304 Not Modified (3ms)
1999
+
2000
+
2001
+ Started GET "/assets/welcome.css?body=1" for 127.0.0.1 at 2013-05-08 14:12:19 -0600
2002
+ Served asset /welcome.css - 304 Not Modified (1ms)
2003
+
2004
+
2005
+ Started GET "/assets/pilgrim/tags.js?body=1" for 127.0.0.1 at 2013-05-08 14:12:19 -0600
2006
+ Served asset /pilgrim/tags.js - 304 Not Modified (2ms)
2007
+
2008
+
2009
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-05-08 14:12:19 -0600
2010
+ Served asset /jquery.js - 304 Not Modified (34ms)
2011
+
2012
+
2013
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-05-08 14:12:19 -0600
2014
+ Served asset /jquery_ujs.js - 304 Not Modified (3ms)
2015
+
2016
+
2017
+ Started GET "/assets/pilgrim/application.js?body=1" for 127.0.0.1 at 2013-05-08 14:12:19 -0600
2018
+ Served asset /pilgrim/application.js - 304 Not Modified (7ms)
2019
+
2020
+
2021
+ Started GET "/assets/welcome.js?body=1" for 127.0.0.1 at 2013-05-08 14:12:19 -0600
2022
+ Served asset /welcome.js - 304 Not Modified (1ms)
2023
+
2024
+
2025
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-05-08 14:12:19 -0600
2026
+ Served asset /application.js - 304 Not Modified (9ms)
2027
+
2028
+
2029
+ Started POST "/pilgrim/change_location" for 127.0.0.1 at 2013-05-08 14:12:21 -0600
2030
+ Processing by Pilgrim::TagsController#change_location as */*
2031
+ Parameters: {"value"=>"5", "kind"=>"country", "block"=>"main", "city_name"=>"city_id", "city_html_class"=>"", "form_name"=>"data", "state_name"=>"state_id", "state_html_class"=>"dropdown_location"}
2032
+ Pilgrim::Country Load (0.4ms) SELECT `pilgrim_countries`.* FROM `pilgrim_countries` WHERE `pilgrim_countries`.`id` = 5 LIMIT 1
2033
+ Pilgrim::State Load (0.3ms) SELECT `pilgrim_states`.* FROM `pilgrim_states` WHERE `pilgrim_states`.`country_id` = 5 LIMIT 1
2034
+ Pilgrim::State Load (0.5ms) SELECT `pilgrim_states`.* FROM `pilgrim_states` WHERE `pilgrim_states`.`country_id` = 5
2035
+ Rendered pilgrim/tags/_dropdown_aux.html.erb (5.8ms)
2036
+ Rendered pilgrim/tags/change_location.js.erb (7.2ms)
2037
+ Completed 500 Internal Server Error in 14ms
2038
+
2039
+ ActionView::Template::Error (can't convert Symbol into Integer):
2040
+ 1: <%= select form_name, name, options_for_select(data[:data].collect{ |c| [c.name, c.id] }, data[:selected]), {}, :data => {:kind => kind, :block => block, :formname => form_name, :name => name}, :class => html_class, :id => html_id %>
2041
+ app/views/pilgrim/tags/_dropdown_aux.html.erb:1:in `_app_views_pilgrim_tags__dropdown_aux_html_erb__4563313603535278935_70260588080220'
2042
+ app/views/pilgrim/tags/change_location.js.erb:2:in `_app_views_pilgrim_tags_change_location_js_erb__4376032364103586630_70260604246580'
2043
+
2044
+
2045
+ Rendered /usr/local/rvm/gems/ruby-1.9.3-p392@r3212/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.1ms)
2046
+ Rendered /usr/local/rvm/gems/ruby-1.9.3-p392@r3212/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.7ms)
2047
+ Rendered /usr/local/rvm/gems/ruby-1.9.3-p392@r3212/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (8.4ms)
2048
+ Connecting to database specified by database.yml
2049
+
2050
+
2051
+ Started GET "/" for 127.0.0.1 at 2013-05-08 14:20:19 -0600
2052
+ Processing by WelcomeController#index as HTML
2053
+ Pilgrim::Country Load (0.3ms) SELECT `pilgrim_countries`.* FROM `pilgrim_countries` ORDER BY id ASC LIMIT 1
2054
+ Pilgrim::Country Load (0.4ms) SELECT `pilgrim_countries`.* FROM `pilgrim_countries` WHERE `pilgrim_countries`.`id` = 1 LIMIT 1
2055
+  (0.3ms) SELECT COUNT(*) FROM `pilgrim_states` WHERE `pilgrim_states`.`country_id` = 1
2056
+ Pilgrim::State Load (0.2ms) SELECT `pilgrim_states`.* FROM `pilgrim_states` WHERE `pilgrim_states`.`country_id` = 1 LIMIT 1
2057
+ Pilgrim::State Load (0.3ms) SELECT `pilgrim_states`.* FROM `pilgrim_states` WHERE `pilgrim_states`.`id` = 70 LIMIT 1
2058
+  (0.2ms) SELECT COUNT(*) FROM `pilgrim_cities` WHERE `pilgrim_cities`.`state_id` = 70
2059
+ Pilgrim::City Load (0.2ms) SELECT `pilgrim_cities`.* FROM `pilgrim_cities` WHERE `pilgrim_cities`.`state_id` = 70 LIMIT 1
2060
+ Pilgrim::Country Load (0.9ms) SELECT `pilgrim_countries`.* FROM `pilgrim_countries` ORDER BY id ASC
2061
+ Rendered pilgrim/tags/_dropdown_aux.html.erb (17.8ms)
2062
+ Rendered pilgrim/tags/_dropdown.html.erb (18.9ms)
2063
+ Pilgrim::State Load (0.3ms) SELECT `pilgrim_states`.* FROM `pilgrim_states` WHERE `pilgrim_states`.`country_id` = 1
2064
+ Rendered pilgrim/tags/_dropdown_aux.html.erb (1.3ms)
2065
+ Rendered pilgrim/tags/_dropdown.html.erb (1.8ms)
2066
+ Pilgrim::City Load (0.4ms) SELECT `pilgrim_cities`.* FROM `pilgrim_cities` WHERE `pilgrim_cities`.`state_id` = 70
2067
+ Rendered pilgrim/tags/_dropdown_aux.html.erb (2.1ms)
2068
+ Rendered pilgrim/tags/_dropdown.html.erb (2.6ms)
2069
+ Rendered pilgrim/tags/_container.html.erb (26.0ms)
2070
+ Rendered pilgrim/tags/_dropdown_aux.html.erb (4.7ms)
2071
+ Rendered pilgrim/tags/_dropdown.html.erb (5.2ms)
2072
+ Rendered pilgrim/tags/_dropdown_aux.html.erb (0.2ms)
2073
+ Rendered pilgrim/tags/_dropdown.html.erb (0.6ms)
2074
+ Rendered pilgrim/tags/_dropdown_aux.html.erb (0.5ms)
2075
+ Rendered pilgrim/tags/_dropdown.html.erb (0.9ms)
2076
+ Rendered pilgrim/tags/_container.html.erb (8.0ms)
2077
+ Rendered welcome/index.html.erb within layouts/application (40.7ms)
2078
+ Completed 200 OK in 204ms (Views: 89.0ms | ActiveRecord: 10.0ms)
2079
+
2080
+
2081
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-05-08 14:20:19 -0600
2082
+ Served asset /application.css - 304 Not Modified (9ms)
2083
+
2084
+
2085
+ Started GET "/assets/welcome.css?body=1" for 127.0.0.1 at 2013-05-08 14:20:19 -0600
2086
+ Served asset /welcome.css - 304 Not Modified (1ms)
2087
+
2088
+
2089
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-05-08 14:20:19 -0600
2090
+ Served asset /jquery_ujs.js - 304 Not Modified (3ms)
2091
+
2092
+
2093
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-05-08 14:20:19 -0600
2094
+ Served asset /jquery.js - 304 Not Modified (33ms)
2095
+
2096
+
2097
+ Started GET "/assets/pilgrim/tags.js?body=1" for 127.0.0.1 at 2013-05-08 14:20:19 -0600
2098
+ Served asset /pilgrim/tags.js - 304 Not Modified (2ms)
2099
+
2100
+
2101
+ Started GET "/assets/pilgrim/application.js?body=1" for 127.0.0.1 at 2013-05-08 14:20:19 -0600
2102
+ Served asset /pilgrim/application.js - 304 Not Modified (7ms)
2103
+
2104
+
2105
+ Started GET "/assets/welcome.js?body=1" for 127.0.0.1 at 2013-05-08 14:20:19 -0600
2106
+ Served asset /welcome.js - 304 Not Modified (1ms)
2107
+
2108
+
2109
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-05-08 14:20:19 -0600
2110
+ Served asset /application.js - 304 Not Modified (6ms)
2111
+
2112
+
2113
+ Started POST "/pilgrim/change_location" for 127.0.0.1 at 2013-05-08 14:20:21 -0600
2114
+ Processing by Pilgrim::TagsController#change_location as */*
2115
+ Parameters: {"value"=>"6", "kind"=>"country", "block"=>"main", "city_name"=>"city_id", "city_html_class"=>"", "form_name"=>"data", "state_name"=>"state_id", "state_html_class"=>"dropdown_location"}
2116
+ Pilgrim::Country Load (0.4ms) SELECT `pilgrim_countries`.* FROM `pilgrim_countries` WHERE `pilgrim_countries`.`id` = 6 LIMIT 1
2117
+ Pilgrim::State Load (0.5ms) SELECT `pilgrim_states`.* FROM `pilgrim_states` WHERE `pilgrim_states`.`country_id` = 6
2118
+ Rendered pilgrim/tags/_dropdown_aux.html.erb (2.6ms)
2119
+ Rendered pilgrim/tags/_dropdown_aux.html.erb (0.1ms)
2120
+ Rendered pilgrim/tags/change_location.js.erb (4.9ms)
2121
+ Completed 200 OK in 11ms (Views: 8.5ms | ActiveRecord: 0.9ms)
2122
+
2123
+
2124
+ Started POST "/pilgrim/change_location" for 127.0.0.1 at 2013-05-08 14:20:24 -0600
2125
+ Processing by Pilgrim::TagsController#change_location as */*
2126
+ Parameters: {"value"=>"193", "kind"=>"country", "block"=>"main", "city_name"=>"city_id", "city_html_class"=>"", "form_name"=>"data", "state_name"=>"state_id", "state_html_class"=>"dropdown_location"}
2127
+ Pilgrim::Country Load (0.4ms) SELECT `pilgrim_countries`.* FROM `pilgrim_countries` WHERE `pilgrim_countries`.`id` = 193 LIMIT 1
2128
+ Pilgrim::State Load (0.4ms) SELECT `pilgrim_states`.* FROM `pilgrim_states` WHERE `pilgrim_states`.`country_id` = 193
2129
+ Rendered pilgrim/tags/_dropdown_aux.html.erb (1.6ms)
2130
+ Rendered pilgrim/tags/_dropdown_aux.html.erb (0.1ms)
2131
+ Rendered pilgrim/tags/change_location.js.erb (3.0ms)
2132
+ Completed 200 OK in 8ms (Views: 5.5ms | ActiveRecord: 0.8ms)
2133
+
2134
+
2135
+ Started POST "/pilgrim/change_location" for 127.0.0.1 at 2013-05-08 14:20:28 -0600
2136
+ Processing by Pilgrim::TagsController#change_location as */*
2137
+ Parameters: {"value"=>"913", "kind"=>"state", "block"=>"main", "city_name"=>"city_id", "city_html_class"=>"", "form_name"=>"data"}
2138
+ Pilgrim::State Load (0.4ms) SELECT `pilgrim_states`.* FROM `pilgrim_states` WHERE `pilgrim_states`.`id` = 913 LIMIT 1
2139
+ Pilgrim::City Load (11.2ms) SELECT `pilgrim_cities`.* FROM `pilgrim_cities` WHERE `pilgrim_cities`.`state_id` = 913
2140
+ Rendered pilgrim/tags/_dropdown_aux.html.erb (12.4ms)
2141
+ Rendered pilgrim/tags/change_location.js.erb (13.1ms)
2142
+ Completed 200 OK in 17ms (Views: 4.9ms | ActiveRecord: 11.5ms)
2143
+
2144
+
2145
+ Started POST "/pilgrim/change_location" for 127.0.0.1 at 2013-05-08 14:20:31 -0600
2146
+ Processing by Pilgrim::TagsController#change_location as */*
2147
+ Parameters: {"value"=>"912", "kind"=>"state", "block"=>"main", "city_name"=>"city_id", "city_html_class"=>"", "form_name"=>"data"}
2148
+ Pilgrim::State Load (0.4ms) SELECT `pilgrim_states`.* FROM `pilgrim_states` WHERE `pilgrim_states`.`id` = 912 LIMIT 1
2149
+ Pilgrim::City Load (0.5ms) SELECT `pilgrim_cities`.* FROM `pilgrim_cities` WHERE `pilgrim_cities`.`state_id` = 912
2150
+ Rendered pilgrim/tags/_dropdown_aux.html.erb (2.4ms)
2151
+ Rendered pilgrim/tags/change_location.js.erb (3.2ms)
2152
+ Completed 200 OK in 8ms (Views: 5.8ms | ActiveRecord: 0.9ms)
2153
+
2154
+
2155
+ Started GET "/" for 127.0.0.1 at 2013-05-08 14:21:03 -0600
2156
+ Processing by WelcomeController#index as HTML
2157
+ Pilgrim::Country Load (0.2ms) SELECT `pilgrim_countries`.* FROM `pilgrim_countries` ORDER BY id ASC LIMIT 1
2158
+ Pilgrim::Country Load (0.5ms) SELECT `pilgrim_countries`.* FROM `pilgrim_countries` WHERE `pilgrim_countries`.`id` = 1 LIMIT 1
2159
+  (0.3ms) SELECT COUNT(*) FROM `pilgrim_states` WHERE `pilgrim_states`.`country_id` = 1
2160
+ Pilgrim::State Load (0.2ms) SELECT `pilgrim_states`.* FROM `pilgrim_states` WHERE `pilgrim_states`.`country_id` = 1 LIMIT 1
2161
+ Pilgrim::State Load (0.5ms) SELECT `pilgrim_states`.* FROM `pilgrim_states` WHERE `pilgrim_states`.`id` = 70 LIMIT 1
2162
+  (0.2ms) SELECT COUNT(*) FROM `pilgrim_cities` WHERE `pilgrim_cities`.`state_id` = 70
2163
+ Pilgrim::City Load (0.2ms) SELECT `pilgrim_cities`.* FROM `pilgrim_cities` WHERE `pilgrim_cities`.`state_id` = 70 LIMIT 1
2164
+ Pilgrim::Country Load (0.7ms) SELECT `pilgrim_countries`.* FROM `pilgrim_countries` ORDER BY id ASC
2165
+ Rendered pilgrim/tags/_dropdown_aux.html.erb (15.3ms)
2166
+ Rendered pilgrim/tags/_dropdown.html.erb (15.9ms)
2167
+ Pilgrim::State Load (0.5ms) SELECT `pilgrim_states`.* FROM `pilgrim_states` WHERE `pilgrim_states`.`country_id` = 1
2168
+ Rendered pilgrim/tags/_dropdown_aux.html.erb (1.5ms)
2169
+ Rendered pilgrim/tags/_dropdown.html.erb (2.0ms)
2170
+ Pilgrim::City Load (0.3ms) SELECT `pilgrim_cities`.* FROM `pilgrim_cities` WHERE `pilgrim_cities`.`state_id` = 70
2171
+ Rendered pilgrim/tags/_dropdown_aux.html.erb (2.9ms)
2172
+ Rendered pilgrim/tags/_dropdown.html.erb (3.3ms)
2173
+ Rendered pilgrim/tags/_container.html.erb (23.5ms)
2174
+ Rendered pilgrim/tags/_dropdown_aux.html.erb (4.8ms)
2175
+ Rendered pilgrim/tags/_dropdown.html.erb (5.4ms)
2176
+ Rendered pilgrim/tags/_dropdown_aux.html.erb (0.2ms)
2177
+ Rendered pilgrim/tags/_dropdown.html.erb (0.7ms)
2178
+ Rendered pilgrim/tags/_dropdown_aux.html.erb (0.5ms)
2179
+ Rendered pilgrim/tags/_dropdown.html.erb (0.9ms)
2180
+ Rendered pilgrim/tags/_container.html.erb (8.5ms)
2181
+ Rendered welcome/index.html.erb within layouts/application (33.9ms)
2182
+ Completed 200 OK in 121ms (Views: 37.0ms | ActiveRecord: 10.4ms)
2183
+
2184
+
2185
+ Started GET "/assets/welcome.css?body=1" for 127.0.0.1 at 2013-05-08 14:21:04 -0600
2186
+ Served asset /welcome.css - 304 Not Modified (0ms)
2187
+
2188
+
2189
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-05-08 14:21:04 -0600
2190
+ Served asset /application.css - 304 Not Modified (0ms)
2191
+
2192
+
2193
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-05-08 14:21:04 -0600
2194
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
2195
+
2196
+
2197
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-05-08 14:21:04 -0600
2198
+ Served asset /jquery.js - 304 Not Modified (0ms)
2199
+
2200
+
2201
+ Started GET "/assets/pilgrim/application.js?body=1" for 127.0.0.1 at 2013-05-08 14:21:04 -0600
2202
+ Served asset /pilgrim/application.js - 304 Not Modified (0ms)
2203
+
2204
+
2205
+ Started GET "/assets/pilgrim/tags.js?body=1" for 127.0.0.1 at 2013-05-08 14:21:04 -0600
2206
+ Served asset /pilgrim/tags.js - 304 Not Modified (0ms)
2207
+
2208
+
2209
+ Started GET "/assets/welcome.js?body=1" for 127.0.0.1 at 2013-05-08 14:21:04 -0600
2210
+ Served asset /welcome.js - 304 Not Modified (0ms)
2211
+
2212
+
2213
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-05-08 14:21:04 -0600
2214
+ Served asset /application.js - 304 Not Modified (0ms)
2215
+
2216
+
2217
+ Started POST "/pilgrim/change_location" for 127.0.0.1 at 2013-05-08 14:21:05 -0600
2218
+ Processing by Pilgrim::TagsController#change_location as */*
2219
+ Parameters: {"value"=>"3", "kind"=>"country", "block"=>"main", "city_name"=>"city_id", "city_html_class"=>"", "form_name"=>"data", "state_name"=>"state_id", "state_html_class"=>"dropdown_location"}
2220
+ Pilgrim::Country Load (0.5ms) SELECT `pilgrim_countries`.* FROM `pilgrim_countries` WHERE `pilgrim_countries`.`id` = 3 LIMIT 1
2221
+ Pilgrim::State Load (0.3ms) SELECT `pilgrim_states`.* FROM `pilgrim_states` WHERE `pilgrim_states`.`country_id` = 3 LIMIT 1
2222
+ Pilgrim::State Load (0.4ms) SELECT `pilgrim_states`.* FROM `pilgrim_states` WHERE `pilgrim_states`.`country_id` = 3
2223
+ Rendered pilgrim/tags/_dropdown_aux.html.erb (2.3ms)
2224
+ Pilgrim::City Load (0.5ms) SELECT `pilgrim_cities`.* FROM `pilgrim_cities` WHERE `pilgrim_cities`.`state_id` = 37
2225
+ Rendered pilgrim/tags/_dropdown_aux.html.erb (1.6ms)
2226
+ Rendered pilgrim/tags/change_location.js.erb (5.7ms)
2227
+ Completed 200 OK in 13ms (Views: 8.8ms | ActiveRecord: 1.7ms)
2228
+
2229
+
2230
+ Started POST "/pilgrim/change_location" for 127.0.0.1 at 2013-05-08 14:21:08 -0600
2231
+ Processing by Pilgrim::TagsController#change_location as */*
2232
+ Parameters: {"value"=>"194", "kind"=>"country", "block"=>"main", "city_name"=>"city_id", "city_html_class"=>"", "form_name"=>"data", "state_name"=>"state_id", "state_html_class"=>"dropdown_location"}
2233
+ Pilgrim::Country Load (0.3ms) SELECT `pilgrim_countries`.* FROM `pilgrim_countries` WHERE `pilgrim_countries`.`id` = 194 LIMIT 1
2234
+ Pilgrim::State Load (106.3ms) SELECT `pilgrim_states`.* FROM `pilgrim_states` WHERE `pilgrim_states`.`country_id` = 194 LIMIT 1
2235
+ Pilgrim::State Load (0.4ms) SELECT `pilgrim_states`.* FROM `pilgrim_states` WHERE `pilgrim_states`.`country_id` = 194
2236
+ Rendered pilgrim/tags/_dropdown_aux.html.erb (1.2ms)
2237
+ Pilgrim::City Load (0.3ms) SELECT `pilgrim_cities`.* FROM `pilgrim_cities` WHERE `pilgrim_cities`.`state_id` = 1034
2238
+ Rendered pilgrim/tags/_dropdown_aux.html.erb (1.2ms)
2239
+ Rendered pilgrim/tags/change_location.js.erb (3.7ms)
2240
+ Completed 200 OK in 116ms (Views: 6.0ms | ActiveRecord: 107.3ms)
2241
+
2242
+
2243
+ Started POST "/pilgrim/change_location" for 127.0.0.1 at 2013-05-08 14:21:10 -0600
2244
+ Processing by Pilgrim::TagsController#change_location as */*
2245
+ Parameters: {"value"=>"193", "kind"=>"country", "block"=>"main", "city_name"=>"city_id", "city_html_class"=>"", "form_name"=>"data", "state_name"=>"state_id", "state_html_class"=>"dropdown_location"}
2246
+ Pilgrim::Country Load (0.3ms) SELECT `pilgrim_countries`.* FROM `pilgrim_countries` WHERE `pilgrim_countries`.`id` = 193 LIMIT 1
2247
+ Pilgrim::State Load (0.4ms) SELECT `pilgrim_states`.* FROM `pilgrim_states` WHERE `pilgrim_states`.`country_id` = 193 LIMIT 1
2248
+ Pilgrim::State Load (0.4ms) SELECT `pilgrim_states`.* FROM `pilgrim_states` WHERE `pilgrim_states`.`country_id` = 193
2249
+ Rendered pilgrim/tags/_dropdown_aux.html.erb (1.4ms)
2250
+ Pilgrim::City Load (0.4ms) SELECT `pilgrim_cities`.* FROM `pilgrim_cities` WHERE `pilgrim_cities`.`state_id` = 912
2251
+ Rendered pilgrim/tags/_dropdown_aux.html.erb (1.4ms)
2252
+ Rendered pilgrim/tags/change_location.js.erb (4.0ms)
2253
+ Completed 200 OK in 11ms (Views: 7.0ms | ActiveRecord: 1.6ms)
2254
+
2255
+
2256
+ Started POST "/pilgrim/change_location" for 127.0.0.1 at 2013-05-08 14:21:12 -0600
2257
+ Processing by Pilgrim::TagsController#change_location as */*
2258
+ Parameters: {"value"=>"914", "kind"=>"state", "block"=>"main", "city_name"=>"city_id", "city_html_class"=>"", "form_name"=>"data"}
2259
+ Pilgrim::State Load (0.4ms) SELECT `pilgrim_states`.* FROM `pilgrim_states` WHERE `pilgrim_states`.`id` = 914 LIMIT 1
2260
+ Pilgrim::City Load (0.3ms) SELECT `pilgrim_cities`.* FROM `pilgrim_cities` WHERE `pilgrim_cities`.`state_id` = 914
2261
+ Rendered pilgrim/tags/_dropdown_aux.html.erb (1.2ms)
2262
+ Rendered pilgrim/tags/change_location.js.erb (1.9ms)
2263
+ Completed 200 OK in 6ms (Views: 4.4ms | ActiveRecord: 0.6ms)
2264
+
2265
+
2266
+ Started POST "/pilgrim/change_location" for 127.0.0.1 at 2013-05-08 14:21:14 -0600
2267
+ Processing by Pilgrim::TagsController#change_location as */*
2268
+ Parameters: {"value"=>"10", "kind"=>"country", "block"=>"second_example", "city_name"=>"iname", "city_html_class"=>"cssclass3", "form_name"=>"data", "state_name"=>"sname", "state_html_class"=>"cssclass1 cssclass2 dropdown_location"}
2269
+ Pilgrim::Country Load (0.4ms) SELECT `pilgrim_countries`.* FROM `pilgrim_countries` WHERE `pilgrim_countries`.`id` = 10 LIMIT 1
2270
+ Pilgrim::State Load (0.2ms) SELECT `pilgrim_states`.* FROM `pilgrim_states` WHERE `pilgrim_states`.`country_id` = 10 LIMIT 1
2271
+ Pilgrim::State Load (0.3ms) SELECT `pilgrim_states`.* FROM `pilgrim_states` WHERE `pilgrim_states`.`country_id` = 10
2272
+ Rendered pilgrim/tags/_dropdown_aux.html.erb (1.3ms)
2273
+ Pilgrim::City Load (0.4ms) SELECT `pilgrim_cities`.* FROM `pilgrim_cities` WHERE `pilgrim_cities`.`state_id` = 67
2274
+ Rendered pilgrim/tags/_dropdown_aux.html.erb (1.4ms)
2275
+ Rendered pilgrim/tags/change_location.js.erb (4.0ms)
2276
+ Completed 200 OK in 9ms (Views: 6.4ms | ActiveRecord: 1.4ms)
2277
+
2278
+
2279
+ Started POST "/pilgrim/change_location" for 127.0.0.1 at 2013-05-08 14:21:17 -0600
2280
+ Processing by Pilgrim::TagsController#change_location as */*
2281
+ Parameters: {"value"=>"206", "kind"=>"country", "block"=>"second_example", "city_name"=>"iname", "city_html_class"=>"cssclass3", "form_name"=>"data", "state_name"=>"sname", "state_html_class"=>"cssclass1 cssclass2 dropdown_location"}
2282
+ Pilgrim::Country Load (0.4ms) SELECT `pilgrim_countries`.* FROM `pilgrim_countries` WHERE `pilgrim_countries`.`id` = 206 LIMIT 1
2283
+ Pilgrim::State Load (0.4ms) SELECT `pilgrim_states`.* FROM `pilgrim_states` WHERE `pilgrim_states`.`country_id` = 206 LIMIT 1
2284
+ Pilgrim::State Load (0.3ms) SELECT `pilgrim_states`.* FROM `pilgrim_states` WHERE `pilgrim_states`.`country_id` = 206
2285
+ Rendered pilgrim/tags/_dropdown_aux.html.erb (1.0ms)
2286
+ Pilgrim::City Load (0.4ms) SELECT `pilgrim_cities`.* FROM `pilgrim_cities` WHERE `pilgrim_cities`.`state_id` = 1131
2287
+ Rendered pilgrim/tags/_dropdown_aux.html.erb (1.3ms)
2288
+ Rendered pilgrim/tags/change_location.js.erb (3.6ms)
2289
+ Completed 200 OK in 9ms (Views: 5.6ms | ActiveRecord: 1.4ms)
2290
+
2291
+
2292
+ Started POST "/pilgrim/change_location" for 127.0.0.1 at 2013-05-08 14:21:19 -0600
2293
+ Processing by Pilgrim::TagsController#change_location as */*
2294
+ Parameters: {"value"=>"1132", "kind"=>"state", "block"=>"second_example", "city_name"=>"iname", "city_html_class"=>"cssclass3", "form_name"=>"data"}
2295
+ Pilgrim::State Load (0.3ms) SELECT `pilgrim_states`.* FROM `pilgrim_states` WHERE `pilgrim_states`.`id` = 1132 LIMIT 1
2296
+ Pilgrim::City Load (0.3ms) SELECT `pilgrim_cities`.* FROM `pilgrim_cities` WHERE `pilgrim_cities`.`state_id` = 1132
2297
+ Rendered pilgrim/tags/_dropdown_aux.html.erb (1.4ms)
2298
+ Rendered pilgrim/tags/change_location.js.erb (2.4ms)
2299
+ Completed 200 OK in 7ms (Views: 5.3ms | ActiveRecord: 0.7ms)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pilgrim
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: