Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Update template with I18n cache lookup defaults. #837

Merged
merged 1 commit into from

2 participants

@ebeigarts

No description provided.

@justinfrench justinfrench merged commit d1df5e4 into justinfrench:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Apr 12, 2012
  1. @ebeigarts
This page is out of date. Refresh to see the latest.
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/generators/templates/formtastic.rb
View
4 lib/generators/templates/formtastic.rb
@@ -61,8 +61,8 @@
# Formtastic::FormBuilder.i18n_lookups_by_default = false
# Specifies if I18n lookups of the default I18n Localizer should be cached to improve performance.
-# Defaults to false.
-# Formtastic::FormBuilder.i18n_cache_lookups = true
+# Defaults to true.
+# Formtastic::FormBuilder.i18n_cache_lookups = false
# Specifies the class to use for localization lookups. You can create your own
# class and use it instead by subclassing Formtastic::Localizer (which is the default).
Something went wrong with that request. Please try again.