unable to create record with has_mant :through relationship

An User can have many applications and an App can have many users. So I
would think...

class App < ActiveRecord::Base
has_and_belongs_to_many: users
end

class User < ActiveRecord::Base
  has_and_belongs_to_many: apps
end

let me know how it goes

http://www.craigslistcloned.com

yes, thats correct. but i'm going to add one more field called
permission in the join table. so used has_many :through

Have you got a corresponding model for Categorization?.

Rails List wrote:

let me know how it goes

http://www.craigslistcloned.com

yes, thats correct. but i'm going to add one more field called
permission in the join table. so used has_many :through

Have you got a corresponding model for Categorization?.

yes. it's in my 1st post under "code"
class Categorization < ActiveRecord::Base
  belongs_to :user
  belongs_to :app
end