Sha256: b42cb0466d5e070d92016a39391f22e6e1e1927b83ee7738da1812a795e2483b
Contents?: true
Size: 388 Bytes
Versions: 12
Compression:
Stored size: 388 Bytes
Contents
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 initializer('haml.rb') do <<-'FILE' Haml::Template.options[:format] = :html5 FILE end
Version data entries
12 entries across 12 versions & 2 rubygems