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.1.3 spec/cancan-permits/permits/fixtures/models.rb
cancan-permits-0.1.2 spec/cancan-permits/permits/fixtures/models.rb
cancan-permits-0.1.1 spec/cancan-permits/permits/fixtures/models.rb
cancan-permits-0.1.0 spec/cancan-permits/permits/fixtures/models.rb