Sha256: 830fdd6ca832806d5365277e56e51269c9a24590ed373755b0557d0a0609c538
Contents?: true
Size: 423 Bytes
Versions: 1
Compression:
Stored size: 423 Bytes
Contents
unless ENV['MOLOGUE_MONGOID'] initializer('accessible_attributes.rb') do <<-FILE class ActiveRecord::Base attr_accessible attr_accessor :accessible private def mass_assignment_authorizer if accessible == :all self.class.protected_attributes else super + (accessible || []) end end end FILE end end initializer('haml.rb') do <<-'FILE' Haml::Template.options[:format] = :html5 FILE end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mologue-0.0.1 | templates/initializers.rb |