[Rails] Re: Re: Dynamic form? Not really!

Kevin Olbrich kevin.olbrich at duke.edu
Sun Jan 1 13:16:46 GMT 2006


Gerard wrote:
> Kevin,
> 
> I did not digest the helper chapter yet in the Agile webdev book, but I 
> asume
> you mean create a shareable function called cycle, and remove the code 
> from
> the view?
> 
> Grtz n Thanx
> 
> Gerard.

'cycle' is a predefined helper for doing table striping.

See
http://api.rubyonrails.com/classes/ActionView/Helpers/TextHelper.html#M000430

-- 
Posted via http://www.ruby-forum.com/.


More information about the Rails mailing list