aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/README.rdoc
Commit message (Collapse)AuthorAgeFilesLines
* [ci skip]Update the documentation about the primary key typesuginoy2017-10-291-1/+1
| | | | | | Replace the primary key type `integer` in docs with `bigint`. ref #26266
* Update MIT licenses link [ci skip]Yoshiyuki Hirano2017-08-221-2/+2
|
* Remove legacy mysql adapterRyuta Kamizono2015-12-211-1/+1
| | | | Follow up to #22642.
* Use a real migration version number in docsMatthew Draper2015-12-151-1/+1
| | | | | Even though this means more things to change when we bump after a release, it's more important that our examples are directly copyable.
* Use a deliberately-invalid migration version in all doc examplesMatthew Draper2015-12-151-1/+1
| | | | | | | | | | If we use a real version, at best that'll be an onerous update required for each release; at worst, it will encourage users to write new migrations against an older version than they're using. The other option would be to leave these bare, without any version specifier. But as that's just a variant spelling of "4.2", it would seem to raise the same concerns as above.
* [ci skip] Add a dollar sign to each command in the READMEsElektron1c972015-12-061-2/+1
| | | | | | According to pr #22443 in the guides there's always a dollar sign before every command, so why is in the main README a `$` and in every submodule a `%`? Just eye candy..
* Remove unnecessary display widthRyuta Kamizono2015-09-161-1/+1
| | | | | | | The **(11)** does not affect the storage size of the data type, which for an INT will always be 4 bytes. It affects the **display width**. http://www.tocker.ca/2015/07/02/proposal-to-deprecate-mysql-integer-display-width-and-zerofill.html
* updated Inline format at activerecord rdocManish shrivastava2015-05-201-2/+2
| | | For Inline formats, changed ` (single backticks) to <tt> tag at active record rdoc as single backticks (`) don't work with rdoc. for inline format.
* [ci skip] Don’t encourage `sudo gem install`claudiob2015-05-121-1/+1
| | | | | | | | | | | | | I think we are better off leaving `sudo` outside of the documented way of installing gems (`activerecord`, `actionpack`, …). We don’t want newbies to think that `sudo` is required or, even worse, than they actually have to type `[sudo] gem install`. In most scenarios, `sudo` is not needed to install gems, and people who do need it, probably already know about it. What do you think? :grin:
* Feature requests should be made on the mailing list, not submitted toZachary Scott2014-06-011-1/+6
| | | | the issue tracker. See also #15455 [ci skip]
* Merge branch 'master' of github.com:rails/docrailsVijay Dev2014-06-011-3/+3
|\
| * :scissors:Zachary Scott2014-05-121-3/+3
| |
* | Use github url for homepage of log4r [ci skip]Zachary Scott2014-05-281-1/+1
| |
* | minor change in AR readme [ci skip]Vijay Dev2014-05-101-1/+1
|/
* fix formatting errors [ci skip]Vijay Dev2014-05-091-6/+6
|
* Fix Formatting in AR ReadmeGaurish Sharma2014-05-041-2/+2
| | | Don't make free form text appear in code blocks [ci skip]
* XML-files isn't a wordWaynn Lue2013-05-061-1/+1
|
* make the headers consistentWaynn Lue2013-03-141-2/+2
|
* change log4r link to most recent, updated locationMike Munroe2013-02-281-1/+1
|
* Remove references to AR::Observer from docsclaudiob2012-11-301-11/+0
| | | | | ActiveRecord::Observer was extracted into a separate gem so it should not be referenced anymore (see https://github.com/rails/rails/commit/ccecab3)
* 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