daily pastebin goal
33%
SHARE
TWEET

Untitled

a guest Jul 11th, 2018 78 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
  1. ## new.html.erb
  2. <h1>New Event</h1>
  3.  
  4. <%= error_messages_for :event %>
  5.  
  6. <% form_for @event, :url => {:controller => "events", :action => "new"} do |f| %>
  7.   <div style="float: left; width: 50%;">
  8.     <b>Name:</b><br />
  9.     <%= f.text_field :name %>
  10.   <br />
  11.  
  12.   <br />
  13.     <b>Description:</b><br />
  14.     <%= f.text_area :description, :size => "35x10" %>
  15.   </div>
  16.  
  17.   <div style="float: left; width: 45%">
  18.     <b>Start at:</b><br />
  19.     <%= f.datetime_select :start_at %>
  20.   <br />
  21.  
  22.   <br />
  23.     <b>End at:</b><br />
  24.     <%= f.datetime_select :end_at %>
  25.     <br /><br />
  26.     <b><%= link_to 'Calendar Groups', :controller => :calendar_group, :action => :index %>:</b><br />
  27.     <%= collection_select :event, :calendar_group_ids, @groups, :id, :title, {}, {:multiple => true, :size => 5} %>
  28.   </div>
  29.   <div align="center" style="clear: both;">
  30.     <br /><br />
  31.     <%= f.submit "Create" %>&nbsp;&nbsp;|&nbsp;&nbsp;
  32.     <input type="button" value="Cancel" onclick="javascript: location='<%= url_for(:controller => :calendar) %>'" />   
  33.   </div>
  34. <% end %>
  35.  
  36. ## event.rb
  37. class Event < ActiveRecord::Base
  38.     belongs_to :user
  39.     has_many :calendar_group_events, :dependent => :destroy
  40.     has_many :calendar_groups, :through => :calendar_group_events
  41.    
  42.     attr_accessor :calendar_group_ids
  43.     after_save :update_groups
  44.    
  45.     def update_groups
  46.         debugger
  47.         unless calendar_group_ids.nil?
  48.             self.calendar_groups.each do |m|
  49.                 m.destroy unless calendar_group_ids.include?(m.calendar_group_id.to_s)
  50.                 calendar_group_ids.delete(m.calendar_group_id.to_s)
  51.             end
  52.             calendar_group_ids.each do |g|
  53.                 self.calendar_groups.create(:calendar_group_id => g) unless g.blank?
  54.             end
  55.             reload
  56.             self.calendar_group_ids = nil
  57.         end
  58.     end
  59.        
  60. end
  61.  
  62. ## calendar_group.rb
  63. class CalendarGroup < ActiveRecord::Base
  64.     has_many :calendar_group_events, :dependent => :destroy
  65.     has_many :events, :through => :calendar_group_events
  66. end
  67.  
  68. ## calendar_group_event.rb
  69. class CalendarGroupEvent < ActiveRecord::Base
  70.     belongs_to :calendar_group
  71.     belongs_to :event
  72. end
  73.  
  74. ## error
  75.  NoMethodError in EventsController#new
  76.  
  77. undefined method `calendar_group_id=' for #<CalendarGroup:0xb660127c>
  78.  
  79. RAILS_ROOT: /home/tim/Code/ora_home
  80. Application Trace | Framework Trace | Full Trace
  81.  
  82. /var/lib/gems/1.8/gems/activerecord-2.0.2/lib/active_record/attribute_methods.rb:200:in `method_missing'
  83. /var/lib/gems/1.8/gems/activerecord-2.0.2/lib/active_record/base.rb:2117:in `send'
  84. /var/lib/gems/1.8/gems/activerecord-2.0.2/lib/active_record/base.rb:2117:in `attributes='
  85. /var/lib/gems/1.8/gems/activerecord-2.0.2/lib/active_record/base.rb:2116:in `each'
  86. /var/lib/gems/1.8/gems/activerecord-2.0.2/lib/active_record/base.rb:2116:in `attributes='
  87. /var/lib/gems/1.8/gems/activerecord-2.0.2/lib/active_record/base.rb:1926:in `initialize'
  88. /var/lib/gems/1.8/gems/activerecord-2.0.2/lib/active_record/base.rb:571:in `new'
  89. /var/lib/gems/1.8/gems/activerecord-2.0.2/lib/active_record/base.rb:571:in `create'
  90. /var/lib/gems/1.8/gems/activerecord-2.0.2/lib/active_record/associations/has_many_through_association.rb:135:in `send'
  91. /var/lib/gems/1.8/gems/activerecord-2.0.2/lib/active_record/associations/has_many_through_association.rb:135:in `method_missing_without_paginate'
  92. /var/lib/gems/1.8/gems/activerecord-2.0.2/lib/active_record/base.rb:1693:in `with_scope'
  93. /var/lib/gems/1.8/gems/activerecord-2.0.2/lib/active_record/associations/has_many_through_association.rb:135:in `send'
  94. /var/lib/gems/1.8/gems/activerecord-2.0.2/lib/active_record/associations/has_many_through_association.rb:135:in `method_missing_without_paginate'
  95. /var/lib/gems/1.8/gems/will_paginate-2.2.2/lib/will_paginate/finder.rb:164:in `method_missing'
  96. app/models/event.rb:17:in `update_groups'
  97. app/models/event.rb:16:in `each'
  98. app/models/event.rb:16:in `update_groups'
  99. /var/lib/gems/1.8/gems/activerecord-2.0.2/lib/active_record/callbacks.rb:307:in `send'
  100. /var/lib/gems/1.8/gems/activerecord-2.0.2/lib/active_record/callbacks.rb:307:in `callback'
  101. /var/lib/gems/1.8/gems/activerecord-2.0.2/lib/active_record/callbacks.rb:304:in `each'
  102. /var/lib/gems/1.8/gems/activerecord-2.0.2/lib/active_record/callbacks.rb:304:in `callback'
  103. /var/lib/gems/1.8/gems/activerecord-2.0.2/lib/active_record/callbacks.rb:214:in `create_or_update'
  104. /var/lib/gems/1.8/gems/activerecord-2.0.2/lib/active_record/base.rb:1972:in `save_without_validation'
  105. /var/lib/gems/1.8/gems/activerecord-2.0.2/lib/active_record/validations.rb:934:in `save_without_transactions'
  106. /var/lib/gems/1.8/gems/activerecord-2.0.2/lib/active_record/transactions.rb:108:in `save'
  107. /var/lib/gems/1.8/gems/activerecord-2.0.2/lib/active_record/connection_adapters/abstract/database_statements.rb:66:in `transaction'
  108. /var/lib/gems/1.8/gems/activerecord-2.0.2/lib/active_record/transactions.rb:80:in `transaction'
  109. /var/lib/gems/1.8/gems/activerecord-2.0.2/lib/active_record/transactions.rb:100:in `transaction'
  110. /var/lib/gems/1.8/gems/activerecord-2.0.2/lib/active_record/transactions.rb:108:in `save'
  111. /var/lib/gems/1.8/gems/activerecord-2.0.2/lib/active_record/transactions.rb:120:in `rollback_active_record_state!'
  112. /var/lib/gems/1.8/gems/activerecord-2.0.2/lib/active_record/transactions.rb:108:in `save'
  113. app/controllers/events_controller.rb:32:in `new'
  114. /var/lib/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:1158:in `send'
  115. /var/lib/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:1158:in `perform_action_without_filters'
  116. /var/lib/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/filters.rb:697:in `call_filters'
  117. /var/lib/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/filters.rb:689:in `perform_action_without_benchmark'
  118. /var/lib/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
  119. /var/lib/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
  120. /var/lib/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/rescue.rb:199:in `perform_action_without_caching'
  121. /var/lib/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/caching.rb:678:in `perform_action'
  122. /var/lib/gems/1.8/gems/activerecord-2.0.2/lib/active_record/connection_adapters/abstract/query_cache.rb:33:in `cache'
  123. /var/lib/gems/1.8/gems/activerecord-2.0.2/lib/active_record/query_cache.rb:8:in `cache'
  124. /var/lib/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/caching.rb:677:in `perform_action'
  125. /var/lib/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:524:in `send'
  126. /var/lib/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:524:in `process_without_filters'
  127. /var/lib/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/filters.rb:685:in `process_without_session_management_support'
  128. /var/lib/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/session_management.rb:123:in `process'
  129. /var/lib/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:388:in `process'
  130. /var/lib/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/rails.rb:76:in `process'
  131. /var/lib/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/rails.rb:74:in `synchronize'
  132. /var/lib/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/rails.rb:74:in `process'
  133. /var/lib/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:159:in `process_client'
  134. /var/lib/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `each'
  135. /var/lib/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `process_client'
  136. /var/lib/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run'
  137. /var/lib/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `initialize'
  138. /var/lib/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `new'
  139. /var/lib/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run'
  140. /var/lib/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `initialize'
  141. /var/lib/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `new'
  142. /var/lib/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `run'
  143. /var/lib/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/configurator.rb:282:in `run'
  144. /var/lib/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/configurator.rb:281:in `each'
  145. /var/lib/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/configurator.rb:281:in `run'
  146. /var/lib/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:128:in `run'
  147. /var/lib/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/command.rb:212:in `run'
  148. /var/lib/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:281
  149. /var/lib/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load'
  150. /var/lib/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load'
  151. /var/lib/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in `new_constants_in'
  152. /var/lib/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load'
  153. /var/lib/gems/1.8/gems/rails-2.0.2/lib/commands/servers/mongrel.rb:64
  154. /var/lib/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in `require'
  155. /var/lib/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in `new_constants_in'
  156. /var/lib/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in `require'
  157. /var/lib/gems/1.8/gems/rails-2.0.2/lib/commands/server.rb:39
  158.  
  159. /usr/lib/ruby/1.8/benchmark.rb:293:in `measure'
  160. /var/lib/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:171:in `handle_request'
  161. /var/lib/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:115:in `dispatch'
  162. /var/lib/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:126:in `dispatch_cgi'
  163. /var/lib/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:9:in `dispatch'
  164. /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
  165. /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
  166. /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
  167. /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
  168. script/server:3
  169.  
  170. /var/lib/gems/1.8/gems/activerecord-2.0.2/lib/active_record/attribute_methods.rb:200:in `method_missing'
  171. /var/lib/gems/1.8/gems/activerecord-2.0.2/lib/active_record/base.rb:2117:in `send'
  172. /var/lib/gems/1.8/gems/activerecord-2.0.2/lib/active_record/base.rb:2117:in `attributes='
  173. /var/lib/gems/1.8/gems/activerecord-2.0.2/lib/active_record/base.rb:2116:in `each'
  174. /var/lib/gems/1.8/gems/activerecord-2.0.2/lib/active_record/base.rb:2116:in `attributes='
  175. /var/lib/gems/1.8/gems/activerecord-2.0.2/lib/active_record/base.rb:1926:in `initialize'
  176. /var/lib/gems/1.8/gems/activerecord-2.0.2/lib/active_record/base.rb:571:in `new'
  177. /var/lib/gems/1.8/gems/activerecord-2.0.2/lib/active_record/base.rb:571:in `create'
  178. /var/lib/gems/1.8/gems/activerecord-2.0.2/lib/active_record/associations/has_many_through_association.rb:135:in `send'
  179. /var/lib/gems/1.8/gems/activerecord-2.0.2/lib/active_record/associations/has_many_through_association.rb:135:in `method_missing_without_paginate'
  180. /var/lib/gems/1.8/gems/activerecord-2.0.2/lib/active_record/base.rb:1693:in `with_scope'
  181. /var/lib/gems/1.8/gems/activerecord-2.0.2/lib/active_record/associations/has_many_through_association.rb:135:in `send'
  182. /var/lib/gems/1.8/gems/activerecord-2.0.2/lib/active_record/associations/has_many_through_association.rb:135:in `method_missing_without_paginate'
  183. /var/lib/gems/1.8/gems/will_paginate-2.2.2/lib/will_paginate/finder.rb:164:in `method_missing'
  184. app/models/event.rb:17:in `update_groups'
  185. app/models/event.rb:16:in `each'
  186. app/models/event.rb:16:in `update_groups'
  187. /var/lib/gems/1.8/gems/activerecord-2.0.2/lib/active_record/callbacks.rb:307:in `send'
  188. /var/lib/gems/1.8/gems/activerecord-2.0.2/lib/active_record/callbacks.rb:307:in `callback'
  189. /var/lib/gems/1.8/gems/activerecord-2.0.2/lib/active_record/callbacks.rb:304:in `each'
  190. /var/lib/gems/1.8/gems/activerecord-2.0.2/lib/active_record/callbacks.rb:304:in `callback'
  191. /var/lib/gems/1.8/gems/activerecord-2.0.2/lib/active_record/callbacks.rb:214:in `create_or_update'
  192. /var/lib/gems/1.8/gems/activerecord-2.0.2/lib/active_record/base.rb:1972:in `save_without_validation'
  193. /var/lib/gems/1.8/gems/activerecord-2.0.2/lib/active_record/validations.rb:934:in `save_without_transactions'
  194. /var/lib/gems/1.8/gems/activerecord-2.0.2/lib/active_record/transactions.rb:108:in `save'
  195. /var/lib/gems/1.8/gems/activerecord-2.0.2/lib/active_record/connection_adapters/abstract/database_statements.rb:66:in `transaction'
  196. /var/lib/gems/1.8/gems/activerecord-2.0.2/lib/active_record/transactions.rb:80:in `transaction'
  197. /var/lib/gems/1.8/gems/activerecord-2.0.2/lib/active_record/transactions.rb:100:in `transaction'
  198. /var/lib/gems/1.8/gems/activerecord-2.0.2/lib/active_record/transactions.rb:108:in `save'
  199. /var/lib/gems/1.8/gems/activerecord-2.0.2/lib/active_record/transactions.rb:120:in `rollback_active_record_state!'
  200. /var/lib/gems/1.8/gems/activerecord-2.0.2/lib/active_record/transactions.rb:108:in `save'
  201. app/controllers/events_controller.rb:32:in `new'
  202. /var/lib/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:1158:in `send'
  203. /var/lib/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:1158:in `perform_action_without_filters'
  204. /var/lib/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/filters.rb:697:in `call_filters'
  205. /var/lib/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/filters.rb:689:in `perform_action_without_benchmark'
  206. /var/lib/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
  207. /usr/lib/ruby/1.8/benchmark.rb:293:in `measure'
  208. /var/lib/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
  209. /var/lib/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/rescue.rb:199:in `perform_action_without_caching'
  210. /var/lib/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/caching.rb:678:in `perform_action'
  211. /var/lib/gems/1.8/gems/activerecord-2.0.2/lib/active_record/connection_adapters/abstract/query_cache.rb:33:in `cache'
  212. /var/lib/gems/1.8/gems/activerecord-2.0.2/lib/active_record/query_cache.rb:8:in `cache'
  213. /var/lib/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/caching.rb:677:in `perform_action'
  214. /var/lib/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:524:in `send'
  215. /var/lib/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:524:in `process_without_filters'
  216. /var/lib/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/filters.rb:685:in `process_without_session_management_support'
  217. /var/lib/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/session_management.rb:123:in `process'
  218. /var/lib/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:388:in `process'
  219. /var/lib/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:171:in `handle_request'
  220. /var/lib/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:115:in `dispatch'
  221. /var/lib/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:126:in `dispatch_cgi'
  222. /var/lib/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:9:in `dispatch'
  223. /var/lib/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/rails.rb:76:in `process'
  224. /var/lib/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/rails.rb:74:in `synchronize'
  225. /var/lib/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/rails.rb:74:in `process'
  226. /var/lib/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:159:in `process_client'
  227. /var/lib/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `each'
  228. /var/lib/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `process_client'
  229. /var/lib/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run'
  230. /var/lib/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `initialize'
  231. /var/lib/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `new'
  232. /var/lib/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run'
  233. /var/lib/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `initialize'
  234. /var/lib/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `new'
  235. /var/lib/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `run'
  236. /var/lib/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/configurator.rb:282:in `run'
  237. /var/lib/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/configurator.rb:281:in `each'
  238. /var/lib/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/configurator.rb:281:in `run'
  239. /var/lib/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:128:in `run'
  240. /var/lib/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/command.rb:212:in `run'
  241. /var/lib/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:281
  242. /var/lib/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load'
  243. /var/lib/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load'
  244. /var/lib/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in `new_constants_in'
  245. /var/lib/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load'
  246. /var/lib/gems/1.8/gems/rails-2.0.2/lib/commands/servers/mongrel.rb:64
  247. /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
  248. /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
  249. /var/lib/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in `require'
  250. /var/lib/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in `new_constants_in'
  251. /var/lib/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in `require'
  252. /var/lib/gems/1.8/gems/rails-2.0.2/lib/commands/server.rb:39
  253. /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
  254. /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
  255. script/server:3
  256.  
  257. Request
  258.  
  259. Parameters:
  260.  
  261. {"commit"=>"Create",
  262.  "authenticity_token"=>"ecbc1ff6f9ecdfb8abdbb27acec7a4c7eb327ddd",
  263.  "event"=>{"name"=>"asdf",
  264.  "start_at(1i)"=>"2009",
  265.  "start_at(2i)"=>"8",
  266.  "end_at(1i)"=>"2009",
  267.  "start_at(3i)"=>"31",
  268.  "end_at(2i)"=>"8",
  269.  "start_at(4i)"=>"16",
  270.  "end_at(3i)"=>"31",
  271.  "start_at(5i)"=>"13",
  272.  "end_at(4i)"=>"16",
  273.  "calendar_group_ids"=>["1",
  274.  "5"],
  275.  "end_at(5i)"=>"13",
  276.  "description"=>"asdfasdf"}}
  277.  
  278. Show session dump
  279.  
  280. ---
  281. :user: !ruby/object:User
  282.   attributes:
  283.     salt:
  284.     created_at:
  285.     crypted_password:
  286.     user_type_id:
  287.     updated_at:
  288.     admin: true
  289.     lname: Admin
  290.     id: 1
  291.     full_name:
  292.     fname: ORA
  293.     email:
  294.     active: true
  295.   attributes_cache: {}
  296.  
  297.   new_record: true
  298. flash: !map:ActionController::Flash::FlashHash {}
  299.  
  300. :permissions: !ruby/object:Permission
  301.   attributes:
  302.     project_permissions: 7
  303.     created_at:
  304.     user_type_id:
  305.     updated_at:
  306.     calendar_permissions: 7
  307.     data_permissions: 7
  308.     user_permissions: 7
  309.     contact_permissions: 7
  310.     ticket_permissions: 7
  311.     store_permissions: 7
  312.   attributes_cache: {}
  313.  
  314.   new_record: true
  315. :location:
  316.  
  317. Response
  318.  
  319. Headers:
  320.  
  321. {"cookie"=>[],
  322.  "Cache-Control"=>"no-cache"}
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top