Hi all! I'm new to Rails and i have some problems with this code. I have this form in a view of page controller <%= form_for Lesson.new do %> <%= label_tag(:number, "Enter the number") %> <%= text_field_tag :number %> <%= label_tag(:root, "root") %> <%= text_field_tag :root %> <%= submit_tag("Submit") %> <% end %> In Lesson controller i've methods new create and soo on. I'm not sure how to use this form in another view. I have this error undefined method `lessons_path' I repeat i'm new to rails, have 2 days:)) -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/e3bc0a4a7d1e9eaa787ed9d63ef604aa%40ruby-forum.com. For more options, visit https://groups.google.com/d/optout.