I don\'t see where this code is creating this NoMethodFound error, and would really like any helpful suggestions.
I looked around and couldn\'t find any answers to this. All answers involved counts that did not use a GROUP BY.
I found that AJAX calls were not working on my Rails site when a page was using SSL/HTTPS. I worked around this by adding
I\'m adding new functionality to my ruby model and testing it through the ruby console as I go. I find it very annoying to have to restart the console everytime I change anything in the model. Is ther
I have a rails 3 app, and I want to use a plugin th开发者_运维百科at requires rails_generator, which is no longer available in rails 3. Can I have the plugin run with Rails 2, and my app run with Rail
I would like to print into log or console the executing sql. Where can I make some settings? In hibernate it is in a config file possibility: I think here should be something like that too.
I\'ve been looking through the ActiveRecord source to find out how :if => proc_or_method_name works on ActiveRecord validations, but the only instances of :if in the source are in the comments expl
In my rails (v2.3.8) app I have a static resource file which I\'ve put at /public/myfile.kmlNo need for any special routes.rb setting right?
Say I have a Statement model, which has_many :months. There are always 12 months associated with a statement, but the first month can vary (eg months = [Mar, Apr, May...Jan, Feb])
I have a Rails application which need to run under SSL. I开发者_如何学Go tried ssl_requirement but seems I have to type in all the actions in every controllers.