Sha256: 5392d6bb9e33d5c3a8074645a9d11c50e88f988c9fb73a5568a64ed5b3147385

Contents?: true

Size: 495 Bytes

Versions: 6

Compression:

Stored size: 495 Bytes

Contents

module ActiveRecordSurveyApi
	class Engine < ::Rails::Engine
		isolate_namespace ActiveRecordSurveyApi

		initializer :append_migrations do |app|
			unless app.root.to_s.match(root.to_s)
				config.paths["db/migrate"].expanded.each do |expanded_path|
					app.config.paths["db/migrate"] << expanded_path
				end
			end
		end

		config.generators do |g|
			g.test_framework :rspec
			g.fixture_replacement :factory_girl, :dir => 'spec/factories'
			g.assets false
			g.helper false
		end
	end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
active_record_survey_api-0.0.19 lib/active_record_survey_api/engine.rb
active_record_survey_api-0.0.18 lib/active_record_survey_api/engine.rb
active_record_survey_api-0.0.17 lib/active_record_survey_api/engine.rb
active_record_survey_api-0.0.14 lib/active_record_survey_api/engine.rb
active_record_survey_api-0.0.12 lib/active_record_survey_api/engine.rb
active_record_survey_api-0.0.11 lib/active_record_survey_api/engine.rb