You don't need to do rails g model Payable/Account just Account works

On Jun 1, 2011, at 10:50 AM, Vinícius Rodrigues wrote:

> Actually my last line reads:
> 
> Sisteger::Application.routes.draw do
> 
> match 'home' => 'home#index'
> 
> namespace :payable do
> resources :account
> end
> 
> root :to => 'home#index'
> 
> match ':controller(/:action(/:id(.:format)))'
> 
> end
> 
> I generated the model and controller as follows:
> 
> rails g model Payable/Account
> 
> rails g controller Payable/Accounts
> 
> This is right?
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Ruby on Rails: Talk" group.
> To view this discussion on the web visit 
> https://groups.google.com/d/msg/rubyonrails-talk/-/QXd5dGZNMVlEelVK.
> 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.


Cordialmente,


Fábio Rodriguez (Brajola)
Analista de Sistemas / Systems Analyst

[email protected]
[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 this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to