- ActiveAdmin after_save
If you are using ActiveAdmin, beware that the
after_save callback gets fired both when the model gets saved, and when there are validation errors on the model.
It really behaves like a callback after the model
save method gets called, regardless of its return value.
- Testing RailsAdmin custom actions
Let’s say you’re writing a RailsAdmin custom action, and you want to test it with a request spec.valium online no prescription
If the test passes when guard is on, but fails when guard is off, then you’ve forgotten that the RailsAdmin initializer does not run when loading a rake task. It does run as part of bundle exec guard start.buy tramadol without prescription
This is a performance ‘optimization’ that RailsAdmin adds.soma online no prescription
To turn it back on, so you can test custom actions:provigil online pharmacy
task :default => [:load_rails_admin_initializer]
task :load_rails_admin_initializer do
ENV[‘SKIP_RAILS_ADMIN_INITIALIZER’] = ‘false’
- International Talk Like a Pirate Day!
Arrrgggggg me mateys! To your pairs you scabrous dogs!ativan online no prescriptionbuy ambien without prescription buy klonopin online buy xanax online