Myron Marston
9a385394ac
Fix dev env memory leaks by using AS::DescendantsTracker rather than keeping track of subclasses manually.
...
There's also no need to keep track of all ObserverArray instances in a hash, as this is likely to leak memory, too.
2011-04-28 08:07:08 -07:00
Myron Marston
05d4653cef
Revert "Revert "Handle enabling/disabling observers at different levels of the class hierarchy.""
...
This reverts commit 2a25c5818b03d7d6cd63aad180bff23479dbd861.
I'm going to add another commit that keeps the same behavior of fixes
the problems of leaking memory in development.
2011-04-28 07:58:58 -07:00
José Valim
bf50222b0b
Merged pull request #327 from dcrec1/master.
...
Prefix option for number_to_human_size
2011-04-28 05:38:46 -07:00
José Valim
533efd891a
Merged pull request #336 from neerajdotname/upgrade_rack_mount.
...
upgrade rack-mount to 0.7.2
2011-04-28 03:46:12 -07:00
Neeraj Singh
502aaec92c
upgrade rack-mount
...
Newer version is a few minor performance fixes
2011-04-28 06:35:58 -04:00
José Valim
bb44cd727f
Tidy up previous commit.
2011-04-28 09:47:07 +02:00
José Valim
182d00897a
Merged pull request #219 from panthomakos/memcache.
...
Character encoding issues with MemCacheStore in 1.9.2
2011-04-28 00:40:42 -07:00
José Valim
be55228bbf
Merged pull request #333 from jgarber/master.
...
Specific translations for labels with values
2011-04-28 00:36:32 -07:00
José Valim
2a25c5818b
Revert "Handle enabling/disabling observers at different levels of the class hierarchy."
...
This reverts commit ad62f1928768bd2676958a4a08512bad342fe469 because the current
subclasses implementation leaks memory in development.
Instead of keeping an array of subclasses, the better solution is to
ask the parent if an observer is being disabled or not.
2011-04-28 09:32:57 +02:00
José Valim
5297049e32
Merged pull request #328 from MSNexploder/fix_clear_inflector.
...
proper reset all inflector scopes
2011-04-28 00:19:13 -07:00
Jason Garber
a07cee62c7
Allow a label with the value option to have value-specific translations.
2011-04-27 21:00:27 -06:00
Myron Marston
ad62f19287
Handle enabling/disabling observers at different levels of the class hierarchy.
...
Last call wins.
2011-04-28 10:25:07 +08:00
Myron Marston
1f8cc446d9
Allow observers to be enabled and disabled.
...
This is useful in situations like model unit tests and the occasional rake task to backfill old data.
2011-04-28 10:23:49 +08:00
Myron Marston
5d20c0a64a
Wrap line that is over 200 characters long. Now it's much easier to read.
2011-04-28 10:23:48 +08:00
Diego Carrion
07bbaaa3b1
added a :prefix option to number_to_human_size
2011-04-27 20:29:03 -03:00
Aaron Patterson
bed6a775df
requiring a newer version of the mysql2 gem
2011-04-27 14:44:28 -07:00
Aaron Patterson
e190569cfb
Merged pull request #325 from joshk/mass_assignment_tests_fixed.
...
final corrections to the mass-assignment security tests
2011-04-27 14:32:49 -07:00
Josh Kalderimis
78e581bd2f
some test renaming to avoid collisions, and some annoying issues between dbs
2011-04-27 23:27:10 +02:00
misfo
9f6cafd5fd
prevent errors when passing a frozen string as a param to ActionController::TestCase#process
...
since ActionDispatch::Http::Parameters#encode_params will force encoding on all params strings (when using an encoding aware Ruby), dup all strings passed into process. This prevents modification of params passed in and, more importantly, doesn't barf when a frozen string is passed
thanks and high fives to kinsteronline
2011-04-28 04:07:57 +08:00
Aaron Patterson
1cd5a084c1
Merged pull request #325 from joshk/mass_assignment_tests_fixed.
...
final corrections to the mass-assignment security tests
2011-04-27 12:07:36 -07:00
Josh Kalderimis
e85dbd8f06
final corrections to the mass-assignment security tests
2011-04-27 20:57:56 +02:00
Joshua Peek
c992045da3
Merged pull request #324 from joshk/fix_array_from.
...
fixed a small bug with Array#from core_ext
2011-04-27 08:42:32 -07:00
Josh Kalderimis
11537c57cb
fixed a small bug with Array#from core_ext
2011-04-27 17:35:00 +02:00
David Heinemeier Hansson
e84788e60c
Relevant options closer together
2011-04-27 08:55:26 -06:00
Josh Kalderimis
a009c3b4b9
minor git sources formatting change in railties app_base.rb
2011-04-27 22:05:58 +08:00
Jared McFarland
d56befbd31
using @tenderlove's suggested implementation to speed things up
2011-04-27 20:51:39 +08:00
Ganesh Kumar
bd2444d1a8
enable uglifier gem as new version of execjs is relased
2011-04-27 20:50:09 +08:00
Piotr Sarnacki
e8c1031092
Merged pull request #319 from nusco/master.
...
Fixed minor typo in comment
2011-04-26 16:32:15 -07:00
Paolo "Nusco" Perrotta
24e4ea582b
Fixed minor typo in comment
2011-04-26 16:15:20 -07:00
Aaron Patterson
2cac007c41
Merged pull request #318 from joshk/fix_tests.
...
fix mass-assignment security tests
2011-04-26 15:34:03 -07:00
Josh Kalderimis
fee69cb021
fix mass-assignment security tests, this was due to a string column limit which doesn't cause issues on sqlite
2011-04-27 00:28:24 +02:00
David Heinemeier Hansson
344c7766a5
Merged pull request #317 from jaredonline/master.
...
Change Array#from to return consistent results
2011-04-26 14:55:22 -07:00
Jared McFarland
74634d452b
fixing Array#from to return consistent results
2011-04-26 14:46:52 -07:00
David Heinemeier Hansson
4ce14fb080
Merged pull request #313 from chadk/master.
...
[patch] Asset helpers should understand scheme-relative URLs
2011-04-26 11:56:40 -07:00
Chad Krsek
c15108ce06
moving check fo scheme-relative URI into is_uri?
2011-04-26 11:50:08 -07:00
David Heinemeier Hansson
c57320d769
Prem fixes 1.9 engine test issue
2011-04-26 12:46:28 -06:00
José Valim
e36befbdd7
Merged pull request #279 from miloops/434d757.
...
Fix console to accept [environment] [options] as specified in docs.
2011-04-26 11:15:42 -07:00
Aaron Patterson
91bd1951cc
Merged pull request #314 from smartinez87/master.
...
Fix #update_attributes api format error
2011-04-26 11:08:00 -07:00
Sebastian Martinez
0421002d78
Fix #update_attributes api format error
2011-04-26 14:58:06 -03:00
Aaron Patterson
e28f9ad9df
simplifying buffered logger for easier and slightly more performant codes. pumpkin
2011-04-26 10:41:59 -07:00
Aaron Patterson
315f555744
Merged pull request #307 from arunagw/master.
...
jdbcpostgresql support added into template.
2011-04-26 10:32:29 -07:00
Chad Krsek
b49a1192d3
asset helpers should understand scheme-relative URLs
2011-04-26 10:24:50 -07:00
David Heinemeier Hansson
9dc41a27d9
Merged pull request #311 from joshk/assign_attributes.
...
AR update_attributes api is updated to reflect the addition of assign_att
2011-04-26 10:00:51 -07:00
Aaron Patterson
8111facdb4
Merged pull request #311 from joshk/assign_attributes.
...
AR update_attributes api is updated to reflect the addition of assign_att
2011-04-26 09:22:43 -07:00
Joshua Peek
472f3fb61f
Merged pull request #312 from joshk/bump_multi_json.
...
bump multi_json dependency
2011-04-26 09:07:14 -07:00
Josh Kalderimis
bb7024b6ec
AR update_attributes api is updated to reflect the addition of assign_attributes
2011-04-26 18:00:57 +02:00
Josh Kalderimis
1233e09b7d
bump multi_json dependency
2011-04-26 17:54:41 +02:00
Aaron Patterson
6e02a61f39
Merged pull request #310 from beanieboi/master.
...
Added support for tsvector datatype in postgres
2011-04-26 08:52:37 -07:00
Sven Fuchs
a5b0f7064c
bump the i18n gem to 0.6.0beta1 and update docs for the i18n exception handler [ #6739 state:committed]
...
Signed-off-by: José Valim <jose.valim@gmail.com>
2011-04-26 15:10:58 +02:00
Mikel Lindsaar
dd44626c7f
Updating to use Mail v2.3.0
...
Need to move the require of mail in test/abstract_unit to be after active support
to make sure we use ActiveSupport multibyte handlers, otherwise, Mail will load its
internal multibyte compat
2011-04-26 20:05:59 +10:00