miloops
-
When counting grouped records the target should be loaded to return a valid groups count result.
Without this change count_records will group for the count in the query and return erroneous results.
Signed-off-by: Michael Koziarski
dc8bf7515de85f5bc28d17e96edf4a3e74a858da
[#937 state:committed]
-
Base.skip_time_zone_conversion_for_attributes uses class_inheritable_accessor, so that subclasses don't overwrite Base [#346 state:resolved]
9c4730d01e892df8d5c5493a08e0cddf0de5d575
-
Use select and change test so new tests can work on postgres.
Signed-off-by: Michael Koziarski
646b5bfa61f8e803d98bd1557c53ea961cc6b16d
-
Improve test coverage when using the group option in find, has_many or has_and_belongs_to_many.
Signed-off-by: Michael Koziarski
a37c5ae961366e3d693991b51d0830d40ae37e08
-
Add --debugger option to script/console.
Signed-off-by: Michael Koziarski
c98cb8ffc2f42bff565994951af9412e52fcdc58
[#1025 state:committed]
-
Added find_last_by dynamic finder [status:committed #762]
Signed-off-by: David Heinemeier Hansson
567392bff32acd5cf357565415d33c2662004cf5
-
Use reflection primary_key instead of id for when selecting association ids.
[#906 state:resolved]
Signed-off-by: Jeremy Kemper
6183e55f714b436335dc843528be7525c342d922
-
Allow prototype functions to receive position parameter as a symbol.
[#887 state:resolved]
Signed-off-by: Jeremy Kemper
367a55e1b8deb87e7388cb97b2ac8c28a0796c89
-
Performance: Better query for ASSOCIATION_ids. Select only ids if the association hasn't been loaded.
Signed-off-by: Jeremy Kemper
b163d83b8bab9103dc0e73b86212c2629cb45ca2
-
Make assert_select_rjs code more readable, make use of unused constants and use more simple Regexps.
[#540 state:resolved]
Signed-off-by: Jeremy Kemper
11eb29f60ab79caf22f7ca715500e32d9a1b03a2
-
mail_to should use decodeURIcomponent instead of unescape to be utf friendly.
Signed-off-by: Michael Koziarski
ea0d036e31d984888303a79533ff872b787871ae
-
In javascript helpers option[:type] = :synchronous should work as described in docs.
Signed-off-by: Michael Koziarski
f3da46effae9f23f6ea473f7296e9c0c9bb49fce
-
Fix HasManyThroughAssociationsTest tests. [#733 state:resolved]
Signed-off-by: Pratik Naik
fb5cc19707582fa61ca3e426697cc2b00e9e5ffa
-
Performance: grouping helpers should use yield instead of block as argument. [#723 state:resolved]
2617d0dc5ced4b354bff9633bddafdf80ad5a711
-
Prototype helpers should generate Element.insert instead of Insertion.new, which has been deprecated in Prototype 1.6.
eaab895f83276674891227c656df9b4cebc50200
-
update_counters should update nil values.
This allows counter columns with default null instead of requiring default 0.
[#493 state:resolved]
459e5817a513b95741b77af26771a6252a13d01f
-
Allow date helpers to ignore date hidden field tags. [#503 state:resolved]
Signed-off-by: Pratik Naik
570f5aad663fa3113772cf56306862829babc739

