aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/README.rdoc
Commit message (Collapse)AuthorAgeFilesLines
* update code examples to 1.9 hash syntax in the AR/README [ci skip]Francesco Rodriguez2012-09-171-12/+12
|
* Revert "Removing composed_of from ActiveRecord."Rafael Mendonça França2012-07-271-0/+12
| | | | | | | | | | | This reverts commit 14fc8b34521f8354a17e50cd11fa3f809e423592. Reason: we need to discuss a better path from this removal. Conflicts: activerecord/lib/active_record/reflection.rb activerecord/test/cases/base_test.rb activerecord/test/models/developer.rb
* Removing composed_of from ActiveRecord.Steve Klabnik2012-06-181-12/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | This feature adds a lot of complication to ActiveRecord for dubious value. Let's talk about what it does currently: class Customer < ActiveRecord::Base composed_of :balance, :class_name => "Money", :mapping => %w(balance amount) end Instead, you can do something like this: def balance @balance ||= Money.new(value, currency) end def balance=(balance) self[:value] = balance.value self[:currency] = balance.currency @balance = balance end Since that's fairly easy code to write, and doesn't need anything extra from the framework, if you use composed_of today, you'll have to add accessors/mutators like that. Closes #1436 Closes #2084 Closes #3807
* Updates validations examples to be more attuned on the new Rails 3.0 conventionsAlvaro Pereyra2012-05-281-4/+4
|
* Moved all the logger methods to active support loggerKarunakar (Ruby)2012-01-061-1/+1
| | | | minor
* Finished implementation of MIT license linking.Kristian Freeman2011-12-231-1/+3
|
* self.up, self.down => up, downAkira Matsuda2011-11-071-2/+2
|
* Rubygems => RubyGemsSukeerthi Adiga2011-08-131-1/+1
|
* Removed trailing slash of 'Download and installation' Github URL as per ↵ejy2011-07-281-1/+1
| | | | convention
* add a missing "the" and normalize the use of periods.Waynn Lue2011-06-031-9/+9
|
* changed http://api.rubyonrails.com to http://api.rubyonrails.org in readme ↵Karunakar (Ruby)2011-05-241-1/+1
| | | | files
* Mailer example has more sense calling to deliver methodGuillermo Iguaran2011-05-151-1/+1
|
* Some readme fixes as required. Arun Agrawal2011-05-101-1/+1
|
* "SSL everywhere" for GitHub URLsAkira Matsuda2011-03-071-1/+1
| | | | see: https://github.com/blog/738-sidejack-prevention-phase-2-ssl-everywhere
* changes in examples - reflect new mailer api and mysql2 adapterVijay Dev2010-12-181-2/+2
|
* lifecycle should be two words, life cycleJaime Iniesta2010-08-261-1/+1
|
* Deletes trailing whitespaces (over text files only find * -type f -exec sed ↵Santiago Pastorino2010-08-141-9/+9
| | | | 's/[ \t]*$//' -i {} \;)
* improve Active Record READMEMislav Marohnić2010-07-221-167/+55
| | | | | | | - revise introductory text - improve examples - don't claim that Oracle, SQL Server, or DB2 are supported - remove lengthy "simple example"
* revise download/installation/support sections in READMEsMislav Marohnić2010-07-221-11/+9
| | | | | | | - don't reference ancient gem versions - don't link to old API doc subdomains - point to GitHub instead of RubyForge - point to Lighthouse account for support
* Add .rdoc extension to README files.José Valim2010-07-211-0/+336