On 17 May 2011 09:27, Eugen Ciur <lists@ruby-forum.com> wrote:
>> "The action 'posts' could not be found for UsersController"
>
> http://localhost:3000/users/posts
>
> Add 'posts' method to UsersController, and your problem is solved.
Or... you have just created a whole load of different problems... :-/
Instead, check the result of "rake routes" to see what routes Rails is
expecting - this might put you on the track towards what is not right
with your routing.
--
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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
No comments:
Post a Comment