- 15 9月, 2008 1 次提交
-
-
由 miloops 提交于
Base.skip_time_zone_conversion_for_attributes uses class_inheritable_accessor, so that subclasses don't overwrite Base [#346 state:resolved]
-
- 11 9月, 2008 1 次提交
-
-
由 Pratik Naik 提交于
Revert "Add :accessible option to Associations for allowing mass assignments using hash. [#474 state:resolved]" This reverts commit e0750d6a. Conflicts: activerecord/CHANGELOG activerecord/lib/active_record/associations.rb activerecord/lib/active_record/associations/association_collection.rb
-
- 10 9月, 2008 3 次提交
-
-
由 David Heinemeier Hansson 提交于
-
由 Hongli Lai (Phusion) 提交于
Add special AssociationReflection methods for creating association objects, and modify the code base to use those methods instead of creating association objects directly. This allows plugins to hook into association object creation behavior. [#986 state:resolved] Signed-off-by: NJeremy Kemper <jeremy@bitsweat.net>
-
由 Hongli Lai (Phusion) 提交于
Make the options that has_many, belongs_to and other association generation methods can accept, configurable. [#985 state:resolved] Signed-off-by: NJeremy Kemper <jeremy@bitsweat.net>
-
- 05 9月, 2008 1 次提交
-
-
由 David Heinemeier Hansson 提交于
-
- 29 8月, 2008 1 次提交
-
-
由 Jeremy Kemper 提交于
-
- 24 8月, 2008 1 次提交
-
-
由 Xavier Noria 提交于
Previously this would have committed the transaction but not carried out save or destroy operation. [#891 state:committed] Signed-off-by: NMichael Koziarski <michael@koziarski.com>
-
- 23 8月, 2008 1 次提交
-
-
由 Tarmo Tänav 提交于
Patch originally from http://dev.rubyonrails.org/ticket/5470
-
- 17 7月, 2008 1 次提交
-
-
由 Nik Wakelin 提交于
Set config.active_record.timestamped_migrations = false to have migrations with numeric prefix instead of UTC timestamp. [#446 state:resolved] Signed-off-by: NPratik Naik <pratiknaik@gmail.com>
-
- 15 7月, 2008 1 次提交
-
-
由 Tarmo Tänav 提交于
Also added change_column_null to both mysql and sqlite to keep the api features closer to postgresql. [#617 state:resolved]
-
- 14 7月, 2008 2 次提交
-
-
由 David Heinemeier Hansson 提交于
Fixed that create database statements would always include "DEFAULT NULL" (Nick Sieger) [#334 status:committed]
-
由 David Dollar 提交于
Add :accessible option to Associations for allowing mass assignments using hash. [#474 state:resolved] Allows nested Hashes (i.e. from nested forms) to hydrate the appropriate ActiveRecord models. class Post < ActiveRecord::Base belongs_to :author, :accessible => true has_many :comments, :accessible => true end post = Post.create({ :title => 'Accessible Attributes', :author => { :name => 'David Dollar' }, :comments => [ { :body => 'First Post!' }, { :body => 'Nested Hashes are great!' } ] }) post.comments << { :body => 'Another Comment' } Signed-off-by: NPratik Naik <pratiknaik@gmail.com>
-
- 04 7月, 2008 1 次提交
-
-
由 David Lowenfels 提交于
Signed-off-by: NPratik Naik <pratiknaik@gmail.com>
-
- 28 6月, 2008 1 次提交
-
-
由 Pratik Naik 提交于
Examples: User.all :joins => :items, :conditions => { :age => 10, :items => { :color => 'black' } } Item.first :conditions => { :items => { :color => 'red' } } Note : Hash key in :conditions is referring to the actual table name or the alias defined in query.
-
- 23 6月, 2008 7 次提交
-
-
由 Tarmo Tänav 提交于
-
由 Daniel Morrison 提交于
-
由 Mark Catley 提交于
-
由 Michael Raidel 提交于
-
由 Jeremy Kemper 提交于
-
由 Jeremy Kemper 提交于
-
由 Diego Algorta 提交于
-
- 12 6月, 2008 1 次提交
-
-
由 Ben Munat 提交于
-
- 11 6月, 2008 2 次提交
-
-
由 Jan De Poorter 提交于
Signed-off-by: NPratik Naik <pratiknaik@gmail.com>
-
由 Jeremy Kemper 提交于
-
- 02 6月, 2008 1 次提交
-
-
由 David Heinemeier Hansson 提交于
-
- 01 6月, 2008 2 次提交
-
-
由 rick 提交于
Add ActiveRecord::Base.sti_name that checks ActiveRecord::Base#store_full_sti_class? and returns either the full or demodulized name. [rick] [#114 state:resolved]
-
由 David Heinemeier Hansson 提交于
-
- 20 5月, 2008 1 次提交
-
-
由 Ryan Bates 提交于
Signed-off-by: NPratik Naik <pratiknaik@gmail.com>
-
- 17 5月, 2008 1 次提交
-
-
由 Pratik Naik 提交于
commit 0fc3381a Author: Xavier Noria <fxn@hashref.com> Date: Fri May 16 23:44:51 2008 +0200 Conventions. Formatting. Revising docs all over the rails. This revision encourages the modern resource-oriented form_for usage. In addition corrects some markup and other details. commit 70e4bcf5 Author: Chris Kampmeier <chris@kampers.net> Date: Fri May 16 12:09:46 2008 -0700 Fix a couple spelling errors in docs commit 6ea5e420 Author: Chris O'Sullivan <thechrisoshow@gmail.com> Date: Fri May 16 16:09:11 2008 +0100 Added docs about source_type for has_one association commit a01a0178 Author: miloops <miloops@gmail.com> Date: Wed May 14 09:22:39 2008 +0000 Change migration generator USAGE to explain the timestamped migrations behaviour commit 4e2bc021 Author: Xavier Noria <fxn@hashref.com> Date: Fri May 16 00:43:03 2008 +0200 minor revision in url_for docs Made explicit that RESTful and controller/action styles are not interchangeable, and revised some markup. commit d6ecce66 Author: Michael Hartl <michael@michaelhartl.com> Date: Thu May 15 10:46:40 2008 -0700 Expanded and updated the link_to documentation commit b8c46c86 Author: Cody Fauser <cody@jadedpixel.com> Date: Wed May 14 09:10:02 2008 -0400 Improve and cleanup ActionMailer documentation commit 9546ee29 Author: Yehuda Katz <wycats@gmail.com> Date: Mon May 12 23:41:43 2008 -0700 Add documentation for Inflector.inflections commit cbd5db8f Author: Manik Juneja <mjuneja@manik-junejas-computer.local> Date: Mon May 12 23:43:31 2008 +0530 minor changes in railties/README. Added dbconsole introduction commit 130a280d Author: Gaurav Sharma <gaurav@norbauer.com> Date: Mon May 12 18:00:19 2008 +0530 adding documentation for cached_attributes commit 164c9586 Author: TomK32 <tomk32@tomk32.de> Date: Mon May 12 10:59:33 2008 +0200 proper heading for "Example:" commit 35634feb Author: Matt Boehlig <thetamind@gmail.com> Date: Sun May 11 16:46:07 2008 -0500 Cleanup whitespace and change_table documentation commit 80bba28a Author: Xavier Noria <fxn@hashref.com> Date: Sun May 11 02:54:02 2008 +0200 documented the source annotation extractor commit e6823bb1 Author: Mike Mondragon <mikemondragon@gmail.com> Date: Fri May 9 13:49:56 2008 -0700 Added additional information about processing email with ActionMailer and the strategy one might want to employ to do so. commit e6afd8b2 Author: Xavier Noria <fxn@hashref.com> Date: Thu May 8 23:49:36 2008 +0200 corrected and completed docs of increment/decrement/toggle in AR::Base commit 2fead68b Author: Austin Putman <austin@emmanuel.local> Date: Wed May 7 19:35:46 2008 -0700 Documented class methods on ActionController::Routing. These are dangerous, and mostly used for testing. commit f5b84182 Author: Teflon Ted <github@rudiment.net> Date: Wed May 7 16:08:49 2008 -0400 Added explanation about errant inflections not being patched in the future in order to avoid breaking legacy applications. commit 370f4f51 Author: Sunny Ripert <negatif@gmail.com> Date: Wed May 7 14:00:59 2008 +0200 Applied list conventions in AR::Base commit 5bd18429 Author: Sunny Ripert <negatif@gmail.com> Date: Wed May 7 13:53:35 2008 +0200 Renamed Options list to Attributes list whenever they weren't option hashes in AR::Base commit 2fa628e3 Author: Xavier Noria <fxn@hashref.com> Date: Wed May 7 11:52:33 2008 +0200 revised details in Exceptions section of AR::Base docs commit d912bd56 Author: Yaroslav Markin <yaroslav@markin.net> Date: Wed May 7 13:50:28 2008 +0400 Add a filter_parameter_logging usage hint to generated ApplicationController. This may help to remind the developer to filter sensitive information from application logs. Closes #11578 commit f81d771f Author: Jack Danger Canty <git@6brand.com> Date: Tue May 6 23:35:05 2008 -0700 doc: ActiveRecord::Reflection::AssociationReflection#through_reflection Added documentation demonstrating the use of #through_reflection for finding intervening reflection objects for HasManyThrough and HasOneThrough. commit ae6b46f0 Author: Cheah Chu Yeow <chuyeow@gmail.com> Date: Wed May 7 13:47:41 2008 +0800 Document AttributeAssignmentError and MultiparameterAssignmentErrors. commit 8f463550 Author: John Barnette <jbarnette@gmail.com> Date: Tue May 6 22:46:44 2008 -0700 Killing/fixing a bunch of outdated language in the AR README. commit 284a930a Author: Jonathan Dance <jd@wuputah.com> Date: Tue May 6 14:58:26 2008 -0400 improvements to the page caching docs commit 9482da62 Author: Sunny Ripert <negatif@gmail.com> Date: Mon May 5 18:13:40 2008 +0200 validates_numericality_of() "integer" option really is "only_integer" commit e9afd679 Author: Sunny Ripert <negatif@gmail.com> Date: Mon May 5 12:11:59 2008 +0200 Harmonized hash notation in AR::Base commit 67ebf14a Author: Sunny Ripert <negatif@gmail.com> Date: Mon May 5 12:06:19 2008 +0200 Turned options into rdoc-lists in AR::Base commit 0ec7c0a4 Author: Marshall Huss <mwhuss@Macbook.local> Date: Sun May 4 23:21:33 2008 -0400 Added information of how to set element_name in the case the user has a name confliction with an existing model Signed-off-by: NPratik Naik <pratiknaik@gmail.com>
-
- 12 5月, 2008 3 次提交
-
-
由 David Heinemeier Hansson 提交于
-
由 Frederick Cheung 提交于
Signed-off-by: NPratik Naik <pratiknaik@gmail.com>
-
由 Aslak Hellesøy 提交于
-
- 09 5月, 2008 2 次提交
- 04 5月, 2008 1 次提交
-
-
由 David Heinemeier Hansson 提交于
-
- 02 5月, 2008 1 次提交
-
-
由 David Heinemeier Hansson 提交于
-
- 01 5月, 2008 2 次提交
-
-
由 David Heinemeier Hansson 提交于
Added block-setting of attributes for Base.create like Base.new already has (Adam Meehan) [#39 state:resolved]
-
由 David Heinemeier Hansson 提交于
Fixed that pessimistic locking you reference the quoted table name (Josh Susser) [#67 state:resolved]
-
- 30 4月, 2008 1 次提交
-
-
由 David Heinemeier Hansson 提交于
Fixed that change_column should be able to use :null => true on a field that formerly had false [Nate Wiger] [#26 state:resolved]
-