mxit-rails 0.3.0 → 0.3.1

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.
@@ -75,10 +75,11 @@ module MxitRails
75
75
  params.delete :_mxit_rails_multi_select
76
76
 
77
77
  array = mxit_form_session[input] || []
78
+ array.map! {|item| item.to_sym}
78
79
  set = Set.new array
79
-
80
+
80
81
  if params.include? :_mxit_rails_multi_select_value
81
- value = params[:_mxit_rails_multi_select_value].to_s
82
+ value = params[:_mxit_rails_multi_select_value].to_sym
82
83
  params.delete :_mxit_rails_multi_select_value
83
84
  if set.include? value
84
85
  set.delete value
@@ -87,8 +88,8 @@ module MxitRails
87
88
  end
88
89
  end
89
90
 
90
- params[input] = set.to_a
91
- mxit_form_session[input] = set.to_a
91
+ params[input] = set.to_a.map {|item| item.to_s}
92
+ mxit_form_session[input] = set.to_a.map {|item| item.to_sym}
92
93
  end
93
94
  end
94
95
 
@@ -115,11 +116,12 @@ module MxitRails
115
116
  def select select_name, select_label, select_options, options = {}
116
117
  descriptor.select = select_name
117
118
  descriptor.select_label = select_label
118
- descriptor.select_options = select_options
119
+ descriptor.select_options = {}
120
+ select_options.each {|k,v| descriptor.select_options[k.to_s.to_sym] = v}
119
121
  if options.include? :selected
120
- raise "Invalid :selected options for select - string expected" unless options[:selected].is_a?(String)
121
- # Store in an array so that the format is the same as multi_select
122
- descriptor.selected = [ options[:selected] ]
122
+ raise "Invalid :selected options for select - string expected, array received" if options[:selected].is_a?(Array)
123
+ # Convert to string first so that integer values are handled properly
124
+ descriptor.selected = [ options[:selected].to_s.to_sym ]
123
125
  end
124
126
  descriptor.numbered_list = true if options[:numbered_list]
125
127
  descriptor.multi_select = false
@@ -127,10 +129,11 @@ module MxitRails
127
129
  def multi_select select_name, select_label, select_options, options = {}
128
130
  descriptor.select = select_name
129
131
  descriptor.select_label = select_label
130
- descriptor.select_options = select_options
132
+ descriptor.select_options = {}
133
+ select_options.each {|k,v| descriptor.select_options[k.to_s.to_sym] = v}
131
134
  if options.include? :selected
132
- raise "Invalid :selected options for multi_select - array expected" unless options[:selected].is_a?(Array)
133
- #TODO: Check the array elements are all strings
135
+ raise "Invalid :selected options for multi_select - array expected, #{options[:selected].class} received" unless options[:selected].is_a?(Array)
136
+ options[:selected].map! {|item| item.to_s.to_sym}
134
137
  end
135
138
  mxit_form_session[select_name] ||= options[:selected] || []
136
139
  descriptor.selected = mxit_form_session[select_name]
@@ -1,3 +1,3 @@
1
1
  module MxitRails
2
- VERSION = "0.3.0"
2
+ VERSION = "0.3.1"
3
3
  end
@@ -26,7 +26,8 @@ class WelcomeController < ApplicationController
26
26
  end
27
27
 
28
28
  def single
29
- select :select, 'Select an option', {'A' => 'Option A', 'B' => 'Option B', 'C' => 'Option C'}, selected: 'B', numbered_list: true
29
+ # We are being lenient with integer values for the hash
30
+ select :select, 'Select an option', {1 => 'Option A', 2 => 'Option B', 3 => 'Option C'}, selected: 2, numbered_list: true
30
31
 
31
32
  submit do
32
33
  logger.info "Value: #{params[:select]}"
@@ -35,7 +36,7 @@ class WelcomeController < ApplicationController
35
36
  end
36
37
 
37
38
  def multi
38
- multi_select :select, 'Select all that apply', {'A' => 'Option A', 'B' => 'Option B', 'C' => 'Option C'}, selected: ['B', 'C'], numbered_list: true
39
+ multi_select :select, 'Select all that apply', {1 => 'Option A', 3 => 'Option B', 2 => 'Option C'}, selected: [1, 3], numbered_list: true
39
40
 
40
41
  submit do
41
42
  logger.info "Value: #{params[:select]}"
