Sha256: 94e35c53f5e53a6c78d23a7bc74bf3cbf8b9e897815f56a8518d9fae5a006699

Contents?: true

Size: 299 Bytes

Versions: 24

Compression:

Stored size: 299 Bytes

Contents

class Comment
  attr_accessor :user_id

  def initialize user_id
    self.user_id = user_id
  end
end

class Post
  attr_accessor :writer  

  def initialize user_id
    self.writer = user_id
  end
end

class Article
  attr_accessor :author
  
  def initialize name
    self.author = name
  end
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
cancan-permits-0.3.12 spec/generic/models/all_models.rb
cancan-permits-0.3.11 spec/generic/models/all_models.rb
cancan-permits-0.3.10 spec/generic/models/all_models.rb
cancan-permits-0.3.9 spec/generic/models/all_models.rb
cancan-permits-0.3.8 spec/generic/models/all_models.rb
cancan-permits-0.3.7 spec/generic/models/all_models.rb
cancan-permits-0.3.6 spec/generic/models/all_models.rb
cancan-permits-0.3.5 spec/generic/models/all_models.rb
cancan-permits-0.3.4 spec/generic/models/all_models.rb
cancan-permits-0.3.2 spec/generic/models/all_models.rb
cancan-permits-0.3.1 spec/generic/models/all_models.rb
cancan-permits-0.3.0 spec/generic/models/all_models.rb
cancan-permits-0.2.9 spec/generic/models/all_models.rb
cancan-permits-0.2.8 spec/generic/models/all_models.rb
cancan-permits-0.2.7 spec/generic/models/all_models.rb
cancan-permits-0.2.5 spec/generic/models/all_models.rb
cancan-permits-0.2.3 spec/generic/permits/fixtures/models.rb
cancan-permits-0.2.2 spec/cancan-permits/permits/fixtures/models.rb
cancan-permits-0.2.1 spec/cancan-permits/permits/fixtures/models.rb
cancan-permits-0.1.4 spec/cancan-permits/permits/fixtures/models.rb