On Sun, Sep 6, 2009 at 3:59 PM, Michael R<[email protected]> wrote:
> When I attempt to create or edit data in my rails app; it INSERTs NULL
> values instead of the values I eintered in the form.
> meetmes_controller.rb
def create
@meetme = Meetme.new(params[:meetmes])
> meetme view (new)
<% form_for(@meetme) do |f| %>
Singular/plural mismatch? that is, shouldn't it be
@meetme = Meetme.new(params[:meetme]) # to match your form
--
Hassan Schroeder ------------------------ [email protected]
twitter: @hassan
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---