Here is a simple question - I think, but is has been giving me a
headache all day. When using a helper such as <%= text_field…%>, how
to I access that value when gathering it from params? Is it by the id or
the name?

in view
<%= text_field :post, :body %>

then in controller
@posts = Post.find :all, :conditions => [‘body = ?’,

is it like this?

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs