Pratik Naik
|
22ad30ed60
|
Move validate_on_create and validate_on_update from ActiveModel to ActiveRecord
|
2009-03-21 01:11:38 +00:00 |
|
Pratik Naik
|
6173e5bfae
|
Add ActiveModel::Validations tests for regular ruby classes
|
2009-03-20 22:21:27 +00:00 |
|
Pratik Naik
|
08a99d0eac
|
Add I18n translations to ActiveModel and move more AR specific parts to ActiveRecord::Validations
|
2009-03-20 21:45:13 +00:00 |
|
Pratik Naik
|
cc5e019f6b
|
Include ActiveModel::Validations from ActiveRecord::Validations
|
2009-03-20 19:12:18 +00:00 |
|
Pratik Naik
|
37283a6aae
|
Deprecate Error#on(attribute) in favour of Errors#[attribute]
|
2009-03-20 17:36:22 +00:00 |
|
Pratik Naik
|
60756ad4ec
|
Move relevant validation tests from Active Record to Active Model
|
2009-03-20 15:07:49 +00:00 |
|
Pratik Naik
|
5b1a1bf5bf
|
Make Active Model test suite similar to Active Record
|
2009-03-20 10:32:24 +00:00 |
|
Pratik Naik
|
77acfefedf
|
Make Active Resource use ActiveModel::Errors
|
2009-03-19 23:45:08 +00:00 |
|
Pratik Naik
|
638333b7a1
|
Move uniqueness and association validations to Active Record
|
2009-03-19 23:44:30 +00:00 |
|
Pratik Naik
|
8828b2ca67
|
Move all the Active Record validations to Active Model
|
2009-03-19 23:28:59 +00:00 |
|
Pratik Naik
|
18eb80ccc7
|
Merge docrails
|
2009-03-16 11:28:36 +00:00 |
|
David Heinemeier Hansson
|
73fc42cc0b
|
Prepare for final 2.3 release
|
2009-03-15 22:06:50 -05:00 |
|
Jason King
|
ac3848201d
|
SQLite adapters now support DDL transactions [#2080 state:resolved]
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
|
2009-03-14 12:58:42 +00:00 |
|
Chris Kampmeier
|
3c64c9a575
|
Fix spelling of an internal method [#1734 state:resolved]
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
|
2009-03-12 15:41:31 +00:00 |
|
Luca Guidi
|
47bdf3bf40
|
Ensure AutosaveAssociation runs remove callbacks [#2146 state:resolved]
Signed-off-by: Eloy Duran <eloy.de.enige@gmail.com>
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
|
2009-03-12 15:24:37 +00:00 |
|
Elijah Miller
|
91b98cf0a5
|
Returning nil from named scope lambda is equivalent to an empty hash [#1773 state:resolved]
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
|
2009-03-12 15:06:19 +00:00 |
|
Murray Steele
|
db26ace030
|
Ensure NoMethodError isn't raised when some of the nested eager loaded associations are empty [#1696 state:resolved]
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
|
2009-03-12 13:49:16 +00:00 |
|
Will Bryant
|
92dadf6d79
|
Fixed autosave checks on objects with hm:t in :include [#2213 state:resolved]
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
|
2009-03-12 13:26:21 +00:00 |
|
Pratik Naik
|
106976df09
|
Ensure ActiveRecord::Base.find_in_batches fires doesnt fire an extra query unless needed
|
2009-03-11 15:24:30 +00:00 |
|
Pratik Naik
|
f23adf0ed4
|
Add tests for AssociationCollection#find_each and AssociationCollection#find_in_batches
|
2009-03-11 15:07:24 +00:00 |
|
Pratik Naik
|
0b6f514947
|
Add NamedScope#find_each tests [#2201 state:resolved]
|
2009-03-11 15:07:24 +00:00 |
|
Pratik Naik
|
04333482bd
|
Rename ActiveRecord::Base.each to ActiveRecord::Base.find_each
|
2009-03-11 15:07:23 +00:00 |
|
Jeremy Kemper
|
19ad375e7a
|
Don't duplicate :order from scope and options, it makes mysql do extra work
|
2009-03-10 23:11:05 -07:00 |
|
Manfred Stienstra
|
c3aa2bcdcf
|
Ensure nested with_scope merges conditions inside out [#2193 state:resolved]
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
|
2009-03-10 11:49:58 +00:00 |
|
Bruce Krysiak
|
8272630ce8
|
Ensure ActiveRecord#to_xml respects :skip_types for included associations [#1632 state:resolved]
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
|
2009-03-10 11:17:16 +00:00 |
|
Curtis Hawthorne
|
0d922885fb
|
Ensure Model#destroy respects optimistic locking [#1966 state:resolved]
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
|
2009-03-09 14:56:09 +00:00 |
|
Jim Remsik and Tim Pope
|
1e6c50e21b
|
Ensure has_many :through works with changed primary keys [#736 state:resolved]
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
|
2009-03-09 13:43:28 +00:00 |
|
Rob Anderton
|
faf4ba6b79
|
Allow find(:last) :order be a symbol [#2024 state:resolved]
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
|
2009-03-09 12:52:14 +00:00 |
|
Jan De Poorter
|
277c799d58
|
Fix find_by_last when order is given [#2127 state:committed]
Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
|
2009-03-09 13:02:31 +01:00 |
|
Jeremy Kemper
|
1c36172c13
|
Ruby 1.9 compat: rename deprecated assert_raises to assert_raise.
[#1617 state:resolved]
|
2009-03-08 13:11:58 -07:00 |
|
Jeffrey Hardy
|
96eaeee446
|
Add ActiveRecord::Base#invalid? as the opposite of #valid? [#2159 state:resolved]
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
|
2009-03-08 15:20:23 +00:00 |
|
John Aughey
|
7a26a67b42
|
Ensure SQLite adapters stores the config [#1947 state:resolved] [John Aughey, Pratik Naik]
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
|
2009-03-08 14:47:32 +00:00 |
|
Pratik Naik
|
df8669d4b5
|
Fix calculation tests to work on sqlite
|
2009-03-07 16:36:40 +00:00 |
|
stopdropandrew
|
6543426c73
|
Ensure calculations respect scoped :select [#1334 state:resolved]
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
|
2009-03-07 15:26:56 +00:00 |
|
Arthur Klepchukov
|
ccb0a92fa2
|
Ensure validates_uniqueness_of considers limit on the field. [#1042 state:resolved]
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
|
2009-03-07 13:52:17 +00:00 |
|
Adam Milligan
|
f36513653f
|
Fix RDoc grammar and ensure hm:t tests can run in isolation. [#1644 state:resolved]
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
|
2009-03-07 12:34:56 +00:00 |
|
Pratik Naik
|
fd3ccbe955
|
DRY with_kcode in Active Record tests
|
2009-03-07 11:06:44 +00:00 |
|
Marcello Nuccio
|
dfcf1e4cf6
|
Fixed broken migrations tests: added assert_equal. [#1704 state:resolved]
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
|
2009-03-07 11:00:24 +00:00 |
|
Will Bryant
|
7fb7b48a1f
|
Allow :having conditions to be sanitized like regular :condition. [#2158 state:resolved]
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
|
2009-03-06 22:29:53 +00:00 |
|
Adam Cooper
|
3ca5a0f9fd
|
Ensure belongs_to association with a counter cache in name spaced model works [#1678 state:resolved]
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
|
2009-03-06 22:05:18 +00:00 |
|
Dimitri Krassovski
|
984bc7a614
|
Ensure replacing has_one associations respects the supplied :dependent option. [#1305 state:resolved]
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
|
2009-03-06 19:11:13 +00:00 |
|
Pratik Naik
|
4863634a15
|
Ensure supplie :from has precedence over scoped :from [#1370 state:resolved]
|
2009-03-06 18:36:30 +00:00 |
|
Tom Lea
|
c896d56c6e
|
Ensure self referential HABTM associations raise an exception if association_foreign_key is missing. [#1252 state:resolved]
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
|
2009-03-06 18:27:34 +00:00 |
|
jvoorhis
|
6a13376525
|
Methods invoked within named scope Procs should respect the scope stack. [#1267 state:resolved]
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
|
2009-03-06 16:47:50 +00:00 |
|
David Heinemeier Hansson
|
dfef3d8b14
|
Release RC2 today
|
2009-03-05 11:00:04 +01:00 |
|
Joshua Peek
|
9b1b88f09c
|
Fixed reset_session for ActiveRecord session store [#2108 state:resolved]
|
2009-03-03 13:07:03 -06:00 |
|
Michael Koziarski
|
818556ec4f
|
Revert "DDL transactions and savepoints for sqlite"
This reverts commit 38136f86dc.
Caused several test failures on the ci box:
http://ci.rubyonrails.org/builds/rails/38136f
[#2080 state:open]
|
2009-03-02 19:07:39 +13:00 |
|
Jason King
|
38136f86dc
|
DDL transactions and savepoints for sqlite
Sqlite has had DDL transactions since 2.0.0[1] and savepoints since
3.6.8[2]. This patch updates the connection_adapters.
[1] http://tinyurl.com/sqlite-v2-0-0
[2] http://tinyurl.com/sqlite-v3-6-8
Signed-off-by: Michael Koziarski <michael@koziarski.com>
[#2080 state:committed]
|
2009-03-02 18:46:30 +13:00 |
|
Pratik Naik
|
0db6c3f518
|
Merge docrails and update the release notes
|
2009-02-28 19:44:25 +00:00 |
|
Mike Gunderloy
|
c653f700d3
|
Fix that scoped find with :group and :having [#2006 state:resolved]
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
|
2009-02-28 17:35:58 +00:00 |
|