search for: batch_act

Displaying 3 results from an estimated 3 matches for "batch_act".

2012 Oct 23
0
route problem
...t that localhost:3000/<category>/bericht/new I could write a new bericht which is stored in the <categoryname> But when I look at rake routes I dont see that route. rake routes gives this : admin_root /admin(.:format) admin/dashboard#index batch_action_admin_admin_users POST /admin/admin_users/batch_action(.:format) admin/admin_users#batch_action admin_admin_users GET /admin/admin_users(.:format) admin/admin_users#index POST /admin/admin_users(....
2012 Oct 18
0
unexpected return (LocalJumpError) only when executing this code within autoloaded classes?
....rb:251:in `require'' from /path/to/.rvm/gems/ruby-1.9.3-p194@some_app_gemset/gems/activeadmin-0.5.0/lib/active_admin/resource_controller.rb:2:in `<top (required)>'' from /path/to/.rvm/gems/ruby-1.9.3-p194@some_app_gemset/gems/activeadmin-0.5.0/lib/active_admin/batch_actions.rb:7:in `block in <top (required)>'' from /path/to/.rvm/gems/ruby-1.9.3-p194@some_app_gemset/gems/activeadmin-0.5.0/lib/active_admin/event.rb:25:in `call'' from /path/to/.rvm/gems/ruby-1.9.3-p194@some_app_gemset/gems/activeadmin-0.5.0/lib/active_admin/event...
2012 Oct 17
2
autolog: set_trace_func without all the typing
If it helps anyone developing Rails, apps, or gems, I wrote a shortcut for set_trace_func, so next time you want to just add a line before and after some function you are trying to debug you can have Ruby temporarily output every line, method, etc. executed. Also, it lets you define the format, use other loggers, etc. via a proc/lambda define, since you might not like the default format.