aslon_settings 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +8 -1
- data/app/controllers/admin/params_controller.rb +3 -1
- data/app/helpers/application_helper.rb +4 -0
- data/app/models/admin/item_param.rb +2 -0
- data/app/models/admin/param.rb +4 -3
- data/app/views/admin/params/index.html.haml +40 -37
- data/lib/aslon_settings/version.rb +1 -1
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/log/development.log +310 -0
- data/test/dummy/log/test.log +572 -0
- data/test/dummy/tmp/cache/assets/C60/F30/sprockets%2F4dc5199e56b935351116cc33e4379849 +0 -0
- data/test/dummy/tmp/cache/assets/C91/E30/sprockets%2Fea26943bf7641666101879dc786c86b2 +0 -0
- data/test/dummy/tmp/cache/assets/CCC/730/sprockets%2F5e2beef6c5d6331c1c47045980211b10 +0 -0
- data/test/dummy/tmp/cache/assets/CD8/5B0/sprockets%2F88a74a314bafd6d21502193861cf67b2 +0 -0
- data/test/dummy/tmp/cache/assets/D3C/850/sprockets%2F43ab7221d4e97f1a86bd2435933adc9c +0 -0
- data/test/dummy/tmp/cache/assets/D43/BC0/sprockets%2F9722bc7a9a5a623cf3f75a2b89f070d6 +0 -0
- data/test/dummy/tmp/cache/assets/D61/5B0/sprockets%2F927f5f0b3f4cf533cfecb89565988c78 +0 -0
- data/test/dummy/tmp/cache/assets/D65/200/sprockets%2Fa8bc058c965524ae051b9bb2af15d71f +0 -0
- data/test/dummy/tmp/cache/assets/D96/1B0/sprockets%2F54666ddd8b4ae20d1ba66e2bed85800b +0 -0
- data/test/tmp/db/migrate/{20120202193559_create_admin_params.rb → 20130207165600_create_admin_params.rb} +0 -0
- data/test/tmp/db/migrate/{20120202193560_create_admin_item_params.rb → 20130207165601_create_admin_item_params.rb} +0 -0
- metadata +56 -24
data/README.rdoc
CHANGED
@@ -11,7 +11,9 @@ module AslonSettings
|
|
11
11
|
|
12
12
|
aslon_scaffold
|
13
13
|
begin
|
14
|
-
|
14
|
+
#load_and_authorize_resource :instance_name=>:admin_param
|
15
|
+
#authorize_resource :class=>"Admin::param"
|
16
|
+
skip_authorization_check
|
15
17
|
rescue
|
16
18
|
end
|
17
19
|
|
data/app/models/admin/param.rb
CHANGED
@@ -5,7 +5,7 @@ class Admin::Param < ActiveRecord::Base
|
|
5
5
|
has_many :items, :class_name=>'Admin::ItemParam'
|
6
6
|
accepts_nested_attributes_for :items
|
7
7
|
|
8
|
-
attr_accessible :name, :pos ,:items_attributes
|
8
|
+
attr_accessible :name, :pos ,:items_attributes ,:value
|
9
9
|
|
10
10
|
def self.method_missing(method, *args)
|
11
11
|
method_name = method.to_s
|
@@ -33,9 +33,10 @@ class Admin::Param < ActiveRecord::Base
|
|
33
33
|
|
34
34
|
var_name = method_name.gsub('=', '')
|
35
35
|
value = args.first
|
36
|
-
|
36
|
+
o= items.where(:name=>var_name).first
|
37
37
|
if o==nil
|
38
|
-
o=
|
38
|
+
o=items.new
|
39
|
+
o.name= var_name
|
39
40
|
end
|
40
41
|
o.value = value
|
41
42
|
o.save
|
@@ -1,42 +1,45 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
-if is_mobile_request?
|
2
|
+
%div{'data-role' => 'collapsible-set', 'data-theme'=>"c" ,'data-content-theme'=>"c"}
|
3
|
+
- @admin_params.each do |p|
|
4
|
+
%div{'data-role' => 'collapsible'}
|
5
|
+
%h3
|
6
|
+
=p.name
|
7
|
+
%div
|
8
|
+
=semantic_form_for p do |f|
|
9
|
+
=f.semantic_fields_for :items do |item|
|
10
|
+
%div{'data-role' => 'fieldcontain'}
|
11
|
+
=item.input :value,:label=> item.object.name
|
12
|
+
= f.actions do
|
13
|
+
.center-button
|
14
|
+
= f.action :submit, :as => :button , :button_html => {'data-icon'=>"check",'data-inline'=>"true",'data-theme'=>"b",'data-mini'=>"true"}
|
3
15
|
|
4
|
-
|
5
|
-
|
6
|
-
|
16
|
+
|
17
|
+
-else
|
18
|
+
= javascript_include_tag 'jquery-ui'
|
19
|
+
= stylesheet_link_tag "aslon_jquery_ui_css/jquery-ui", :media=>"all"
|
20
|
+
|
21
|
+
:javascript
|
22
|
+
$(function() {
|
23
|
+
$( "#tabs" ).tabs({
|
24
|
+
});
|
25
|
+
})
|
26
|
+
$(function() {
|
27
|
+
$( "#accordion" ).accordion({
|
28
|
+
collapsible: true,
|
29
|
+
autoHeight: false
|
7
30
|
});
|
8
|
-
})
|
9
|
-
$(function() {
|
10
|
-
$( "#accordion" ).accordion({
|
11
|
-
collapsible: true,
|
12
|
-
autoHeight: false
|
13
31
|
});
|
14
|
-
});
|
15
32
|
|
16
33
|
|
17
|
-
#accordion
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
-# #tabs
|
30
|
-
-# %ul
|
31
|
-
-# - @admin_params.each do |p|
|
32
|
-
-# %li
|
33
|
-
-# %a{:href=>"#t#{p.id}"}
|
34
|
-
-# =p.name
|
35
|
-
-#
|
36
|
-
-# - @admin_params.each do |p|
|
37
|
-
-# ="<div id=t#{p.id}>".html_safe
|
38
|
-
-# =semantic_form_for p do |f|
|
39
|
-
-# =f.semantic_fields_for :items do |item|
|
40
|
-
-# =item.input :value,:label=> item.object.name
|
41
|
-
-# = f.buttons
|
42
|
-
-# ="</div>".html_safe
|
34
|
+
#accordion
|
35
|
+
- @admin_params.each do |p|
|
36
|
+
%h3
|
37
|
+
%a{:href=>"#"}=p.name
|
38
|
+
%div
|
39
|
+
=semantic_form_for p do |f|
|
40
|
+
=f.semantic_fields_for :items do |item|
|
41
|
+
%div{'data-role' => 'fieldcontain'}
|
42
|
+
=item.input :value,:label=> item.object.name
|
43
|
+
= f.actions do
|
44
|
+
= f.action :submit, :as => :button
|
45
|
+
|
Binary file
|
@@ -3297,3 +3297,313 @@ ActionView::Template::Error (Could not find table 'params'):
|
|
3297
3297
|
Rendered /Users/alban/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (3.3ms)
|
3298
3298
|
Rendered /Users/alban/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.9ms)
|
3299
3299
|
Rendered /Users/alban/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (36.9ms)
|
3300
|
+
|
3301
|
+
|
3302
|
+
Started GET "/admin/params" for 127.0.0.1 at 2012-02-02 20:58:14 +0100
|
3303
|
+
Processing by Admin::ParamsController#index as HTML
|
3304
|
+
Compiled aslon_jquery_ui_css/jquery-ui.css (0ms) (pid 71166)
|
3305
|
+
[1m[36mAdmin::Param Load (0.7ms)[0m [1mSELECT "admin_params".* FROM "admin_params" WHERE (1=1) LIMIT 30 OFFSET 0[0m
|
3306
|
+
[1m[35mAdmin::ItemParam Load (1.7ms)[0m SELECT "admin_item_params".* FROM "admin_item_params" WHERE "admin_item_params"."param_id" = 1
|
3307
|
+
Rendered /Users/alban/RubymineProjects/plugs/aslon_settings/app/views/admin/params/index.html.haml within layouts/application (240.1ms)
|
3308
|
+
Completed 200 OK in 328ms (Views: 323.1ms | ActiveRecord: 2.7ms)
|
3309
|
+
|
3310
|
+
|
3311
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-02-02 20:58:14 +0100
|
3312
|
+
Served asset /application.css - 304 Not Modified (3ms)
|
3313
|
+
|
3314
|
+
|
3315
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-02-02 20:58:14 +0100
|
3316
|
+
Served asset /jquery.js - 304 Not Modified (12ms)
|
3317
|
+
|
3318
|
+
|
3319
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-02-02 20:58:14 +0100
|
3320
|
+
Served asset /jquery_ujs.js - 304 Not Modified (3ms)
|
3321
|
+
|
3322
|
+
|
3323
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-02-02 20:58:14 +0100
|
3324
|
+
Served asset /application.js - 304 Not Modified (33ms)
|
3325
|
+
|
3326
|
+
|
3327
|
+
Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-02-02 20:58:14 +0100
|
3328
|
+
Served asset /jquery-ui.js - 304 Not Modified (4ms)
|
3329
|
+
|
3330
|
+
|
3331
|
+
Started GET "/assets/aslon_jquery_ui_css/jquery-ui.css?body=1" for 127.0.0.1 at 2012-02-02 20:58:14 +0100
|
3332
|
+
Served asset /aslon_jquery_ui_css/jquery-ui.css - 304 Not Modified (3ms)
|
3333
|
+
|
3334
|
+
|
3335
|
+
Started GET "/assets/aslon_jquery_ui_css/images/ui-icons_454545_256x240.png" for 127.0.0.1 at 2012-02-02 20:58:14 +0100
|
3336
|
+
Served asset /aslon_jquery_ui_css/images/ui-icons_454545_256x240.png - 304 Not Modified (11ms)
|
3337
|
+
|
3338
|
+
|
3339
|
+
Started GET "/assets/aslon_jquery_ui_css/images/ui-bg_flat_75_ffffff_40x100.png" for 127.0.0.1 at 2012-02-02 20:58:14 +0100
|
3340
|
+
Served asset /aslon_jquery_ui_css/images/ui-bg_flat_75_ffffff_40x100.png - 304 Not Modified (9ms)
|
3341
|
+
|
3342
|
+
|
3343
|
+
Started GET "/assets/aslon_jquery_ui_css/images/ui-bg_glass_65_ffffff_1x400.png" for 127.0.0.1 at 2012-02-02 20:58:14 +0100
|
3344
|
+
Served asset /aslon_jquery_ui_css/images/ui-bg_glass_65_ffffff_1x400.png - 304 Not Modified (9ms)
|
3345
|
+
|
3346
|
+
|
3347
|
+
Started GET "/admin/params" for 127.0.0.1 at 2012-02-02 20:58:16 +0100
|
3348
|
+
Processing by Admin::ParamsController#index as HTML
|
3349
|
+
[1m[36mAdmin::Param Load (0.1ms)[0m [1mSELECT "admin_params".* FROM "admin_params" WHERE (1=1) LIMIT 30 OFFSET 0[0m
|
3350
|
+
[1m[35mAdmin::ItemParam Load (0.2ms)[0m SELECT "admin_item_params".* FROM "admin_item_params" WHERE "admin_item_params"."param_id" = 1
|
3351
|
+
Rendered /Users/alban/RubymineProjects/plugs/aslon_settings/app/views/admin/params/index.html.haml within layouts/application (15.0ms)
|
3352
|
+
Completed 200 OK in 22ms (Views: 20.5ms | ActiveRecord: 0.4ms)
|
3353
|
+
|
3354
|
+
|
3355
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-02-02 20:58:16 +0100
|
3356
|
+
Served asset /application.css - 304 Not Modified (0ms)
|
3357
|
+
|
3358
|
+
|
3359
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-02-02 20:58:16 +0100
|
3360
|
+
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
|
3361
|
+
|
3362
|
+
|
3363
|
+
Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-02-02 20:58:16 +0100
|
3364
|
+
Served asset /jquery-ui.js - 304 Not Modified (0ms)
|
3365
|
+
|
3366
|
+
|
3367
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-02-02 20:58:16 +0100
|
3368
|
+
Served asset /jquery.js - 304 Not Modified (0ms)
|
3369
|
+
|
3370
|
+
|
3371
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-02-02 20:58:16 +0100
|
3372
|
+
Served asset /application.js - 304 Not Modified (0ms)
|
3373
|
+
|
3374
|
+
|
3375
|
+
Started GET "/assets/aslon_jquery_ui_css/jquery-ui.css?body=1" for 127.0.0.1 at 2012-02-02 20:58:16 +0100
|
3376
|
+
Served asset /aslon_jquery_ui_css/jquery-ui.css - 304 Not Modified (0ms)
|
3377
|
+
|
3378
|
+
|
3379
|
+
Started GET "/assets/aslon_jquery_ui_css/images/ui-icons_454545_256x240.png" for 127.0.0.1 at 2012-02-02 20:58:16 +0100
|
3380
|
+
Served asset /aslon_jquery_ui_css/images/ui-icons_454545_256x240.png - 304 Not Modified (0ms)
|
3381
|
+
|
3382
|
+
|
3383
|
+
Started GET "/assets/aslon_jquery_ui_css/images/ui-bg_glass_65_ffffff_1x400.png" for 127.0.0.1 at 2012-02-02 20:58:16 +0100
|
3384
|
+
Served asset /aslon_jquery_ui_css/images/ui-bg_glass_65_ffffff_1x400.png - 304 Not Modified (0ms)
|
3385
|
+
|
3386
|
+
|
3387
|
+
Started GET "/assets/aslon_jquery_ui_css/images/ui-bg_flat_75_ffffff_40x100.png" for 127.0.0.1 at 2012-02-02 20:58:16 +0100
|
3388
|
+
Served asset /aslon_jquery_ui_css/images/ui-bg_flat_75_ffffff_40x100.png - 304 Not Modified (0ms)
|
3389
|
+
|
3390
|
+
|
3391
|
+
Started PUT "/admin/params/1" for 127.0.0.1 at 2012-02-02 20:58:19 +0100
|
3392
|
+
Processing by Admin::ParamsController#update as HTML
|
3393
|
+
Parameters: {"utf8"=>"✓", "authenticity_token"=>"l+zSAhaYVE7e5pvqzxuqLTSGl/N6Tgad7Um4yjsrS0g=", "admin_param"=>{"items_attributes"=>{"0"=>{"value"=>"MKMLK", "id"=>"1"}}}, "commit"=>"Update Param", "id"=>"1"}
|
3394
|
+
[1m[36mAdmin::Param Load (0.3ms)[0m [1mSELECT "admin_params".* FROM "admin_params" WHERE "admin_params"."id" = ? LIMIT 1[0m [["id", "1"]]
|
3395
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3396
|
+
[1m[36mAdmin::ItemParam Load (0.2ms)[0m [1mSELECT "admin_item_params".* FROM "admin_item_params" WHERE "admin_item_params"."param_id" = 1 AND "admin_item_params"."id" IN (1)[0m
|
3397
|
+
[1m[35m (0.1ms)[0m commit transaction
|
3398
|
+
Redirected to http://localhost:3000/admin/params
|
3399
|
+
Completed 302 Found in 12ms (ActiveRecord: 0.6ms)
|
3400
|
+
|
3401
|
+
|
3402
|
+
Started GET "/admin/params" for 127.0.0.1 at 2012-02-02 20:58:19 +0100
|
3403
|
+
Processing by Admin::ParamsController#index as HTML
|
3404
|
+
[1m[36mAdmin::Param Load (0.2ms)[0m [1mSELECT "admin_params".* FROM "admin_params" WHERE (1=1) LIMIT 30 OFFSET 0[0m
|
3405
|
+
[1m[35mAdmin::ItemParam Load (0.1ms)[0m SELECT "admin_item_params".* FROM "admin_item_params" WHERE "admin_item_params"."param_id" = 1
|
3406
|
+
Rendered /Users/alban/RubymineProjects/plugs/aslon_settings/app/views/admin/params/index.html.haml within layouts/application (10.8ms)
|
3407
|
+
Completed 200 OK in 19ms (Views: 15.7ms | ActiveRecord: 0.3ms)
|
3408
|
+
|
3409
|
+
|
3410
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-02-02 20:58:19 +0100
|
3411
|
+
Served asset /application.css - 304 Not Modified (0ms)
|
3412
|
+
|
3413
|
+
|
3414
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-02-02 20:58:19 +0100
|
3415
|
+
Served asset /jquery.js - 304 Not Modified (0ms)
|
3416
|
+
|
3417
|
+
|
3418
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-02-02 20:58:19 +0100
|
3419
|
+
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
|
3420
|
+
|
3421
|
+
|
3422
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-02-02 20:58:19 +0100
|
3423
|
+
Served asset /application.js - 304 Not Modified (0ms)
|
3424
|
+
|
3425
|
+
|
3426
|
+
Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-02-02 20:58:19 +0100
|
3427
|
+
Served asset /jquery-ui.js - 304 Not Modified (0ms)
|
3428
|
+
|
3429
|
+
|
3430
|
+
Started GET "/assets/aslon_jquery_ui_css/jquery-ui.css?body=1" for 127.0.0.1 at 2012-02-02 20:58:19 +0100
|
3431
|
+
Served asset /aslon_jquery_ui_css/jquery-ui.css - 304 Not Modified (0ms)
|
3432
|
+
|
3433
|
+
|
3434
|
+
Started GET "/assets/aslon_jquery_ui_css/images/ui-icons_454545_256x240.png" for 127.0.0.1 at 2012-02-02 20:58:19 +0100
|
3435
|
+
Served asset /aslon_jquery_ui_css/images/ui-icons_454545_256x240.png - 304 Not Modified (0ms)
|
3436
|
+
|
3437
|
+
|
3438
|
+
Started GET "/assets/aslon_jquery_ui_css/images/ui-bg_glass_65_ffffff_1x400.png" for 127.0.0.1 at 2012-02-02 20:58:19 +0100
|
3439
|
+
Served asset /aslon_jquery_ui_css/images/ui-bg_glass_65_ffffff_1x400.png - 304 Not Modified (0ms)
|
3440
|
+
|
3441
|
+
|
3442
|
+
Started GET "/assets/aslon_jquery_ui_css/images/ui-bg_flat_75_ffffff_40x100.png" for 127.0.0.1 at 2012-02-02 20:58:19 +0100
|
3443
|
+
Served asset /aslon_jquery_ui_css/images/ui-bg_flat_75_ffffff_40x100.png - 304 Not Modified (0ms)
|
3444
|
+
|
3445
|
+
|
3446
|
+
Started PUT "/admin/params/1" for 127.0.0.1 at 2012-02-02 20:58:20 +0100
|
3447
|
+
Processing by Admin::ParamsController#update as HTML
|
3448
|
+
Parameters: {"utf8"=>"✓", "authenticity_token"=>"l+zSAhaYVE7e5pvqzxuqLTSGl/N6Tgad7Um4yjsrS0g=", "admin_param"=>{"items_attributes"=>{"0"=>{"value"=>"MKMLK", "id"=>"1"}}}, "commit"=>"Update Param", "id"=>"1"}
|
3449
|
+
[1m[36mAdmin::Param Load (0.1ms)[0m [1mSELECT "admin_params".* FROM "admin_params" WHERE "admin_params"."id" = ? LIMIT 1[0m [["id", "1"]]
|
3450
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3451
|
+
[1m[36mAdmin::ItemParam Load (0.2ms)[0m [1mSELECT "admin_item_params".* FROM "admin_item_params" WHERE "admin_item_params"."param_id" = 1 AND "admin_item_params"."id" IN (1)[0m
|
3452
|
+
[1m[35m (0.0ms)[0m commit transaction
|
3453
|
+
Redirected to http://localhost:3000/admin/params
|
3454
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
3455
|
+
|
3456
|
+
|
3457
|
+
Started GET "/admin/params" for 127.0.0.1 at 2012-02-02 20:58:20 +0100
|
3458
|
+
Processing by Admin::ParamsController#index as HTML
|
3459
|
+
[1m[36mAdmin::Param Load (0.1ms)[0m [1mSELECT "admin_params".* FROM "admin_params" WHERE (1=1) LIMIT 30 OFFSET 0[0m
|
3460
|
+
[1m[35mAdmin::ItemParam Load (0.1ms)[0m SELECT "admin_item_params".* FROM "admin_item_params" WHERE "admin_item_params"."param_id" = 1
|
3461
|
+
Rendered /Users/alban/RubymineProjects/plugs/aslon_settings/app/views/admin/params/index.html.haml within layouts/application (9.9ms)
|
3462
|
+
Completed 200 OK in 15ms (Views: 13.4ms | ActiveRecord: 0.3ms)
|
3463
|
+
|
3464
|
+
|
3465
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-02-02 20:58:20 +0100
|
3466
|
+
Served asset /application.css - 304 Not Modified (0ms)
|
3467
|
+
|
3468
|
+
|
3469
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-02-02 20:58:20 +0100
|
3470
|
+
Served asset /jquery.js - 304 Not Modified (0ms)
|
3471
|
+
|
3472
|
+
|
3473
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-02-02 20:58:20 +0100
|
3474
|
+
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
|
3475
|
+
|
3476
|
+
|
3477
|
+
Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-02-02 20:58:20 +0100
|
3478
|
+
Served asset /jquery-ui.js - 304 Not Modified (0ms)
|
3479
|
+
|
3480
|
+
|
3481
|
+
Started GET "/assets/aslon_jquery_ui_css/jquery-ui.css?body=1" for 127.0.0.1 at 2012-02-02 20:58:20 +0100
|
3482
|
+
Served asset /aslon_jquery_ui_css/jquery-ui.css - 304 Not Modified (0ms)
|
3483
|
+
|
3484
|
+
|
3485
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-02-02 20:58:20 +0100
|
3486
|
+
Served asset /application.js - 304 Not Modified (0ms)
|
3487
|
+
|
3488
|
+
|
3489
|
+
Started GET "/assets/aslon_jquery_ui_css/images/ui-icons_454545_256x240.png" for 127.0.0.1 at 2012-02-02 20:58:20 +0100
|
3490
|
+
Served asset /aslon_jquery_ui_css/images/ui-icons_454545_256x240.png - 304 Not Modified (0ms)
|
3491
|
+
|
3492
|
+
|
3493
|
+
Started GET "/assets/aslon_jquery_ui_css/images/ui-bg_glass_65_ffffff_1x400.png" for 127.0.0.1 at 2012-02-02 20:58:20 +0100
|
3494
|
+
Served asset /aslon_jquery_ui_css/images/ui-bg_glass_65_ffffff_1x400.png - 304 Not Modified (0ms)
|
3495
|
+
|
3496
|
+
|
3497
|
+
Started GET "/assets/aslon_jquery_ui_css/images/ui-bg_flat_75_ffffff_40x100.png" for 127.0.0.1 at 2012-02-02 20:58:20 +0100
|
3498
|
+
Served asset /aslon_jquery_ui_css/images/ui-bg_flat_75_ffffff_40x100.png - 304 Not Modified (0ms)
|
3499
|
+
|
3500
|
+
|
3501
|
+
Started PUT "/admin/params/1" for 127.0.0.1 at 2012-02-02 20:58:24 +0100
|
3502
|
+
Processing by Admin::ParamsController#update as HTML
|
3503
|
+
Parameters: {"utf8"=>"✓", "authenticity_token"=>"l+zSAhaYVE7e5pvqzxuqLTSGl/N6Tgad7Um4yjsrS0g=", "admin_param"=>{"items_attributes"=>{"0"=>{"value"=>"MKMLK", "id"=>"1"}}}, "commit"=>"Update Param", "id"=>"1"}
|
3504
|
+
[1m[36mAdmin::Param Load (0.1ms)[0m [1mSELECT "admin_params".* FROM "admin_params" WHERE "admin_params"."id" = ? LIMIT 1[0m [["id", "1"]]
|
3505
|
+
[1m[35m (0.1ms)[0m begin transaction
|
3506
|
+
[1m[36mAdmin::ItemParam Load (0.4ms)[0m [1mSELECT "admin_item_params".* FROM "admin_item_params" WHERE "admin_item_params"."param_id" = 1 AND "admin_item_params"."id" IN (1)[0m
|
3507
|
+
[1m[35m (0.1ms)[0m commit transaction
|
3508
|
+
Redirected to http://localhost:3000/admin/params
|
3509
|
+
Completed 302 Found in 6ms (ActiveRecord: 0.6ms)
|
3510
|
+
|
3511
|
+
|
3512
|
+
Started GET "/admin/params" for 127.0.0.1 at 2012-02-02 20:58:24 +0100
|
3513
|
+
Processing by Admin::ParamsController#index as HTML
|
3514
|
+
[1m[36mAdmin::Param Load (0.1ms)[0m [1mSELECT "admin_params".* FROM "admin_params" WHERE (1=1) LIMIT 30 OFFSET 0[0m
|
3515
|
+
[1m[35mAdmin::ItemParam Load (0.2ms)[0m SELECT "admin_item_params".* FROM "admin_item_params" WHERE "admin_item_params"."param_id" = 1
|
3516
|
+
Rendered /Users/alban/RubymineProjects/plugs/aslon_settings/app/views/admin/params/index.html.haml within layouts/application (10.1ms)
|
3517
|
+
Completed 200 OK in 15ms (Views: 13.5ms | ActiveRecord: 0.3ms)
|
3518
|
+
|
3519
|
+
|
3520
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-02-02 20:58:24 +0100
|
3521
|
+
Served asset /application.css - 304 Not Modified (0ms)
|
3522
|
+
|
3523
|
+
|
3524
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-02-02 20:58:24 +0100
|
3525
|
+
Served asset /application.js - 304 Not Modified (0ms)
|
3526
|
+
|
3527
|
+
|
3528
|
+
Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-02-02 20:58:24 +0100
|
3529
|
+
Served asset /jquery-ui.js - 304 Not Modified (0ms)
|
3530
|
+
|
3531
|
+
|
3532
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-02-02 20:58:24 +0100
|
3533
|
+
Served asset /jquery.js - 304 Not Modified (0ms)
|
3534
|
+
|
3535
|
+
|
3536
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-02-02 20:58:24 +0100
|
3537
|
+
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
|
3538
|
+
|
3539
|
+
|
3540
|
+
Started GET "/assets/aslon_jquery_ui_css/jquery-ui.css?body=1" for 127.0.0.1 at 2012-02-02 20:58:24 +0100
|
3541
|
+
Served asset /aslon_jquery_ui_css/jquery-ui.css - 304 Not Modified (0ms)
|
3542
|
+
|
3543
|
+
|
3544
|
+
Started GET "/assets/aslon_jquery_ui_css/images/ui-icons_454545_256x240.png" for 127.0.0.1 at 2012-02-02 20:58:24 +0100
|
3545
|
+
Served asset /aslon_jquery_ui_css/images/ui-icons_454545_256x240.png - 304 Not Modified (0ms)
|
3546
|
+
|
3547
|
+
|
3548
|
+
Started GET "/assets/aslon_jquery_ui_css/images/ui-bg_flat_75_ffffff_40x100.png" for 127.0.0.1 at 2012-02-02 20:58:24 +0100
|
3549
|
+
Served asset /aslon_jquery_ui_css/images/ui-bg_flat_75_ffffff_40x100.png - 304 Not Modified (0ms)
|
3550
|
+
|
3551
|
+
|
3552
|
+
Started GET "/assets/aslon_jquery_ui_css/images/ui-bg_glass_65_ffffff_1x400.png" for 127.0.0.1 at 2012-02-02 20:58:24 +0100
|
3553
|
+
Served asset /aslon_jquery_ui_css/images/ui-bg_glass_65_ffffff_1x400.png - 304 Not Modified (0ms)
|
3554
|
+
|
3555
|
+
|
3556
|
+
Started PUT "/admin/params/1" for 127.0.0.1 at 2012-02-02 20:58:26 +0100
|
3557
|
+
Processing by Admin::ParamsController#update as HTML
|
3558
|
+
Parameters: {"utf8"=>"✓", "authenticity_token"=>"l+zSAhaYVE7e5pvqzxuqLTSGl/N6Tgad7Um4yjsrS0g=", "admin_param"=>{"items_attributes"=>{"0"=>{"value"=>"MKMLKmlkml", "id"=>"1"}}}, "commit"=>"Update Param", "id"=>"1"}
|
3559
|
+
[1m[36mAdmin::Param Load (0.2ms)[0m [1mSELECT "admin_params".* FROM "admin_params" WHERE "admin_params"."id" = ? LIMIT 1[0m [["id", "1"]]
|
3560
|
+
[1m[35m (0.1ms)[0m begin transaction
|
3561
|
+
[1m[36mAdmin::ItemParam Load (0.2ms)[0m [1mSELECT "admin_item_params".* FROM "admin_item_params" WHERE "admin_item_params"."param_id" = 1 AND "admin_item_params"."id" IN (1)[0m
|
3562
|
+
[1m[35m (0.3ms)[0m UPDATE "admin_item_params" SET "value" = 'MKMLKmlkml', "updated_at" = '2012-02-02 19:58:26.787955' WHERE "admin_item_params"."id" = 1
|
3563
|
+
[1m[36m (5.6ms)[0m [1mcommit transaction[0m
|
3564
|
+
Redirected to http://localhost:3000/admin/params
|
3565
|
+
Completed 302 Found in 59ms (ActiveRecord: 6.4ms)
|
3566
|
+
|
3567
|
+
|
3568
|
+
Started GET "/admin/params" for 127.0.0.1 at 2012-02-02 20:58:26 +0100
|
3569
|
+
Processing by Admin::ParamsController#index as HTML
|
3570
|
+
[1m[35mAdmin::Param Load (0.2ms)[0m SELECT "admin_params".* FROM "admin_params" WHERE (1=1) LIMIT 30 OFFSET 0
|
3571
|
+
[1m[36mAdmin::ItemParam Load (0.1ms)[0m [1mSELECT "admin_item_params".* FROM "admin_item_params" WHERE "admin_item_params"."param_id" = 1[0m
|
3572
|
+
Rendered /Users/alban/RubymineProjects/plugs/aslon_settings/app/views/admin/params/index.html.haml within layouts/application (10.1ms)
|
3573
|
+
Completed 200 OK in 15ms (Views: 14.0ms | ActiveRecord: 0.3ms)
|
3574
|
+
|
3575
|
+
|
3576
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-02-02 20:58:26 +0100
|
3577
|
+
Served asset /application.css - 304 Not Modified (0ms)
|
3578
|
+
|
3579
|
+
|
3580
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-02-02 20:58:26 +0100
|
3581
|
+
Served asset /application.js - 304 Not Modified (0ms)
|
3582
|
+
|
3583
|
+
|
3584
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-02-02 20:58:26 +0100
|
3585
|
+
Served asset /jquery.js - 304 Not Modified (0ms)
|
3586
|
+
|
3587
|
+
|
3588
|
+
Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-02-02 20:58:26 +0100
|
3589
|
+
Served asset /jquery-ui.js - 304 Not Modified (0ms)
|
3590
|
+
|
3591
|
+
|
3592
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-02-02 20:58:26 +0100
|
3593
|
+
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
|
3594
|
+
|
3595
|
+
|
3596
|
+
Started GET "/assets/aslon_jquery_ui_css/jquery-ui.css?body=1" for 127.0.0.1 at 2012-02-02 20:58:26 +0100
|
3597
|
+
Served asset /aslon_jquery_ui_css/jquery-ui.css - 304 Not Modified (0ms)
|
3598
|
+
|
3599
|
+
|
3600
|
+
Started GET "/assets/aslon_jquery_ui_css/images/ui-icons_454545_256x240.png" for 127.0.0.1 at 2012-02-02 20:58:27 +0100
|
3601
|
+
Served asset /aslon_jquery_ui_css/images/ui-icons_454545_256x240.png - 304 Not Modified (0ms)
|
3602
|
+
|
3603
|
+
|
3604
|
+
Started GET "/assets/aslon_jquery_ui_css/images/ui-bg_glass_65_ffffff_1x400.png" for 127.0.0.1 at 2012-02-02 20:58:27 +0100
|
3605
|
+
Served asset /aslon_jquery_ui_css/images/ui-bg_glass_65_ffffff_1x400.png - 304 Not Modified (0ms)
|
3606
|
+
|
3607
|
+
|
3608
|
+
Started GET "/assets/aslon_jquery_ui_css/images/ui-bg_flat_75_ffffff_40x100.png" for 127.0.0.1 at 2012-02-02 20:58:27 +0100
|
3609
|
+
Served asset /aslon_jquery_ui_css/images/ui-bg_flat_75_ffffff_40x100.png - 304 Not Modified (0ms)
|