On Aug 21, 2012, at 4:12 PM, Tim Slattery wrote: > I have a controller named RegistriesController. It contains a single > method: > > def edit > @jolts_registry = JoltsRegistry.new > end > > This runs, and the associated view is invoked. That stops on line 9: > > <%= form_for @jolts_registry do |f| %> > > The message is: > > undefined method `jolts_registries_path' for > #<#<Class:0x184fdd4>:0x1cf7aa0>
It means you haven't set up a route for it in routes.rb, but you're using one of the route helpers in your view anyway. But have you inspected what this named class is? Is it an instance of your JoltsRegistry model, or maybe nil? Walter > > What does that mean? > > -- > Tim Slattery > [email protected] > > -- > 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 https://groups.google.com/groups/opt_out. > > -- 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 https://groups.google.com/groups/opt_out.

