Sha256: 7f3ec1473bb9cc859800a858c4ce6083c606a83d80b54c3ae31495e320cffc92
Contents?: true
Size: 470 Bytes
Versions: 12
Compression:
Stored size: 470 Bytes
Contents
# this is needed for now to make mass assignment security compatible with the translation of globalize3 Globalize::ActiveRecord::Translation.class_eval do attr_accessible :locale end class Setting < ActiveRecord::Base attr_accessible :company_name, :contact_email, :site_name, :site_tagline, :blog_name, :blog_tagline, :disable_blog, :enable_comments_in_pages, :enable_comments_in_blog translates :site_name, :site_tagline, :blog_name, :blog_tagline end
Version data entries
12 entries across 12 versions & 1 rubygems