Commit Graph

22399 Commits

Author SHA1 Message Date
Aaron Patterson
2987115656 make sure we flatten the fixture path list 2011-04-29 18:21:24 -07:00
Aaron Patterson
1f5249bf93 shorten up our fixture path resolving code 2011-04-29 18:21:24 -07:00
Mike Gehard
bf3a3c22c0 Removed so info about assigning to specific devs and adding tags. I don't believe that you can do that in GitHub issues. Remove state:committed notes as they also don't exist in GitHub issues. 2011-04-29 19:19:25 -06:00
Santiago Pastorino
9ef4b70b20 Update jquery-ujs and prototype-ujs 2011-04-29 21:44:40 -03:00
Santiago Pastorino
5076264163 Make update_ujs task update the right files 2011-04-29 21:44:05 -03:00
Sebastian Martinez
1302bf295a Added missing word on guide 2011-04-29 21:22:33 -03:00
David Heinemeier Hansson
e350641d02 Include CSRF token in remote:true calls 2011-04-29 18:22:10 -06:00
Aaron Patterson
651836a4bd table name needs to be classified when instantiating fixtures 2011-04-29 17:20:56 -07:00
Sebastian Martinez
9c0196a6bb Upload patches is for LH, we use pull requests on GitHub now 2011-04-29 21:18:49 -03:00
Dan Pickett
1efaed5af1 Merge branch 'master' of github.com:lifo/docrails 2011-04-29 19:18:10 -04:00
Dan Pickett
85c8d73642 update contributors guide to reflect GitHub use
* outlines how to review pull requests
* outlines how to issue pull requests
* changed all references from LH => GH
2011-04-29 19:17:34 -04:00
Xavier Noria
9971387a3b Merged pull request #350 from bcardarella/master.
Fixed documentation, 'asset' -> 'assets'
2011-04-29 14:23:33 -07:00
Brian Cardarella
564fe7f633 Fixed comment 'config.asset' => 'config.assets' 2011-04-29 14:17:40 -07:00
Xavier Noria
cc35d5c9e7 JavaScript expansions are ignored if the application uses the asset pipeline, warn the user 2011-04-29 22:14:34 +02:00
Bradley Harris
aba149d702 Fix bug with empty CDATA not being handled in Hash.from_xml 2011-04-29 14:47:49 -04:00
Aaron Patterson
60c877c43b convert query results to a list of lists 2011-04-29 11:47:04 -07:00
Aaron Patterson
0eea560b48 requring pg ~> 0.11, so remove conditional code for supporting older versions of the gem 2011-04-29 11:44:17 -07:00
José Valim
0c76eb1106 No need for &block here. 2011-04-29 20:30:21 +02:00
José Valim
58ad5e1859 Make postgresql faster on development (thanks to @tapajos). 2011-04-29 20:30:20 +02:00
Aaron Patterson
146474256c lean on rubygems to provide error messages about missing gems 2011-04-29 11:09:37 -07:00
Aaron Patterson
00f030c6e1 supporting delete with bind parameters in mysql2 2011-04-29 11:09:37 -07:00
Aaron Patterson
ed775c66bc refactor exec_delete to reuse the statement cache from exec_query 2011-04-29 11:09:37 -07:00
Aaron Patterson
4c41be9b83 statement cache for deletes working on mysql 2011-04-29 11:09:37 -07:00
Aaron Patterson
453bd2f39d sqlite3 supports prepared statement deletes 2011-04-29 11:09:37 -07:00
Aaron Patterson
f1df6b2dce postgresql supports prepare statement deletes 2011-04-29 11:09:37 -07:00
Bradley Harris
2450177656 Added test for empty CDATA bug in from_xml 2011-04-29 14:09:06 -04:00
Aaron Patterson
850b3ca477 supporting nil when passed in as an IN clause 2011-04-29 11:01:59 -07:00
gmile
66a18855ea Test that passing nil member of array in conditions retrieves records with nil
value on a selected field.
2011-04-29 09:43:18 -07:00
José Valim
3331166b48 Merged pull request #344 from asanghi/callback_if.
:if should not fire on validations when not in context with :on
2011-04-28 23:24:40 -07:00
Aditya Sanghi
8bce6e761d DRY this baby up 2011-04-29 10:21:16 +05:30
Aditya Sanghi
36ee2bafec fix typo 2011-04-29 09:53:02 +05:30
Aditya Sanghi
bf5cf5db86 :if should not fire on validations when not in context with :on 2011-04-29 02:54:37 +05:30
Aditya Sanghi
610e4d9f24 add more documentation; remove unused assignment 2011-04-29 02:03:56 +05:30
Aditya Sanghi
a869382a9f Allow AM/PM in datetime selectors 2011-04-29 01:49:45 +05:30
José Valim
e59491355e Merge remote branch 'myron/am_disabling_fix_memory_leaks' 2011-04-28 19:17:03 +02:00
Aaron Patterson
fc343d26ff clearing statement from cache on exception in order to support older versions of mysql 2011-04-28 09:48:16 -07:00
Josh Kalderimis
5164c50d7f removed the default_scope deprecations and updated the docs and tests to reflect its use cases 2011-04-28 18:46:40 +02:00
Myron Marston
7db7aa5053 Add additional tests for AM::ObserverArray that I had missed yesterday. 2011-04-28 08:32:22 -07:00
Myron Marston
fef22157b0 Fix bug with AM::Observer disablement.
Now that we propagate the enabling/disabling to descendants, we no longer have to check the disabled_observer Set on each superclass of the model class.  This was causing a bug when disabling all observers at a superclass level and then enabling an individual observer at a subclass level.

Plus the logic is simpler now :).
2011-04-28 08:27:15 -07:00
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
Stefan Rohlfing
010dbf7a2f Merged pull request #40 from bytesource/master.
Rails Routing from the Outside In (routing.textile): Fixed Regex
2011-04-28 00:35:29 -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
Stefan Rohlfing
4c50a0f800 Edited railties/guides/source/routing.textile via GitHub 2011-04-28 00:25:03 -07:00