1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
Commit graph

28 commits

Author SHA1 Message Date
Aaron Patterson
8aa5d7a393 Merge remote branch 'stiff/master' into omg
* stiff/master:
  implemented support for math operations in numeric attributes
2011-03-07 08:30:09 -08:00
Vladimir Meremyanin
2158d592c0 implemented support for math operations in numeric attributes 2011-01-29 14:40:39 +08:00
Daniel Azuma
e86d4e035b Test for NamedFunction predication chaining 2011-01-19 13:07:38 -08:00
Aaron Patterson
f0c4e3713d Added Arel::Nodes::NamedFunction for representing generic SQL functions 2011-01-04 20:27:34 -08:00
Aaron Patterson
d4259c5ce2 Merge branch '2-0-stable' into merge
* 2-0-stable:
  updating history
  Patched Arel v2.0.6 to support MSSQL SQL queries. Based on work of James Abley (https://github.com/jabley/arel).
  consolidating dot visitor methods
  refactoring where, fixing subselect
  implementation for passing a subquery to #in and #not_in
  tests for passing a subquery to #in and #not_in
  limit members of the AST are visited
  quoting limit nodes

Conflicts:
	History.txt
	lib/arel/nodes.rb
	lib/arel/nodes/select_core.rb
	lib/arel/select_manager.rb
	lib/arel/visitors/to_sql.rb
	test/visitors/test_to_sql.rb
2011-01-03 10:31:25 -08:00
Viacheslav Petrenko
1a246f7161 Patched Arel v2.0.6 to support MSSQL SQL queries. Based on work of James Abley (https://github.com/jabley/arel). 2011-01-03 10:18:02 -08:00
Aaron Patterson
162e1d8df3 sql literals may be used as column attributes 2010-12-22 18:02:56 -08:00
Aaron Patterson
6be1a71464 stop using deprecated AND usage 2010-12-09 14:52:11 -08:00
Sven Fuchs
1c0d8c980c tests for passing a subquery to #in and #not_in 2010-12-07 10:48:18 -08:00
Aaron Patterson
4010568595 quoting limit nodes 2010-12-07 10:48:02 -08:00
Aaron Patterson
6cbbbb0326 Merge remote branch 'sven/in-subquery' into subquery
* sven/in-subquery:
  implementation for passing a subquery to #in and #not_in
  tests for passing a subquery to #in and #not_in
2010-12-07 10:41:06 -08:00
Sven Fuchs
54d62de817 tests for passing a subquery to #in and #not_in 2010-12-07 10:05:25 +01:00
Aaron Patterson
ee65dd6e0e Merge branch '2-0-stable'
* 2-0-stable:
  quoting limit nodes
  Make "not" apply to the whole sub-expression when generating sql.
2010-12-06 20:26:15 -08:00
Aaron Patterson
4018b5d66a quoting limit nodes 2010-12-06 20:26:08 -08:00
Ryan Rempel
4bec8c8e9e Make "not" apply to the whole sub-expression when generating sql. 2010-12-06 09:51:18 -08:00
Ryan Rempel
c28fe4cbbb Make "not" apply to the whole sub-expression when generating sql. 2010-12-06 09:51:13 -08:00
Aaron Patterson
40603729cc attributes do not need a column member 2010-12-03 15:24:30 -08:00
Aaron Patterson
f62a7267c5 adding deprecated support for walking ancestor trees 2010-11-30 11:06:09 -08:00
Aaron Patterson
6667cfb995 adding an AS node 2010-11-23 18:22:42 -08:00
Aaron Patterson
76932b99d6 adding a "not" factory method for creating Not nodes 2010-11-23 16:24:41 -08:00
Rolf Timmermans
35f25f643c Added tests for Nodes::NotIn. 2010-11-18 00:37:15 +08:00
Aaron Patterson
ac38fcae49 added a visitor for Class objects 2010-11-16 08:15:58 -08:00
Aaron Patterson
424e39d688 adding proper columns to our fake table 2010-11-05 14:05:10 -07:00
Ernie Miller
afb6f9c5c1 Add ToSql NilClass visitor 2010-11-04 01:01:51 +08:00
rugek
0e8388bc2b Added Bignum to visitor 2010-10-26 21:42:54 +08:00
Aaron Patterson
15f2b27c6d renaming test_helper to helper so that it is not double required 2010-10-18 16:54:50 -07:00
Ryan Davis
31f61b822d Renamed spec_helper to test_helper 2010-10-18 16:34:44 -07:00
Ryan Davis
e1ebe6e949 Fisting arel specs -- still needs tree_manager and cleanup 2010-10-18 15:41:21 -07:00
Renamed from spec/visitors/to_sql_spec.rb (Browse further)