[Rails] Re: where do helper for a controller go?

2009-04-23 Thread PP Junty
in fact, if you are beginning, Altered Beast is better (just got a nice tip there :). -- Posted via http://www.ruby-forum.com/. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post t

[Rails] Re: where do helper for a controller go?

2009-04-23 Thread PP Junty
Heinz, methods in the helpers will be available (included) in the views, not in the controllers. Check a nice open source project, like the Mephisto, so you can see how more experienced railers solve such design problems. -- Posted via http://www.ruby-forum.com/. --~--~-~--~~--

[Rails] Re: where do helper for a controller go?

2009-04-23 Thread Rafael Schaer { beYou media }
Hi Heinz, can you be more specific? May be you could move it to your business logic, e.g. On 23 Apr., 11:23, Heinz Strunk wrote: > Hey, > > I just wanna make sure I'm right... I need to DRY my controller that's > why I put the code of 2 different actions into one action but I'm not > sure wher