Skip to content

Commit

Permalink
attr-accessible changes for idea model
Browse files Browse the repository at this point in the history
  • Loading branch information
rtdp committed Jun 15, 2012
1 parent aa2b80a commit b40094a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/models/idea.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ class Idea < ActiveRecord::Base
has_many :categories, :through => :idea_categories

validates :user_id, :title, :original_desc, :presence => true
attr_accessible :title, :original_desc, :user_id, :category_ids, :github

attr_accessible :title, :original_desc, :user_id, :category_ids, :github, :description

before_save :format_description

Expand Down

0 comments on commit b40094a

Please sign in to comment.