On Fri, Aug 5, 2011 at 3:33 AM, Beau <[email protected]> wrote:
> <%= button_to "Complete!",user_actions_path,:action_id =>
> action.id, :method => :post %>
>
> This posts the page correctly, however it complains that the action/
> action_id is null
> I have no idea how to fix this too?. Anyone got any clues?
1) Use `View Source` to inspect the rendered HTML to see what
values are set there.
2) Look at your Rails log to see exactly what's being submitted.
If that doesn't show you the problem, post the relevant parts of both
those here.
--
Hassan Schroeder ------------------------ [email protected]
http://about.me/hassanschroeder
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.