Skip to content

Commit

Permalink
Removing redundant Sequel::Model#is call
Browse files Browse the repository at this point in the history
  • Loading branch information
Saimon Moore committed Nov 26, 2010
1 parent d2db77a commit 240f17d
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions spec/sequel-setup.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ class Asset < Sequel::Model
varchar :attachable_type
end

is :polymorphic
belongs_to :attachable, :polymorphic => true

end
Expand All @@ -22,7 +21,6 @@ class Post < Sequel::Model
varchar :name
end

is :polymorphic
has_many :assets, :as => :attachable
end

Expand All @@ -33,7 +31,6 @@ class Note < Sequel::Model
varchar :name
end

is :polymorphic
has_many :assets, :as => :attachable
end

Expand Down

0 comments on commit 240f17d

Please sign in to comment.