Aaron Patterson
aa14068100
explicitly pass the pk to compile_update
2013-11-16 14:20:07 -08:00
Vipul A M
87fd8b3903
Remove deprecated calls to using UpdateManager
without setting UpdateManager#key
2013-11-10 11:29:17 +05:30
Vipul A M
5f5a1447be
Remove deprecated calls to update
with preference to using compile_update
and then calling to_sql
on the resulting object to execute the SQL
2013-11-10 09:50:26 +05:30
Vipul A M
4cbc19075b
Remove deprecated calls to insert
with preference to using compile_insert
and then calling to_sql
on the resulting object to execute the SQL
2013-11-10 09:50:26 +05:30
Vipul A M
6aa055f5ab
Remove deprecated calls to delete
with preference to using compile_delete
and then calling to_sql
on the resulting object to execute the SQL
2013-11-10 09:50:26 +05:30
Xavier Noria
8c21663f65
ARel -> Arel
...
The project uses "Arel" most of the time, but there were a few "ARel"
here and there. I checked with @brynary back in 2010 to pick one for
the Rails documentation guidelines and "Arel" was chosen and documented.
This patch chooses "Arel" vs "ARel" based on that.
2013-04-14 20:46:58 +02:00
Aaron Patterson
34f7d3442e
bumping to 3.0.0
2012-01-12 11:37:54 -08:00
Aaron Patterson
aca58b2360
adding create_insert method
2011-03-21 21:23:48 -07:00
Aaron Patterson
d7ff05e240
Merge branch '2-0-stable'
...
* 2-0-stable:
making sure limit is correctly copied to update manager
2011-01-03 15:57:06 -08:00
Aaron Patterson
ef29263428
making sure limit is correctly copied to update manager
2011-01-03 15:44:16 -08:00
Aaron Patterson
963c930814
requiring that the primary key be set on the UpdateManager so that databases which do not support UPDATE with LIMIT will work
2010-12-24 15:48:33 -07:00
Aaron Patterson
ac6296ab8f
only break backwards compatibility in major releases
2010-12-03 16:07:28 -08:00
Aaron Patterson
9e05f7e01b
deprecating the "delete" method in favor of compile_delete
2010-12-02 15:45:00 -08:00
Aaron Patterson
a8521641d5
deprecating the update method in favor of compile_update
2010-12-02 14:31:37 -08:00
Aaron Patterson
baa660f62b
deprecating "insert"
2010-12-02 14:01:08 -08:00
Aaron Patterson
a1a01e2bb3
renaming @head to @ast
2010-11-05 14:09:09 -07:00
Aaron Patterson
2b20a48851
making stuff work on mysql
2010-09-21 09:20:14 -07:00
Aaron Patterson
b95deec5c7
from does not need to be a list
2010-09-20 14:27:34 -07:00
Aaron Patterson
b93a23827a
adding an EXISTS node, update method will generate an IN clause
2010-09-14 13:39:33 -07:00
Aaron Patterson
0b0609569b
delete delegates to the connection
2010-08-23 13:41:34 -07:00
Aaron Patterson
8966434f2a
making sure update delegates to update and insert delegates to insert
2010-08-23 13:28:08 -07:00
Aaron Patterson
6451188abf
adding outer joins
2010-08-19 10:37:50 -07:00
Aaron Patterson
0403efa4c6
delete manager added
2010-08-18 11:32:44 -07:00
Aaron Patterson
e9a22ec1af
fixing update support
2010-08-18 09:52:16 -07:00
Aaron Patterson
6544a9b369
adding deprecated crud module for backwards compat
2010-08-16 14:56:56 -07:00