Babak bsn wrote in post #1017480: > NoMethodError in Vorlesungs#new > > Showing /home/babak/Management/app/views/vorlesungs/new.erb where line > #1 raised: > > undefined method `vorlesungs_path' for #<#<Class:0xb6009cfc>:0xb6008f3c> > Extracted source (around line #1): >
I think that means you did not define the proper route in your config/routes.rb file. If you do this in your routes.rb file: SampleApp::Application.routes.draw do resources :vorlesung then rails defines a lot of what are called 'named routes' for you. Read this: http://guides.rubyonrails.org/routing.html -- 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 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.

