With the resources :bill_recs, :path => '/finance' ... and scope "/finance" do ... it appears a message:
ActionController::RoutingError (uninitialized constant BillRecOffController): I need to put the models into a namespace beacause there are many files in my project, then Finance::BillRec and Finance::BillRecOff are on Finance model. And also on controllers. And BillRecOff belongs to BillRec, So, it has be as a resource of BillRec resources :bill_recs do resources :bill_rec_off end How I can do? -- 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 https://groups.google.com/groups/opt_out.

