I'm working with BIND files and DNS. Sometimes the method isn't called from a controller. Sometimes it will be called from a cron tab and script/runner
On Nov 9, 4:30 pm, Matt Jones <[email protected]> wrote: > On Nov 9, 2009, at 7:06 PM, Hiro Protagonist wrote: > > > > > I just wanted a :before_find hook, saw the mail history from here > > during 2006 and they said do > > > def find > > # Before Find. > > super > > # After Find > > end > > > But now we know how that turns out. > > > Ultimately it isn't important to my app, but it would be nice when me > > or users forget trailing .s > > You might also want to think about doing this in a before_filter; > cleaning trailing spaces off of request parameters feels pretty > controller-y to me. > > --Matt Jones --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en -~----------~----~----~----~------~----~------~--~---
