Permalink
Browse files

Removing redundant Sequel::Model#is call

  • Loading branch information...
saimonmoore committed Nov 26, 2010
1 parent d2db77a commit 240f17d7e861aa4d09f982976755dfff8e23a7d3
Showing with 0 additions and 3 deletions.
  1. +0 −3 spec/sequel-setup.rb
View
@@ -11,7 +11,6 @@ class Asset < Sequel::Model
varchar :attachable_type
end
- is :polymorphic
belongs_to :attachable, :polymorphic => true
end
@@ -22,7 +21,6 @@ class Post < Sequel::Model
varchar :name
end
- is :polymorphic
has_many :assets, :as => :attachable
end
@@ -33,7 +31,6 @@ class Note < Sequel::Model
varchar :name
end
- is :polymorphic
has_many :assets, :as => :attachable
end

0 comments on commit 240f17d

Please sign in to comment.