Displaying 2 results from an estimated 2 matches for "get_languag".
Did you mean:
get_language
2006 Jun 21
5
default page and session
...of session Rails throughs an exception:
> NoMethodError in ExpressionsController#list
>
> You have a nil object when you didn''t expect it!
> You might have expected an instance of Array.
> The error occured while evaluating nil.[]
The method causing the error is
> def get_language
> session[:language] ||= Language.find(1)
> end
Your help is greatly appreciated!
- Sebastian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060621/82af4f2a/attachment.html
2006 Nov 26
0
[758] trunk/wxruby2: i18n support: added Locale class, methods for get/set languages & encodings
...gt;<span class="cx"> h2. Methods
</span><span class="cx">
</span><del>-* "Supported languages":#Locale_languages
</del><ins>+h3. Class Methods
+
+* "Locale#find_language_info":#Locale_findlanguageinfo
+* "Locale#get_language_info":#Locale_getlanguageinfo
+* "Locale#get_language_name":#Locale_getlanguagename
+* "Locale.get_system_encoding":#Locale_getsystemencoding
+* "Locale.get_system_encoding_name":#Locale_getsystemencodingname
+* "Locale.get_system_language":#Locale_gets...