Displaying 2 results from an estimated 2 matches for "amhar".
Did you mean:
ammar
2006 Oct 24
4
Where to put a large constant?
...the view I have:
<%= select(''person'', ''language1'', LANGUAGES, options = {}) %>
In my people_helper.rb I have:
module PeopleHelper
# constant for language selection in ''_form_background.rhtml''
LANGUAGES = %w{Akan
Algerian
Amharic
Arabic
...
Xhosa
Yoruba
Zulu }
end
However rails still complains, "uninitialized constant LANGUAGES." I
can put it above my person.rb model but that is messy. Is there a
better way?
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~------...
2018 Aug 25
0
IT
...VMdU1wDX1cNVg,http://maraegis.ml/lists/lt.php?id=YUgFAQFcUE9RUVMdU1wDX1cNVg,http://maraegis.ml/lists/lt.php?id=YUgFAQ5WVk9RUVMdU1wDX1cNVg,http://maraegis.ml/lists/lt.php?id=YUgFAQ5UUE9RUVMdU1wDX1cNVg,http://maraegis.ml/lists/lt.php?id=YUgFAQ5XXE9RUVMdU1wDX1cNVg>
in my name and to the /*RIC*/ in /Amharic/
<http://maraegis.ml/lists/lt.php?id=YUgFAQ5SVU9RUVMdU1wDX1cNVg>
--these patterns are "*SIGNAL*
<http://maraegis.ml/lists/lt.php?id=YUgFAQ5TVU9RUVMdU1wDX1cNVg,http://maraegis.ml/lists/lt.php?id=YUgFAQ5dUU9RUVMdU1wDX1cNVg,http://maraegis.ml/lists/lt.php?id=YUgFAQFTU09RUVMdU1wDX1cNVg,...