actionviewhelper
Passing path to current_page method
I have a helper method to 开发者_如何学JAVAhelp to determine whether or not a navigation menu item should be active/inactive.[详细]
2023-04-07 14:04 分类:问答How do I use an ActionView::Helper in a Ruby script, outside of Rails?
I am looking to use ActionView::Helpers::NumberHelper from a Ruby script. What all do I need to requir开发者_运维知识库e etc.?~> irb[详细]
2023-03-23 15:51 分类:问答Rails number_to_currency precision doesn't work - is it a bug?
I\'m trying to use number_to_currency to get two digits after the decimal dot in Rails 3, but I can get only one. My DB field is defined like this:[详细]
2023-03-21 21:06 分类:问答View Helper in Kohana
I am trying to figure out a way to do the following: I want to make an action which will be loaded through ajax and also its the internal part of the page when page is reloaded.[详细]
2023-03-18 09:38 分类:问答How do I use form helpers in the mailer in rails 3?
I am trying to create a mail to users which includes a simple html form. For this I am using A开发者_如何学PythonctionMailer from Rails 3 as suggested in the tutorial at http://edgeguides.rubyonrails.[详细]
2023-03-12 06:01 分类:问答Rails collection_select prompt appears on initial page load, not thereafter. Any fix?
Rails 2.3.11. I have a search form like this... - form_for(@search) do |form| # bla bla bla = form.collection_select(:Location_eq,[详细]
2023-03-12 04:08 分类:问答Rails - Date time select in specified time zone
I\'m working with an app for a concert tour website, where all times (announcement times, on-sale start times, and event start times) are local to each particular venue\'s time zone. I take the user e[详细]
2023-03-11 02:25 分类:问答Rails - How would I get the URL of a single image asset in the controller?
I\'ve tried including ActionView::Helpers::AssetTagHelper and then using the image_path() method however it gives me grief:[详细]
2023-03-07 23:46 分类:问答Rails: Views: content_tag helpers
I have a controller which does the following line before rendering the view and outputting an error.[详细]
2023-02-16 21:44 分类:问答Plugin not found with custom view helper
I need some help with a custom view helper. My folder structure is like this: application - modules - - smjestaj[详细]
2023-02-12 03:54 分类:问答