Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | update code examples to 1.9 hash syntax in the AR/README [ci skip] | Francesco Rodriguez | 2012-09-17 | 1 | -12/+12 |
| | |||||
* | Revert "Removing composed_of from ActiveRecord." | Rafael Mendonça França | 2012-07-27 | 1 | -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 Klabnik | 2012-06-18 | 1 | -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 conventions | Alvaro Pereyra | 2012-05-28 | 1 | -4/+4 |
| | |||||
* | Moved all the logger methods to active support logger | Karunakar (Ruby) | 2012-01-06 | 1 | -1/+1 |
| | | | | minor | ||||
* | Finished implementation of MIT license linking. | Kristian Freeman | 2011-12-23 | 1 | -1/+3 |
| | |||||
* | self.up, self.down => up, down | Akira Matsuda | 2011-11-07 | 1 | -2/+2 |
| | |||||
* | Rubygems => RubyGems | Sukeerthi Adiga | 2011-08-13 | 1 | -1/+1 |
| | |||||
* | Removed trailing slash of 'Download and installation' Github URL as per ↵ | ejy | 2011-07-28 | 1 | -1/+1 |
| | | | | convention | ||||
* | add a missing "the" and normalize the use of periods. | Waynn Lue | 2011-06-03 | 1 | -9/+9 |
| | |||||
* | changed http://api.rubyonrails.com to http://api.rubyonrails.org in readme ↵ | Karunakar (Ruby) | 2011-05-24 | 1 | -1/+1 |
| | | | | files | ||||
* | Mailer example has more sense calling to deliver method | Guillermo Iguaran | 2011-05-15 | 1 | -1/+1 |
| | |||||
* | Some readme fixes as required. | Arun Agrawal | 2011-05-10 | 1 | -1/+1 |
| | |||||
* | "SSL everywhere" for GitHub URLs | Akira Matsuda | 2011-03-07 | 1 | -1/+1 |
| | | | | see: https://github.com/blog/738-sidejack-prevention-phase-2-ssl-everywhere | ||||
* | changes in examples - reflect new mailer api and mysql2 adapter | Vijay Dev | 2010-12-18 | 1 | -2/+2 |
| | |||||
* | lifecycle should be two words, life cycle | Jaime Iniesta | 2010-08-26 | 1 | -1/+1 |
| | |||||
* | Deletes trailing whitespaces (over text files only find * -type f -exec sed ↵ | Santiago Pastorino | 2010-08-14 | 1 | -9/+9 |
| | | | | 's/[ \t]*$//' -i {} \;) | ||||
* | improve Active Record README | Mislav Marohnić | 2010-07-22 | 1 | -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 READMEs | Mislav Marohnić | 2010-07-22 | 1 | -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é Valim | 2010-07-21 | 1 | -0/+336 |