mirror of
https://github.com/TracksApp/tracks.git
synced 2026-01-17 06:35:28 +01:00
taggable_type should be accessible for test
This commit is contained in:
parent
cc21081d77
commit
1234abb266
2 changed files with 3 additions and 3 deletions
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
class Tagging < ActiveRecord::Base
|
||||
|
||||
attr_accessible :taggable_id, :tag
|
||||
attr_accessible :taggable_id, :tag, :taggable_type
|
||||
|
||||
belongs_to :tag
|
||||
belongs_to :taggable, :polymorphic => true, :touch => true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue