Tag Archives: Rails
Changing the Rails field_error_proc on a per-controller or per-action basis
So we know we can change how rails displays errors in forms with fields that fail validation. I came across a reason to need to change the ActionView::Base.field_error_proc temporarily, and then set it back… sort of like having different values for the field_error_proc in different places. I came across this post that basically [...]
Using ActionMailer with SMTP in a development environment
I just ran in to a problem where I wanted to use SMTP delivery for an ActionMailer mail in a Rails app running on my local development machine. When I sent the email, it seemed to send with no problems (no errors raised) but it didn’t get delivered and I couldn’t find it. [...]
Huge Dropbox Cache File