Commit Graph

19 Commits (f559869f56cfd25b136c72ab3c24213e72792061)

Author SHA1 Message Date
Guillaume Dott f559869f56 Add data_display and include module in specs 2014-08-11 09:12:41 +02:00
Guillaume Dott 8a838603ca Update dependencies to accept Rails >= 3.2.0 2014-08-07 17:42:30 +02:00
Guillaume Dott 9268dfb0b9 Do not automatically include TheModerator::Model in ActiveRecord::Base
When automatically including the module in ActiveRecord::Base, it gives
a hierarchy error with Rails 4.
The module must be included in the required models.
2014-08-07 17:42:30 +02:00
Guillaume Dott 31ba046295 Rename create_migration method in generator for Rails 4
Rails 4 already has a create_migration method in
Rails::Generators::Migration.
2014-08-07 17:42:30 +02:00
Michèle Marais 3a441d2c0c Fix bug when moderations are empty 2014-04-25 17:03:48 +02:00
Michèle Marais 6f09cf80a7 Add field for displayed data 2014-04-24 14:21:43 +02:00
Guillaume DOTT d47bc11145 Test moderation of fields of an associated model 2013-11-28 11:08:22 +01:00
Guillaume DOTT 1752c5a843 Add moderated_fields_for method 2013-11-28 11:08:22 +01:00
Guillaume DOTT 9c24f2fc1b Add more classes in dummy app to test association moderation 2013-11-28 11:08:22 +01:00
Guillaume DOTT 7612d2f45e Test ModerationModel methods 2013-11-28 11:08:22 +01:00
Guillaume DOTT d9b99bb6e7 Write description and summary 2013-11-28 11:08:22 +01:00
Guillaume DOTT 31090e74cc Use ActiveSupport::Concern for included modules 2013-11-28 11:08:21 +01:00
Guillaume DOTT 6257d03e45 Create dummy rails app with combustion and first tests 2013-11-28 11:08:21 +01:00
Guillaume DOTT 66fb7733b4 Force dependency to rails ~> 3.2.0 2013-11-28 11:08:21 +01:00
Guillaume DOTT 539883ec67 Moderate has_many and has_one associations 2013-11-28 11:08:21 +01:00
Guillaume DOTT 76ba4d22de Add moderated? method to check if an attribute is being moderated 2013-11-28 11:08:21 +01:00
Guillaume DOTT fc72e412bc Add install generator for migration and default model 2013-11-28 11:08:21 +01:00
Guillaume DOTT c3c4962d18 Add moderate method and ModerationModel class 2013-11-28 11:08:21 +01:00
Guillaume DOTT fa60263ecb First commit 2013-11-28 11:08:21 +01:00