Sha256: 7d8a3664961af68518512913c4cce849925c16fb81308798e367b8e1e6324e1e
Contents?: true
Size: 712 Bytes
Versions: 24
Compression:
Stored size: 712 Bytes
Contents
Any of surveyor's models class_eval, class methods, and instance methods can be modified. Include the following in config/initializers/surveyor.rb: require 'models/survey_extensions' # Extended the survey model SurveyorHelper class_eval and instance methods can be modified. Include the following in config/initializers/surveyor.rb: require 'helpers/surveyor_helper_extensions' # Extend the surveyor helper SurveyorController class_eval, class methods, instance methods, and actions can be modified. Action methods should be specified separately in the Actions submodule. Set the following option in config/initializers/surveyor.rb Surveyor::Config block: config['extend_controller'] = true
Version data entries
24 entries across 24 versions & 1 rubygems