[Rails] Re: Firing Rails Controller Actions From Command Line Console

2009-11-01 Thread JDevine
If you have time, please share your solution. I had a similar problem a while back, and ended up just using ActionMailer and creating a mail object and extracting the body. Other solutions required too much including different ActionView and ActionController modules ad nauseum. On Oct 31, 8:21 am

[Rails] Re: Firing Rails Controller Actions From Command Line Console

2009-10-31 Thread Katherine
Anyway... I've figured out the problem, Thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googlegroups.com To unsubscribe from

[Rails] Re: Firing Rails Controller Actions From Command Line Console

2009-10-31 Thread Katherine
The controller action is not that fat. It's just 3 lines which uses Notifier model to send a bunch of links like password reset url, login url and all that. There are realy no other tasks aside from sending out emails. So perhaps if it's easier to just try Firing model methods than controller acti

[Rails] Re: Firing Rails Controller Actions From Command Line Console

2009-10-30 Thread Tyler Jennings
I'm sorry if this derails your question, but it would be much better to factor the code so that the behavior your want to invoke is not tied up in the execution of the action. You might have heard smart people say Fat Model Skinny Controller