21 Mar '13, 6am

[SF][Standup] 09/19/12: ActiveAdmin vs. RailsAdmin... Arrrggg! - Pivotal Labs:

[SF][Standup] 09/19/12: ActiveAdmin vs. RailsAdmin… Arrrggg! Tyler Schultz Wednesday, September 19, 2012 Interestings 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. 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. This is a performance ‘optimization’ that RailsAdmin adds. To turn it back on, so you can test custom actions: task :default => [:load_rai...

Full article: http://pivotallabs.com/sf-standup-09-19-12-activeadmin-vs...

Tweets

Drink up with Pivotal Labs @mwrc:

Drink up with Pivotal Labs @mwrc:

mtnwestrubyconf.org 26 Mar '13, 6pm

Pivotal Labs Closing Drinkup Close out the show with a beer (or wine), some snacks and conversation with the folks from Pi...

If you're interested in a recruiting career @pi...

pivotallabs.com 22 Mar '13, 6pm

As a recognized leader in highly disciplined agile software development practices, Pivotal Labs has been building high rel...

If you're interested in a recruiting career @pi...

pivotallabs.com 22 Mar '13, 6pm

As a recognized leader in highly disciplined agile software development practices, Pivotal Labs has been building high rel...

12 Dumb Things Sneakerheads Do On Twitter #sneakers

12 Dumb Things Sneakerheads Do On Twitter #snea...

complex.com 20 Mar '13, 3pm

Sup, fam? You good, bruh? You might be, but then again, you're probably not. Just like you probably think you're doing thi...