Commit Graph

22090 Commits

Author SHA1 Message Date
José Valim
367bdc5361 Remove view dependency from AV::Renderer. 2011-05-01 13:40:13 +02:00
José Valim
33cc001f91 More cleanup and moving responsibilities around. 2011-05-01 13:40:12 +02:00
José Valim
2f683fd870 Remove more dependencies from the view. 2011-05-01 13:40:12 +02:00
José Valim
bebaccdf4a Remove dependency from _template. 2011-05-01 13:40:12 +02:00
José Valim
d08f65118c Start abstracting the renderer. 2011-05-01 13:40:12 +02:00
Xavier Noria
e68b7a001d (temporary hack) generate a main file for RDoc escaping "Rails"
RDoc autolinks the word "Rails" to the doc page for the Rails module.
But README.rdoc is displayed in the home page at GitHub and the slashes
are visible there, which is weird. We leave by now the slashes off in
the file, and generate a second file for the API with them.
2011-05-01 13:15:15 +02:00
Xavier Noria
2fbf302149 Merge branch 'master' of git://github.com/lifo/docrails
Conflicts:
	railties/guides/source/contributing_to_ruby_on_rails.textile
2011-05-01 11:16:31 +02:00
Aaron Patterson
a0656989c4 fixing more test warnings in 1.9.3 2011-04-30 17:40:53 -07:00
Aaron Patterson
9274a5744b fixing test warnings 2011-04-30 17:37:58 -07:00
Aaron Patterson
1d7c0336ef using bind parameters for updates 2011-04-30 17:27:46 -07:00
Aaron Patterson
e14e696e96 fixing arel requirements for released arel 2011-04-30 17:27:25 -07:00
Sebastian Martinez
b84b759ec6 Improved ActiveModel Observing docs. 2011-04-30 20:35:25 -03:00
Santiago Pastorino
754c2dd2e1 Change from LH to github way of autoclosing issues 2011-04-30 02:16:50 -03:00
Xavier Noria
b2aacc346c Prototype and Scriptaculous are no longer vendored, but provided by prototype-rails from now on, also the -j option of the application generator is removed 2011-04-30 03:53:24 +02:00
Aaron Patterson
7ee5f2eee5 making sure the create_fixtures method works to prevent regressions 2011-04-29 18:21:24 -07:00
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
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
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
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
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
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 2a25c5818b.

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