- 02 8月, 2013 6 次提交
-
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
`configure_dependency` actually defined callbacks, so rename the method and move it to the appropriate method.
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
- 01 8月, 2013 9 次提交
-
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
This reverts commit 1468a4b8.
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
- 31 7月, 2013 1 次提交
-
-
由 Aaron Patterson 提交于
-
- 30 7月, 2013 4 次提交
-
-
由 Neeraj Singh 提交于
postgresql test if randomly executed then executes "SHOW max_identifier_length". Hence the need to ignore certain predefined sqls that deal with system calls.
-
由 Neeraj Singh 提交于
-
由 Rafael Mendonça França 提交于
order on the old ones The previous behavior added a major backward incompatibility since it impossible to have a upgrade path without major changes on the application code. We are taking the most conservative path to be consistent with the idea of having a smoother upgrade on Rails 4. We are reverting the behavior for what was in Rails 3.x and, if needed, we will implement a new API to prepend the order clauses in Rails 4.1.
-
由 Aaron Patterson 提交于
-
- 29 7月, 2013 10 次提交
-
-
由 Neeraj Singh 提交于
This fix also makes the test order independent.
-
由 Neeraj Singh 提交于
-
由 Neeraj Singh 提交于
This method is already present in helper.rb
-
由 sgrif 提交于
This adds the ability for rails apps or gems to have granular control over how a domain object is converted to sql. One simple use case would be to add support for Regexp. Another simple case would be something like the following: class DateRange < Struct.new(:start, :end) def include?(date) (start..end).cover?(date) end end class DateRangePredicate def call(attribute, range) attribute.in(range.start..range.end) end end ActiveRecord::PredicateBuilder.register_handler(DateRange, DateRangePredicate.new) More complex cases might include taking a currency object and converting it from EUR to USD before performing the query. By moving the existing handlers to this format, we were also able to nicely refactor a rather nasty method in PredicateBuilder.
-
由 Akira Matsuda 提交于
-
由 Akira Matsuda 提交于
This reverts commit 10259c3e. reason: this causes rake test_mysql and test_mysql2 fail
-
由 Akira Matsuda 提交于
-
由 Akira Matsuda 提交于
-
由 Akira Matsuda 提交于
-
由 Akira Matsuda 提交于
-
- 28 7月, 2013 6 次提交
-
-
由 Ankit Gupta 提交于
Don't think class name is needed as by default belongs_to :select will be linked to Select class.
-
由 Neeraj Singh 提交于
`NestedThroughAssociationsTest` adds records to `member_details` table. When test performs `@member_details[0]` then the order of record is not guaranteed. Hence it is best to start with a clean slate by deleting unwanted records.
-
由 Neeraj Singh 提交于
-
由 Neeraj Singh 提交于
-
由 Neeraj Singh 提交于
If the order in which tests are executed is changed then test fails. This commit ensures that all migrations are run before ensuring that there are no pending migration.
-
由 Neeraj Singh 提交于
`ReflectionTest` uses column information in tests and those tests break if tests are run in random order.
-
- 26 7月, 2013 3 次提交
-
-
由 Arun Agrawal 提交于
As done here d7fc97d3
-
由 Vipul A M 提交于
* Constantize parse token * Remove extra param passed to `parse_data`
-
由 Karunakar (Ruby) 提交于
-
- 25 7月, 2013 1 次提交
-
-
由 Carlos Antonio da Silva 提交于
-