hmmm, I'm totally new to this, what exactly is a helper used for?  For
these kinds of constant-type things in a view?

On Mar 18, 3:08 pm, Colin Law <[email protected]> wrote:
> On 18 March 2010 13:53, ES <[email protected]> wrote:
>
> > yes I am going through create, should I make the @columns hash a class
> > variable or just repopulate it in the create method?
>
> You could populate it in a before or after_filter on those actions.  I
> have to say that the whole thing looks a bit odd.  Are you sure it
> should not be in a view helper for example?
>
> Colin

-- 
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 [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-talk?hl=en.

Reply via email to