@@ -61098,3 +61098,475 @@ Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.0ms)
61098
61098
 
61099
61099
  Started GET "/assets/mxit_rails/included.css?body=1" for 127.0.0.1 at 2012-10-04 15:37:39 +0200
61100
61100
  Served asset /mxit_rails/included.css - 304 Not Modified (31ms)
61101
+
61102
+
61103
+ Started GET "/welcome/single" for 127.0.0.1 at 2012-10-04 16:41:37 +0200
61104
+ Connecting to database specified by database.yml
61105
+ Processing by WelcomeController#single as HTML
61106
+ Completed 500 Internal Server Error in 1ms
61107
+
61108
+ RuntimeError (Invalid :selected options for select - string expected):
61109
+ app/controllers/welcome_controller.rb:30:in `single'
61110
+
61111
+
61112
+ Rendered /Users/linsenloots/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.1ms)
61113
+ Rendered /Users/linsenloots/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.0ms)
61114
+ Rendered /Users/linsenloots/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (9.8ms)
61115
+
61116
+
61117
+ Started GET "/welcome/single" for 127.0.0.1 at 2012-10-04 16:42:33 +0200
61118
+ Processing by WelcomeController#single as HTML
61119
+ Completed 500 Internal Server Error in 0ms
61120
+
61121
+ RuntimeError (Invalid :selected options for select - string expected):
61122
+ app/controllers/welcome_controller.rb:30:in `single'
61123
+
61124
+
61125
+ Rendered /Users/linsenloots/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.1ms)
61126
+ Rendered /Users/linsenloots/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.9ms)
61127
+ Rendered /Users/linsenloots/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (6.9ms)
61128
+
61129
+
61130
+ Started GET "/welcome/single" for 127.0.0.1 at 2012-10-04 16:42:38 +0200
61131
+ Connecting to database specified by database.yml
61132
+ Processing by WelcomeController#single as HTML
61133
+ Rendered welcome/single.html.erb within layouts/mxit (2.0ms)
61134
+ Completed 200 OK in 34ms (Views: 33.7ms | ActiveRecord: 0.0ms)
61135
+
61136
+
61137
+ Started GET "/assets/mxit_rails/included.css?body=1" for 127.0.0.1 at 2012-10-04 16:42:39 +0200
61138
+ Served asset /mxit_rails/included.css - 304 Not Modified (3ms)
61139
+
61140
+
61141
+ Started GET "/welcome/single?_mxit_rails_submit=true&select=1" for 127.0.0.1 at 2012-10-04 16:42:43 +0200
61142
+ Processing by WelcomeController#single as HTML
61143
+ Parameters: {"_mxit_rails_submit"=>"true", "select"=>"1"}
61144
+ Value: 1
61145
+ Redirected to http://localhost:3000/index/success
61146
+ Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
61147
+
61148
+
61149
+ Started GET "/index/success" for 127.0.0.1 at 2012-10-04 16:42:43 +0200
61150
+ Processing by IndexController#success as HTML
61151
+ Rendered index/success.html.erb within layouts/mxit (0.4ms)
61152
+ Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.0ms)
61153
+
61154
+
61155
+ Started GET "/assets/mxit_rails/included.css?body=1" for 127.0.0.1 at 2012-10-04 16:42:43 +0200
61156
+ Served asset /mxit_rails/included.css - 304 Not Modified (0ms)
61157
+
61158
+
61159
+ Started GET "/" for 127.0.0.1 at 2012-10-04 16:42:47 +0200
61160
+ Processing by IndexController#index as HTML
61161
+ Rendered index/index.html.erb within layouts/mxit (1.0ms)
61162
+ Completed 200 OK in 5ms (Views: 4.0ms | ActiveRecord: 0.0ms)
61163
+
61164
+
61165
+ Started GET "/assets/mxit_rails/included.css?body=1" for 127.0.0.1 at 2012-10-04 16:42:47 +0200
61166
+ Served asset /mxit_rails/included.css - 304 Not Modified (0ms)
61167
+
61168
+
61169
+ Started GET "/welcome/multi" for 127.0.0.1 at 2012-10-04 16:42:48 +0200
61170
+ Processing by WelcomeController#multi as HTML
61171
+ Rendered welcome/multi.html.erb within layouts/mxit (0.5ms)
61172
+ Completed 200 OK in 5ms (Views: 4.0ms | ActiveRecord: 0.0ms)
61173
+
61174
+
61175
+ Started GET "/assets/mxit_rails/included.css?body=1" for 127.0.0.1 at 2012-10-04 16:42:48 +0200
61176
+ Served asset /mxit_rails/included.css - 304 Not Modified (0ms)
61177
+
61178
+
61179
+ Started GET "/welcome/multi" for 127.0.0.1 at 2012-10-04 16:43:12 +0200
61180
+ Processing by WelcomeController#multi as HTML
61181
+ Rendered welcome/multi.html.erb within layouts/mxit (0.1ms)
61182
+ Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.0ms)
61183
+
61184
+
61185
+ Started GET "/assets/mxit_rails/included.css?body=1" for 127.0.0.1 at 2012-10-04 16:43:12 +0200
61186
+ Served asset /mxit_rails/included.css - 304 Not Modified (0ms)
61187
+
61188
+
61189
+ Started GET "/welcome/multi?_mxit_rails_multi_select=select&_mxit_rails_multi_select_value=3" for 127.0.0.1 at 2012-10-04 16:43:15 +0200
61190
+ Processing by WelcomeController#multi as HTML
61191
+ Parameters: {"_mxit_rails_multi_select"=>"select", "_mxit_rails_multi_select_value"=>"3"}
61192
+ Rendered welcome/multi.html.erb within layouts/mxit (0.2ms)
61193
+ Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.0ms)
61194
+
61195
+
61196
+ Started GET "/assets/mxit_rails/included.css?body=1" for 127.0.0.1 at 2012-10-04 16:43:15 +0200
61197
+ Served asset /mxit_rails/included.css - 304 Not Modified (0ms)
61198
+
61199
+
61200
+ Started GET "/welcome/multi?_mxit_rails_multi_select=select&_mxit_rails_multi_select_value=2" for 127.0.0.1 at 2012-10-04 16:43:17 +0200
61201
+ Processing by WelcomeController#multi as HTML
61202
+ Parameters: {"_mxit_rails_multi_select"=>"select", "_mxit_rails_multi_select_value"=>"2"}
61203
+ Rendered welcome/multi.html.erb within layouts/mxit (0.1ms)
61204
+ Completed 200 OK in 25ms (Views: 24.3ms | ActiveRecord: 0.0ms)
61205
+
61206
+
61207
+ Started GET "/assets/mxit_rails/included.css?body=1" for 127.0.0.1 at 2012-10-04 16:43:17 +0200
61208
+ Served asset /mxit_rails/included.css - 304 Not Modified (0ms)
61209
+
61210
+
61211
+ Started GET "/" for 127.0.0.1 at 2012-10-04 16:50:26 +0200
61212
+ Connecting to database specified by database.yml
61213
+ Processing by IndexController#index as HTML
61214
+ Rendered index/index.html.erb within layouts/mxit (2.0ms)
61215
+ Completed 200 OK in 34ms (Views: 32.8ms | ActiveRecord: 0.0ms)
61216
+
61217
+
61218
+ Started GET "/assets/mxit_rails/included.css?body=1" for 127.0.0.1 at 2012-10-04 16:50:26 +0200
61219
+ Served asset /mxit_rails/included.css - 304 Not Modified (4ms)
61220
+
61221
+
61222
+ Started GET "/welcome/single" for 127.0.0.1 at 2012-10-04 16:50:29 +0200
61223
+ Processing by WelcomeController#single as HTML
61224
+ Completed 500 Internal Server Error in 1ms
61225
+
61226
+ NoMethodError (undefined method `to_sym' for 2:Fixnum):
61227
+ app/controllers/welcome_controller.rb:30:in `single'
61228
+
61229
+
61230
+ Rendered /Users/linsenloots/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.3ms)
61231
+ Rendered /Users/linsenloots/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.9ms)
61232
+ Rendered /Users/linsenloots/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (7.1ms)
61233
+
61234
+
61235
+ Started GET "/" for 127.0.0.1 at 2012-10-04 16:50:53 +0200
61236
+ Connecting to database specified by database.yml
61237
+ Processing by IndexController#index as HTML
61238
+ Rendered index/index.html.erb within layouts/mxit (2.8ms)
61239
+ Completed 200 OK in 35ms (Views: 34.5ms | ActiveRecord: 0.0ms)
61240
+
61241
+
61242
+ Started GET "/assets/mxit_rails/included.css?body=1" for 127.0.0.1 at 2012-10-04 16:50:53 +0200
61243
+ Served asset /mxit_rails/included.css - 304 Not Modified (3ms)
61244
+
61245
+
61246
+ Started GET "/welcome/single" for 127.0.0.1 at 2012-10-04 16:50:55 +0200
61247
+ Processing by WelcomeController#single as HTML
61248
+ Rendered welcome/single.html.erb within layouts/mxit (0.8ms)
61249
+ Completed 200 OK in 6ms (Views: 4.9ms | ActiveRecord: 0.0ms)
61250
+
61251
+
61252
+ Started GET "/assets/mxit_rails/included.css?body=1" for 127.0.0.1 at 2012-10-04 16:50:55 +0200
61253
+ Served asset /mxit_rails/included.css - 304 Not Modified (0ms)
61254
+
61255
+
61256
+ Started GET "/welcome/single?_mxit_rails_submit=true&select=1" for 127.0.0.1 at 2012-10-04 16:50:57 +0200
61257
+ Processing by WelcomeController#single as HTML
61258
+ Parameters: {"_mxit_rails_submit"=>"true", "select"=>"1"}
61259
+ Value: 1
61260
+ Redirected to http://localhost:3000/index/success
61261
+ Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
61262
+
61263
+
61264
+ Started GET "/index/success" for 127.0.0.1 at 2012-10-04 16:50:57 +0200
61265
+ Processing by IndexController#success as HTML
61266
+ Rendered index/success.html.erb within layouts/mxit (0.4ms)
61267
+ Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms)
61268
+
61269
+
61270
+ Started GET "/assets/mxit_rails/included.css?body=1" for 127.0.0.1 at 2012-10-04 16:50:57 +0200
61271
+ Served asset /mxit_rails/included.css - 304 Not Modified (0ms)
61272
+
61273
+
61274
+ Started GET "/" for 127.0.0.1 at 2012-10-04 16:51:01 +0200
61275
+ Processing by IndexController#index as HTML
61276
+ Rendered index/index.html.erb within layouts/mxit (0.4ms)
61277
+ Completed 200 OK in 4ms (Views: 3.7ms | ActiveRecord: 0.0ms)
61278
+
61279
+
61280
+ Started GET "/assets/mxit_rails/included.css?body=1" for 127.0.0.1 at 2012-10-04 16:51:01 +0200
61281
+ Served asset /mxit_rails/included.css - 304 Not Modified (0ms)
61282
+
61283
+
61284
+ Started GET "/welcome/multi" for 127.0.0.1 at 2012-10-04 16:51:02 +0200
61285
+ Processing by WelcomeController#multi as HTML
61286
+ Rendered welcome/multi.html.erb within layouts/mxit (0.8ms)
61287
+ Completed 200 OK in 6ms (Views: 4.5ms | ActiveRecord: 0.0ms)
61288
+
61289
+
61290
+ Started GET "/assets/mxit_rails/included.css?body=1" for 127.0.0.1 at 2012-10-04 16:51:02 +0200
61291
+ Served asset /mxit_rails/included.css - 304 Not Modified (0ms)
61292
+
61293
+
61294
+ Started GET "/" for 127.0.0.1 at 2012-10-04 16:52:08 +0200
61295
+ Processing by IndexController#index as HTML
61296
+ Rendered index/index.html.erb within layouts/mxit (0.3ms)
61297
+ Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.0ms)
61298
+
61299
+
61300
+ Started GET "/assets/mxit_rails/included.css?body=1" for 127.0.0.1 at 2012-10-04 16:52:08 +0200
61301
+ Served asset /mxit_rails/included.css - 304 Not Modified (0ms)
61302
+
61303
+
61304
+ Started GET "/welcome/single" for 127.0.0.1 at 2012-10-04 16:52:09 +0200
61305
+ Processing by WelcomeController#single as HTML
61306
+ Rendered welcome/single.html.erb within layouts/mxit (0.1ms)
61307
+ Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.0ms)
61308
+
61309
+
61310
+ Started GET "/assets/mxit_rails/included.css?body=1" for 127.0.0.1 at 2012-10-04 16:52:09 +0200
61311
+ Served asset /mxit_rails/included.css - 304 Not Modified (0ms)
61312
+
61313
+
61314
+ Started GET "/" for 127.0.0.1 at 2012-10-04 16:52:54 +0200
61315
+ Connecting to database specified by database.yml
61316
+ Processing by IndexController#index as HTML
61317
+ Rendered index/index.html.erb within layouts/mxit (2.0ms)
61318
+ Completed 200 OK in 34ms (Views: 32.9ms | ActiveRecord: 0.0ms)
61319
+
61320
+
61321
+ Started GET "/assets/mxit_rails/included.css?body=1" for 127.0.0.1 at 2012-10-04 16:52:54 +0200
61322
+ Served asset /mxit_rails/included.css - 304 Not Modified (4ms)
61323
+
61324
+
61325
+ Started GET "/welcome/single" for 127.0.0.1 at 2012-10-04 16:52:58 +0200
61326
+ Processing by WelcomeController#single as HTML
61327
+ Rendered welcome/single.html.erb within layouts/mxit (0.5ms)
61328
+ Completed 200 OK in 5ms (Views: 3.4ms | ActiveRecord: 0.0ms)
61329
+
61330
+
61331
+ Started GET "/assets/mxit_rails/included.css?body=1" for 127.0.0.1 at 2012-10-04 16:52:58 +0200
61332
+ Served asset /mxit_rails/included.css - 304 Not Modified (0ms)
61333
+
61334
+
61335
+ Started GET "/" for 127.0.0.1 at 2012-10-04 16:53:03 +0200
61336
+ Processing by IndexController#index as HTML
61337
+ Rendered index/index.html.erb within layouts/mxit (0.3ms)
61338
+ Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.0ms)
61339
+
61340
+
61341
+ Started GET "/assets/mxit_rails/included.css?body=1" for 127.0.0.1 at 2012-10-04 16:53:03 +0200
61342
+ Served asset /mxit_rails/included.css - 304 Not Modified (0ms)
61343
+
61344
+
61345
+ Started GET "/welcome/multi" for 127.0.0.1 at 2012-10-04 16:53:04 +0200
61346
+ Processing by WelcomeController#multi as HTML
61347
+ {1=>"Option A", 3=>"Option B", 2=>"Option C"}
61348
+ Rendered welcome/multi.html.erb within layouts/mxit (0.5ms)
61349
+ Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.0ms)
61350
+
61351
+
61352
+ Started GET "/assets/mxit_rails/included.css?body=1" for 127.0.0.1 at 2012-10-04 16:53:04 +0200
61353
+ Served asset /mxit_rails/included.css - 304 Not Modified (0ms)
61354
+ Connecting to database specified by database.yml
61355
+
61356
+
61357
+ Started GET "/" for 127.0.0.1 at 2012-10-04 16:55:29 +0200
61358
+ Connecting to database specified by database.yml
61359
+ Processing by IndexController#index as HTML
61360
+ Rendered index/index.html.erb within layouts/mxit (2.6ms)
61361
+ Completed 200 OK in 36ms (Views: 35.3ms | ActiveRecord: 0.0ms)
61362
+
61363
+
61364
+ Started GET "/assets/mxit_rails/included.css?body=1" for 127.0.0.1 at 2012-10-04 16:55:30 +0200
61365
+ Served asset /mxit_rails/included.css - 304 Not Modified (2ms)
61366
+
61367
+
61368
+ Started GET "/welcome/single" for 127.0.0.1 at 2012-10-04 16:55:31 +0200
61369
+ Processing by WelcomeController#single as HTML
61370
+ Rendered welcome/single.html.erb within layouts/mxit (0.5ms)
61371
+ Completed 200 OK in 4ms (Views: 3.6ms | ActiveRecord: 0.0ms)
61372
+
61373
+
61374
+ Started GET "/assets/mxit_rails/included.css?body=1" for 127.0.0.1 at 2012-10-04 16:55:31 +0200
61375
+ Served asset /mxit_rails/included.css - 304 Not Modified (0ms)
61376
+
61377
+
61378
+ Started GET "/welcome/single?_mxit_rails_submit=true&select=1" for 127.0.0.1 at 2012-10-04 16:55:34 +0200
61379
+ Processing by WelcomeController#single as HTML
61380
+ Parameters: {"_mxit_rails_submit"=>"true", "select"=>"1"}
61381
+ Value: 1
61382
+ Redirected to http://localhost:3000/index/success
61383
+ Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
61384
+
61385
+
61386
+ Started GET "/index/success" for 127.0.0.1 at 2012-10-04 16:55:34 +0200
61387
+ Processing by IndexController#success as HTML
61388
+ Rendered index/success.html.erb within layouts/mxit (0.4ms)
61389
+ Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.0ms)
61390
+
61391
+
61392
+ Started GET "/assets/mxit_rails/included.css?body=1" for 127.0.0.1 at 2012-10-04 16:55:34 +0200
61393
+ Served asset /mxit_rails/included.css - 304 Not Modified (0ms)
61394
+
61395
+
61396
+ Started GET "/" for 127.0.0.1 at 2012-10-04 16:55:38 +0200
61397
+ Processing by IndexController#index as HTML
61398
+ Rendered index/index.html.erb within layouts/mxit (0.3ms)
61399
+ Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms)
61400
+
61401
+
61402
+ Started GET "/assets/mxit_rails/included.css?body=1" for 127.0.0.1 at 2012-10-04 16:55:38 +0200
61403
+ Served asset /mxit_rails/included.css - 304 Not Modified (0ms)
61404
+
61405
+
61406
+ Started GET "/welcome/multi" for 127.0.0.1 at 2012-10-04 16:55:39 +0200
61407
+ Processing by WelcomeController#multi as HTML
61408
+ Rendered welcome/multi.html.erb within layouts/mxit (0.8ms)
61409
+ Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.0ms)
61410
+
61411
+
61412
+ Started GET "/assets/mxit_rails/included.css?body=1" for 127.0.0.1 at 2012-10-04 16:55:39 +0200
61413
+ Served asset /mxit_rails/included.css - 304 Not Modified (0ms)
61414
+
61415
+
61416
+ Started GET "/welcome/multi?_mxit_rails_multi_select=select&_mxit_rails_multi_select_value=2" for 127.0.0.1 at 2012-10-04 16:55:41 +0200
61417
+ Processing by WelcomeController#multi as HTML
61418
+ Parameters: {"_mxit_rails_multi_select"=>"select", "_mxit_rails_multi_select_value"=>"2"}
61419
+ Rendered welcome/multi.html.erb within layouts/mxit (0.1ms)
61420
+ Completed 200 OK in 3ms (Views: 2.9ms | ActiveRecord: 0.0ms)
61421
+
61422
+
61423
+ Started GET "/assets/mxit_rails/included.css?body=1" for 127.0.0.1 at 2012-10-04 16:55:41 +0200
61424
+ Served asset /mxit_rails/included.css - 304 Not Modified (0ms)
61425
+
61426
+
61427
+ Started GET "/welcome/multi?_mxit_rails_multi_select=select&_mxit_rails_multi_select_value=3" for 127.0.0.1 at 2012-10-04 16:55:42 +0200
61428
+ Processing by WelcomeController#multi as HTML
61429
+ Parameters: {"_mxit_rails_multi_select"=>"select", "_mxit_rails_multi_select_value"=>"3"}
61430
+ Rendered welcome/multi.html.erb within layouts/mxit (0.1ms)
61431
+ Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms)
61432
+
61433
+
61434
+ Started GET "/assets/mxit_rails/included.css?body=1" for 127.0.0.1 at 2012-10-04 16:55:42 +0200
61435
+ Served asset /mxit_rails/included.css - 304 Not Modified (0ms)
61436
+
61437
+
61438
+ Started GET "/welcome/multi?_mxit_rails_multi_select=select&_mxit_rails_multi_select_value=1" for 127.0.0.1 at 2012-10-04 16:55:44 +0200
61439
+ Processing by WelcomeController#multi as HTML
61440
+ Parameters: {"_mxit_rails_multi_select"=>"select", "_mxit_rails_multi_select_value"=>"1"}
61441
+ Rendered welcome/multi.html.erb within layouts/mxit (0.2ms)
61442
+ Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.0ms)
61443
+
61444
+
61445
+ Started GET "/assets/mxit_rails/included.css?body=1" for 127.0.0.1 at 2012-10-04 16:55:44 +0200
61446
+ Served asset /mxit_rails/included.css - 304 Not Modified (0ms)
61447
+
61448
+
61449
+ Started GET "/welcome/multi?_mxit_rails_multi_select=select&_mxit_rails_multi_select_value=2" for 127.0.0.1 at 2012-10-04 16:55:50 +0200
61450
+ Processing by WelcomeController#multi as HTML
61451
+ Parameters: {"_mxit_rails_multi_select"=>"select", "_mxit_rails_multi_select_value"=>"2"}
61452
+ Rendered welcome/multi.html.erb within layouts/mxit (0.1ms)
61453
+ Completed 200 OK in 3ms (Views: 3.0ms | ActiveRecord: 0.0ms)
61454
+
61455
+
61456
+ Started GET "/assets/mxit_rails/included.css?body=1" for 127.0.0.1 at 2012-10-04 16:55:50 +0200
61457
+ Served asset /mxit_rails/included.css - 304 Not Modified (0ms)
61458
+
61459
+
61460
+ Started GET "/" for 127.0.0.1 at 2012-10-04 16:56:39 +0200
61461
+ Connecting to database specified by database.yml
61462
+ Processing by IndexController#index as HTML
61463
+ Rendered index/index.html.erb within layouts/mxit (2.4ms)
61464
+ Completed 200 OK in 35ms (Views: 34.4ms | ActiveRecord: 0.0ms)
61465
+
61466
+
61467
+ Started GET "/assets/mxit_rails/included.css?body=1" for 127.0.0.1 at 2012-10-04 16:56:39 +0200
61468
+ Served asset /mxit_rails/included.css - 304 Not Modified (3ms)
61469
+
61470
+
61471
+ Started GET "/welcome/multi" for 127.0.0.1 at 2012-10-04 16:56:40 +0200
61472
+ Processing by WelcomeController#multi as HTML
61473
+ Rendered welcome/multi.html.erb within layouts/mxit (0.7ms)
61474
+ Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.0ms)
61475
+
61476
+
61477
+ Started GET "/assets/mxit_rails/included.css?body=1" for 127.0.0.1 at 2012-10-04 16:56:40 +0200
61478
+ Served asset /mxit_rails/included.css - 304 Not Modified (0ms)
61479
+
61480
+
61481
+ Started GET "/welcome/multi?_mxit_rails_multi_select=select&_mxit_rails_multi_select_value=1" for 127.0.0.1 at 2012-10-04 16:56:41 +0200
61482
+ Processing by WelcomeController#multi as HTML
61483
+ Parameters: {"_mxit_rails_multi_select"=>"select", "_mxit_rails_multi_select_value"=>"1"}
61484
+ Rendered welcome/multi.html.erb within layouts/mxit (0.1ms)
61485
+ Completed 200 OK in 3ms (Views: 3.1ms | ActiveRecord: 0.0ms)
61486
+
61487
+
61488
+ Started GET "/assets/mxit_rails/included.css?body=1" for 127.0.0.1 at 2012-10-04 16:56:41 +0200
61489
+ Served asset /mxit_rails/included.css - 304 Not Modified (0ms)
61490
+
61491
+
61492
+ Started GET "/welcome/multi?_mxit_rails_multi_select=select&_mxit_rails_multi_select_value=3" for 127.0.0.1 at 2012-10-04 16:56:42 +0200
61493
+ Processing by WelcomeController#multi as HTML
61494
+ Parameters: {"_mxit_rails_multi_select"=>"select", "_mxit_rails_multi_select_value"=>"3"}
61495
+ Rendered welcome/multi.html.erb within layouts/mxit (0.1ms)
61496
+ Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.0ms)
61497
+
61498
+
61499
+ Started GET "/assets/mxit_rails/included.css?body=1" for 127.0.0.1 at 2012-10-04 16:56:42 +0200
61500
+ Served asset /mxit_rails/included.css - 304 Not Modified (0ms)
61501
+
61502
+
61503
+ Started GET "/welcome/multi?_mxit_rails_multi_select=select&_mxit_rails_multi_select_value=3" for 127.0.0.1 at 2012-10-04 16:56:43 +0200
61504
+ Processing by WelcomeController#multi as HTML
61505
+ Parameters: {"_mxit_rails_multi_select"=>"select", "_mxit_rails_multi_select_value"=>"3"}
61506
+ Rendered welcome/multi.html.erb within layouts/mxit (0.1ms)
61507
+ Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.0ms)
61508
+
61509
+
61510
+ Started GET "/assets/mxit_rails/included.css?body=1" for 127.0.0.1 at 2012-10-04 16:56:43 +0200
61511
+ Served asset /mxit_rails/included.css - 304 Not Modified (0ms)
61512
+
61513
+
61514
+ Started GET "/welcome/multi?_mxit_rails_multi_select=select&_mxit_rails_multi_select_value=2" for 127.0.0.1 at 2012-10-04 16:56:43 +0200
61515
+ Processing by WelcomeController#multi as HTML
61516
+ Parameters: {"_mxit_rails_multi_select"=>"select", "_mxit_rails_multi_select_value"=>"2"}
61517
+ Rendered welcome/multi.html.erb within layouts/mxit (0.1ms)
61518
+ Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.0ms)
61519
+
61520
+
61521
+ Started GET "/assets/mxit_rails/included.css?body=1" for 127.0.0.1 at 2012-10-04 16:56:44 +0200
61522
+ Served asset /mxit_rails/included.css - 304 Not Modified (0ms)
61523
+
61524
+
61525
+ Started GET "/welcome/multi?_mxit_rails_multi_select=select&_mxit_rails_multi_select_value=1" for 127.0.0.1 at 2012-10-04 16:56:45 +0200
61526
+ Processing by WelcomeController#multi as HTML
61527
+ Parameters: {"_mxit_rails_multi_select"=>"select", "_mxit_rails_multi_select_value"=>"1"}
61528
+ Rendered welcome/multi.html.erb within layouts/mxit (0.1ms)
61529
+ Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.0ms)
61530
+
61531
+
61532
+ Started GET "/assets/mxit_rails/included.css?body=1" for 127.0.0.1 at 2012-10-04 16:56:45 +0200
61533
+ Served asset /mxit_rails/included.css - 304 Not Modified (0ms)
61534
+
61535
+
61536
+ Started GET "/welcome/multi?_mxit_rails_multi_select=select&_mxit_rails_multi_select_value=3" for 127.0.0.1 at 2012-10-04 16:56:47 +0200
61537
+ Processing by WelcomeController#multi as HTML
61538
+ Parameters: {"_mxit_rails_multi_select"=>"select", "_mxit_rails_multi_select_value"=>"3"}
61539
+ Rendered welcome/multi.html.erb within layouts/mxit (0.1ms)
61540
+ Completed 200 OK in 2ms (Views: 2.0ms | ActiveRecord: 0.0ms)
61541
+
61542
+
61543
+ Started GET "/assets/mxit_rails/included.css?body=1" for 127.0.0.1 at 2012-10-04 16:56:47 +0200
61544
+ Served asset /mxit_rails/included.css - 304 Not Modified (0ms)
61545
+
61546
+
61547
+ Started GET "/welcome/multi?_mxit_rails_submit=true&_mxit_rails_multi_select=select" for 127.0.0.1 at 2012-10-04 16:56:48 +0200
61548
+ Processing by WelcomeController#multi as HTML
61549
+ Parameters: {"_mxit_rails_submit"=>"true", "_mxit_rails_multi_select"=>"select"}
61550
+ Value: ["2", "1"]
61551
+ Redirected to http://localhost:3000/index/success
61552
+ Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
61553
+
61554
+
61555
+ Started GET "/index/success" for 127.0.0.1 at 2012-10-04 16:56:48 +0200
61556
+ Processing by IndexController#success as HTML
61557
+ Rendered index/success.html.erb within layouts/mxit (0.5ms)
61558
+ Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.0ms)
61559
+
61560
+
61561
+ Started GET "/assets/mxit_rails/included.css?body=1" for 127.0.0.1 at 2012-10-04 16:56:48 +0200
61562
+ Served asset /mxit_rails/included.css - 304 Not Modified (0ms)
61563
+
61564
+
61565
+ Started GET "/" for 127.0.0.1 at 2012-10-04 16:56:59 +0200
61566
+ Processing by IndexController#index as HTML
61567
+ Rendered index/index.html.erb within layouts/mxit (0.3ms)
61568
+ Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.0ms)
61569
+
61570
+
61571
+ Started GET "/assets/mxit_rails/included.css?body=1" for 127.0.0.1 at 2012-10-04 16:56:59 +0200
61572
+ Served asset /mxit_rails/included.css - 304 Not Modified (0ms)
@@ -1 +1 @@
1
- 13351
1
+ 15806
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mxit-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: