David Heinemeier Hansson
|
959f362ac4
|
Added find_all style to the new dynamic finders
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@308 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-02 13:51:00 +00:00 |
|
David Heinemeier Hansson
|
ac8fd7dfb9
|
Added dynamic attribute-based finders as a cleaner way of getting objects by simple queries without turning to SQL.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@307 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-02 13:31:00 +00:00 |
|
David Heinemeier Hansson
|
93221685f1
|
Restored bind arity checking #412 [bitsweat]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@306 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-02 12:45:53 +00:00 |
|
David Heinemeier Hansson
|
6bd672eb0d
|
Added that Base#find takes an optional options hash, including :conditions. Base#find_on_conditions deprecated in favor of #find with :conditions #407 [bitsweat]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@305 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-01 19:50:23 +00:00 |
|
David Heinemeier Hansson
|
57ed93ee66
|
Fixed that Base#find will return an array if given an array -- regardless of the number of elements #270 [Marten]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@164 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2004-12-15 11:55:43 +00:00 |
|
David Heinemeier Hansson
|
aaf9a45ca9
|
Added Base.validate_uniqueness thatv alidates whether the value of the specified attributes are unique across the system. Useful for making sure that only one user can be named "davidhh".
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@108 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2004-12-10 16:02:11 +00:00 |
|
David Heinemeier Hansson
|
554597d657
|
Added named bind-style variable interpolation #281 [Michael Koziarski]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@78 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2004-12-08 10:38:10 +00:00 |
|
David Heinemeier Hansson
|
a775cb1903
|
Added the option for sanitizing find_by_sql and the offset parts in regular finds [Sam Stephenson]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@75 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2004-12-07 21:14:20 +00:00 |
|
David Heinemeier Hansson
|
49403831fc
|
Fixed value quoting in all generated SQL statements, so that integers are not surrounded in quotes and that all sanitation are happening through the database's own quoting routine. This should hopefully make it lots easier for new adapters that doesn't accept '1' for integer columns.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@70 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2004-12-07 14:48:53 +00:00 |
|
David Heinemeier Hansson
|
3e7d191e64
|
Added bind-style variable interpolation for the condition arrays that uses the adapter's quote method [Michael Koziarski]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@56 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2004-12-07 10:37:50 +00:00 |
|
David Heinemeier Hansson
|
db045dbbf6
|
Initial
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2004-11-24 01:04:44 +00:00 |
|