Having an error catcher like Errbit behind SSL is generally a good idea. Especially when Errbit is hosted on a different server than you application (for example when you manage multiple apps with one Errbit instance). In many cases you will have a self-signed certificate (why would you pay for a cert for internal tool). […]
Read more at the sourceCategory Archives: Rails3
ClientSideValidations: Add/Map model validations to JS form validations
Easily map modal validation to client side javascript in Rails. Github: https://t.co/ucqUcsuO
Railscast: http://t.co/Og6vWbGy #rails
— Akhil Bansal (@bansalakhil) October 12, 2012
ActiveRecord after_commit hook
Most developers use ActiveRecord callbacks after_create/after_update/after_destroy to generate background job, expire cache, etc., but they don’t realize these callbacks are still wrapped in database transaction, they probably got unexpected results like the app queued a job but the record is not created/updated(transaction rolled back). For such situations after_commit callback should be used. after_commit is introduced … Continue reading ActiveRecord after_commit hook
Read more at the source