Hello, 

I have this models 

class Berichten < ActiveRecord::Base
  attr_accessible :bericht, :user
  belongs_to :user
  belongs_to :Category
end

class User < ActiveRecord::Base
  attr_accessible :email, :name
  has_many :berichten
end

class Category < ActiveRecord::Base
  attr_accessible :id :name
  has_many :berichten
end

What I wonder is what the right url is when I want to place a new bericht 
into a specific category.
Is it localhost:3000/<categoryname>/bericht/new ?

Roelof

-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msg/rubyonrails-talk/-/B6Zj-4apP7wJ.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to