search for: m000139

Displaying 2 results from an estimated 2 matches for "m000139".

Did you mean: 000139
2008 Jul 23
1
how to get day name using ActiveSupport libraries
Is there any way to get the name of the day (i.e. mon, tue...) using the ActiveSupport libraries. I looked through these two libraries but can''t seem to find it: http://api.rubyonrails.com/classes/ActiveSupport/CoreExtensions/Numeric/Time.html#M000421 http://api.rubyonrails.org/classes/ActiveSupport/CoreExtensions/Time/Calculations.html#M000308
2006 Jun 27
5
Can''t call public application.rb method from ERb template
All, I have a left navigation partial that I want to dynamically generate CSS classes for based on the current controller action. In my ERb template, I have <DIV class="<%= get_menu_display_style(''login_form'') %>"> In application.rb, I have the method get_menu_display_style defined as: public def get_menu_display_style(action_requested)