Sha256: 68ffa4228539abed9682f6419b006f22ff0aef09c56ee5fecf5d0214f77b7c05
Contents?: true
Size: 671 Bytes
Versions: 5
Compression:
Stored size: 671 Bytes
Contents
= Extending Surveyor = * Any of surveyor model class_eval, class methods, and instance methods may be modified. * SurveyorHelper class_eval and instance methods may be modified. * SurveyorController class_eval, class methods, instance methods, and actions can be modified. Action methods should be specified separately in the Actions submodule. Samples files have been generated at: * app/models/survey_extensions.rb * app/helpers/surveyor_helper_extensions.rb * app/controllers/surveyor_controller_extensions.rb To activate, add the config['extend'] array in config/initializers/surveyor.rb: config['extend'] = %w(survey surveyor_helper surveyor_controller)
Version data entries
5 entries across 5 versions & 3 rubygems