I want to write one common validation helper metho开发者_开发问答d that can be used in different models
Closed. This question is seeking recommendations for books, tools, software libraries, and more. It does not meet Stack Overflow guidelines. It is not currently accepting answers.
I recently started having to restart my development server every time I change my code. My development.rb file still has this line:
I\'m have a Rails 2.3.8 app, with a notifier in app/models/hello_notifier.rb that looks like this: class HelloNotifier < ActionMailer::Base
I have a bunch of products (500k or so) in a database that were created over the last several years and I\'d like to group them together (Rails 2.3.14)
I have a strange problem with a Rails 2.3.4 application. The expires_in time is set to 10 seconds after each hour. But memcache seems to remember the value even after a cache flush.
I\'m sending an email using an ActionMailer class in Rails 2.3.8.I need to add a META tag to the HEAD of the email.Specifically, I want to add this (ultimately for handling special CSS3 on mobile devi
This question already has answers here: Non persistent ActiveRecord model attributes 开发者_如何学C(5 answers)
When running RSpec tests in Ruby on Rails 2.3 with ActiveRecord, the database gets rolled back to the state after a before :all block after each example (it block).
In a Rails 2.3 app I have a SitemapController with a sitemap action that creates a human-readable sitemap page, and a route to that in the routes file. In the public folder there\'s a sitemap.xml file