Module: SimpleFormRansack
- Defined in:
- lib/simple_form_ransack.rb,
lib/simple_form_ransack/version.rb
Defined Under Namespace
Classes: AttributeInspector, FormProxy, InputManipulator
Constant Summary collapse
- VERSION =
"0.0.12".freeze
Class Method Summary collapse
Class Method Details
.locale_files ⇒ Object
6 7 8 9 10 11 12 13 14 15 |
# File 'lib/simple_form_ransack.rb', line 6 def self.locale_files files = [] I18n.available_locales.each do |locale| path = "#{File.realpath("#{File.dirname(__FILE__)}/../config/locales")}/#{locale}.yml" files << File.realpath(path) if File.exist?(path) end files end |