- 23 6月, 2009 1 次提交
-
-
Revert "Generate proper :counter_sql from :finder_sql when there is a newline character immediately following 'SELECT' [#2118 state:resolved]" This reverts commit 4851ca9e. The tests do not pass for postgresql.
-
- 22 6月, 2009 4 次提交
-
-
由 Patrick Joyce 提交于
Generate proper :counter_sql from :finder_sql when there is a newline character immediately following 'SELECT' [#2118 state:resolved] Signed-off-by: NPratik Naik <pratiknaik@gmail.com>
-
由 Joseph Wilk 提交于
Signed-off-by: NPratik Naik <pratiknaik@gmail.com>
-
由 Brian Hogan 提交于
Signed-off-by: NPratik Naik <pratiknaik@gmail.com>
-
由 mattbauer 提交于
Signed-off-by: NPratik Naik <pratiknaik@gmail.com>
-
- 09 6月, 2009 2 次提交
-
-
由 Raimonds Simanovskis 提交于
disabled base_test.rb tests that were not Oracle compatible (TIME datatype is not supported on Oracle, UPDATE does not support ORDER BY) _before_type_cast on Oracle returns Time and not String added Oracle specific schema definition that was missing for test_default_values test Signed-off-by: NMichael Koziarski <michael@koziarski.com>
-
由 Jeremy Kemper 提交于
-
- 01 6月, 2009 1 次提交
-
-
由 Giles Alexander 提交于
The schema dumper would dump out any decimal or numeric column that had a zero scale as an integer column. This will cause problems for very large precision columns on some DBMSs, particularly PostgreSQL. It also looks strange to see your column change type after moving through schema.rb. Signed-off-by: NMichael Koziarski <michael@koziarski.com> [#2741 state:committed]
-
- 29 5月, 2009 1 次提交
-
-
由 Joshua Peek 提交于
Break up DependencyModule's dual function of providing a "depend_on" DSL and "included" block DSL into separate modules. But, unify both approaches under AS::Concern.
-
- 22 5月, 2009 1 次提交
-
-
由 Chad Woolley 提交于
[#2686 state:committed] Signed-off-by: NJeremy Kemper <jeremy@bitsweat.net>
-
- 19 5月, 2009 4 次提交
-
-
由 Emilio Tagua 提交于
Signed-off-by: NPratik Naik <pratiknaik@gmail.com>
-
由 Ken Collins 提交于
[#2633 state:committed] Signed-off-by: NJeremy Kemper <jeremy@bitsweat.net>
-
由 Luca Guidi 提交于
Signed-off-by: NPratik Naik <pratiknaik@gmail.com>
-
由 Pratik Naik 提交于
Make sure default_scope#create checks for options[:conditions] [#2181 state:resolved] [James Le Cuirot]
-
- 18 5月, 2009 4 次提交
-
-
由 Emilio Tagua 提交于
Signed-off-by: NPratik Naik <pratiknaik@gmail.com>
-
由 Benjamin Floering 提交于
Signed-off-by: NPratik Naik <pratiknaik@gmail.com>
-
由 Mislav Marohnić 提交于
replace the aaa_create_tables_test hack with loading test database schema in the test helper [#2663 state:resolved] Signed-off-by: NJoshua Peek <josh@joshpeek.com>
-
由 Chris Kampmeier 提交于
Signed-off-by: NPratik Naik <pratiknaik@gmail.com>
-
- 17 5月, 2009 1 次提交
-
-
由 Daniel Guettler 提交于
Signed-off-by: NPratik Naik <pratiknaik@gmail.com>
-
- 14 5月, 2009 3 次提交
-
-
由 Peter Marklund 提交于
Changed ActiveRecord::Base#exists? to invoke find_initial so that it is compatible with, and doesn't lose, :include scopes (references to eager loaded tables) Signed-off-by: NMichael Koziarski <michael@koziarski.com> [#2543 state:committed]
-
由 Jeremy Kemper 提交于
-
由 Jeremy Kemper 提交于
-
- 12 5月, 2009 2 次提交
-
-
由 Bryan Helmkamp 提交于
-
由 Jeremy Kemper 提交于
[#2594 state:open] This reverts commit 99c103be.
-
- 10 5月, 2009 4 次提交
-
-
由 Mike Breen 提交于
Allow you to pass :all_blank to :reject_if option to automatically create a Proc that will reject any record with blank attributes.
-
由 Anthony Crumley 提交于
Fixed eager load error on find with include => [:table_name] and hash conditions like {:table_name => {:column => 'value'}} Signed-off-by: NMichael Koziarski <michael@koziarski.com>
-
由 Frederick Cheung 提交于
Signed-off-by: NMichael Koziarski <michael@koziarski.com>
-
由 Frederick Cheung 提交于
Signed-off-by: NMichael Koziarski <michael@koziarski.com>
-
- 05 5月, 2009 1 次提交
-
-
由 Murray Steele 提交于
You can now add an :inverse_of option to has_one, has_many and belongs_to associations. This is best described with an example: class Man < ActiveRecord::Base has_one :face, :inverse_of => :man end class Face < ActiveRecord::Base belongs_to :man, :inverse_of => :face end m = Man.first f = m.face Without :inverse_of m and f.man would be different instances of the same object (f.man being pulled from the database again). With these new :inverse_of options m and f.man are the same in memory instance. Currently :inverse_of supports has_one and has_many (but not the :through variants) associations. It also supplies inverse support for belongs_to associations where the inverse is a has_one and it's not a polymorphic. Signed-off-by: NMurray Steele <muz@h-lame.com> Signed-off-by: NJeremy Kemper <jeremy@bitsweat.net>
-
- 02 5月, 2009 2 次提交
-
-
由 Ruy Asan 提交于
[#2594 state:committed] Signed-off-by: NJeremy Kemper <jeremy@bitsweat.net>
-
由 Alexander Podgorbunsky 提交于
[#2346 state:committed] Signed-off-by: NJeremy Kemper <jeremy@bitsweat.net>
-
- 01 5月, 2009 2 次提交
-
-
由 steve 提交于
Signed-off-by: NPratik Naik <pratiknaik@gmail.com>
-
由 steve 提交于
Ensure ActiveRecord::Base.connection_pool.with_connection creates a new connection only when needed [#1752 state:resolved] Signed-off-by: NPratik Naik <pratiknaik@gmail.com>
-
- 30 4月, 2009 1 次提交
-
-
由 Emilio Tagua 提交于
[#2581 state:committed] Signed-off-by: NJeremy Kemper <jeremy@bitsweat.net>
-
- 28 4月, 2009 1 次提交
-
-
由 Eloy Duran 提交于
Signed-off-by: NPratik Naik <pratiknaik@gmail.com>
-
- 24 4月, 2009 1 次提交
-
-
由 Emilio Tagua 提交于
[#2550 state:committed] Signed-off-by: NJeremy Kemper <jeremy@bitsweat.net>
-
- 23 4月, 2009 1 次提交
-
-
由 rick 提交于
Example: ActiveSupport::JSON.backend = "JSONGem" All internal Rails JSON encoding is now handled by ActiveSupport::JSON.encode(). Use of #to_json is not recommended, as it may clash with other libraries that overwrite it. However, you can recover Rails specific functionality if you really want to use #to_json. gem 'json' ActiveSupport::JSON.backend = "JSONGem" class ActiveRecord::Base alias to_json rails_to_json end
-
- 22 4月, 2009 1 次提交
-
-
由 Alex Pooley 提交于
Signed-off-by: NPratik Naik <pratiknaik@gmail.com>
-
- 21 4月, 2009 2 次提交
-
-
由 Pratik Naik 提交于
-
由 Pratik Naik 提交于
-