spec/rails/app/models/book.rb in faml-0.4.2 vs spec/rails/app/models/book.rb in faml-0.5.0
- old
+ new
@@ -1,8 +1,8 @@
class Book
include ActiveModel::Model
- attr_accessor :title
+ attr_accessor :id, :title
def to_s
"<span>#{title}</span>".html_safe
end
end