| Class | Feature::Repository::ActiveRecordRepository |
| In: |
lib/feature/repository/active_record_repository.rb
|
| Parent: | Object |
AcitveRecordRepository for active feature list Right now we assume you have at least name:string and active:boolean defined in your table.
Example usage:
repository = ActiveRecordRepository.new(FeatureToggle) repository.add_active_feature(:feature_name) # use repository with Feature