Commit ae97efa0af7e4873720ae918c99c3fdc7810e5cf
1 parent
30ffafc5
Exists in
master
and in
26 other branches
sub-organizations: add timestamp to relation
Showing
2 changed files
with
6 additions
and
2 deletions
Show diff stats
plugins/sub_organizations/db/migrate/20150508153119_add_timestamp_to_relation.rb
0 → 100644
plugins/sub_organizations/lib/sub_organizations_plugin/relation.rb
1 | class SubOrganizationsPlugin::Relation < Noosfero::Plugin::ActiveRecord | 1 | class SubOrganizationsPlugin::Relation < Noosfero::Plugin::ActiveRecord |
2 | - record_timestamps = false | ||
3 | - | ||
4 | belongs_to :parent, :polymorphic => true | 2 | belongs_to :parent, :polymorphic => true |
5 | belongs_to :child, :polymorphic => true | 3 | belongs_to :child, :polymorphic => true |
6 | 4 |