Commit Graph

22951 Commits

Author SHA1 Message Date
Xavier Noria
ea8b05c46e sprockets gzips assets now
Conflicts:

	railties/lib/rails/tasks/assets.rake
2011-06-07 22:00:21 +02:00
Dmitriy Kiriyenko
54f5fb5dc3 Do not use default_scope in ActiveRecord::Persistence#touch. 2011-06-07 18:43:24 +01:00
Dmitriy Kiriyenko
96711aa0a9 This way asserting that updated_at was changed in touch look more obvious. 2011-06-07 18:43:24 +01:00
Aaron Patterson
a9959115e6 Merge pull request #1528 from chriseppstein/3-1-stable
Update project Gemfile to use the sass-rails rc
2011-06-07 10:11:26 -07:00
Chris Eppstein
654514a306 Use the sass-rails release candidate until full release. 2011-06-07 10:08:19 -07:00
José Valim
69b25ebb2b Merge pull request #1527 from guilleiguaran/3-1-stable
Rails::Server#app should be nice with Rack::URLMap (3.1 stable)
2011-06-07 09:41:57 -07:00
Guillermo Iguaran
8d758d87a9 Fixing Rails::Server#app under Rack::URLMap 2011-06-07 11:36:02 -05:00
Xavier Noria
645f138c55 adds missing require 2011-06-07 12:07:00 +02:00
Aaron Patterson
377b15a223 make sure AR isolated tests set the environment variable 2011-06-06 18:01:19 -07:00
Aaron Patterson
75fb26aeca oops! add parens so the block is properly bound 2011-06-06 16:59:51 -07:00
Aaron Patterson
945b131eb2 set the environment variable from the rake file 2011-06-06 16:51:28 -07:00
Aaron Patterson
606108a069 more oracle fixes 2011-06-06 15:46:50 -07:00
Aaron Patterson
50d331d551 do not muck with the load path, that is the test task responsibility 2011-06-06 15:46:50 -07:00
Aaron Patterson
10eb47913d updating configs for oracle 2011-06-06 15:46:50 -07:00
Aaron Patterson
b8714ed907 add test to the include path 2011-06-06 15:46:50 -07:00
Aaron Patterson
e504101b36 please use ruby -I lib:test path/to/test.rb, or export RUBY_OPT 2011-06-06 15:46:50 -07:00
Vijay Dev
95f3046643 add info about docrails policy on changelogs 2011-06-06 22:50:55 +02:00
Vijay Dev
fa1aad741d comment the recorder methods 2011-06-06 22:47:04 +02:00
Vijay Dev
59016b9b97 up and down are no longer class methods in a migration 2011-06-06 22:46:53 +02:00
Vijay Dev
7262d9286b rearrange sections of the commandline guide giving more importance to rake tasks 2011-06-06 22:46:45 +02:00
Vijay Dev
3962d947b8 document assets related rake tasks 2011-06-06 22:46:31 +02:00
Mariusz Pękala
b6826beccb Validations guide: order of :after_save callback was incorrect.
The guide was contracting itself. First it stated that 'there is a list
of callbacks in order of execution', on the list 'after_save' was placed
before 'after_create', and then there was a warning that 'after_save'
runs after them. I am not sure about 'around_' callbacks, but let's
leave that for another patch.
2011-06-06 22:46:25 +02:00
Guillermo Iguaran
c1ce1684a5 Change http://api.rubyonrails.com to http://api.rubyonrails.org 2011-06-06 22:46:19 +02:00
Vijay Dev
5d4b73af8b minor edits in migrations guide 2011-06-06 22:45:58 +02:00
Vijay Dev
47670a5e03 annotate class_eval method for active resource schema attributes 2011-06-06 22:45:52 +02:00
Guillermo Iguaran
527499ca12 Remove trailing white-spaces 2011-06-06 22:45:45 +02:00
Vijay Dev
670ae129cf correct code indendation in the initialization guide 2011-06-06 22:45:39 +02:00
Vijay Dev
3432775131 s/ActiveRecord/Active Record according to api guidelines 2011-06-06 22:45:31 +02:00
Vijay Dev
b1919b1cf3 minor corrections in generators guide 2011-06-06 22:45:23 +02:00
Vijay Dev
2974869bbc fix incorrect module name for wrap parameters 2011-06-06 22:45:16 +02:00
Vijay Dev
dff7c62ef0 some grammatical corrections 2011-06-06 22:45:10 +02:00
Vijay Dev
0e8857b65e fix incorrect output 2011-06-06 22:45:04 +02:00
Alberto Perdomo
f9087ee29c Fixed order of parameters in assert_equal call examples, first expected, then actual object. 2011-06-06 22:44:58 +02:00
Rohit Arondekar
9726ed8caf Upcoming version of Rails is upon us so no need to refer to it. [API DOCS] 2011-06-06 22:44:51 +02:00
Vijay Dev
424d72586f use clearer variable name in examples 2011-06-06 22:44:43 +02:00
Waynn Lue
d57cfc1b54 add a missing "the" and normalize the use of periods. 2011-06-06 22:44:35 +02:00
Prem Sichanugrist
eade59177d Revise documentation indentation from [79990505e5] 2011-06-06 22:44:29 +02:00
ganesh
5e44184a4e updated Changelog 2011-06-06 22:44:23 +02:00
Linux on Rails
f7ac354f4c FIXED: error with url_for & link_to when we have nested resources. 2011-06-06 22:44:11 +02:00
Vijay Dev
69b3c9cf9a remove stray ( 2011-06-06 22:44:02 +02:00
Vijay Dev
40e7682e11 fix indentation, fixed-width for nils 2011-06-06 22:43:31 +02:00
brianp
50a73916aa Fixed sections regarding validations and callbacks to mention the touch method does not fire either validations or callbacks as stated in the docs. 2011-06-06 22:43:23 +02:00
Ben Orenstein
f4a4d5fa1c Change hashrocket spacing to match conventions. 2011-06-06 22:43:16 +02:00
Vijay Dev
f51cea64ad add alias info for runner command 2011-06-06 22:43:06 +02:00
Ayose
6ad8f6ef5c Edited activerecord/lib/active_record/transactions.rb via GitHub 2011-06-06 22:42:44 +02:00
Ayose
700fd6d29b The URL http://dev.mysql.com/doc/refman/5.0/en/savepoints.html is no longer available 2011-06-06 22:42:37 +02:00
Akira Matsuda
6f3d997578 s/a/an/ 2011-06-06 22:42:30 +02:00
Akira Matsuda
4c716e660c s/an/a/ 2011-06-06 22:42:23 +02:00
Guillermo Iguaran
48b90967b0 Removing trailing white-spaces 2011-06-06 22:42:17 +02:00
Mark Roghelia
8ac4e4dbce The example in the API docs incorrectly indicated that form_for would use the same default route for both new and previously persisted records. The default path given in the example would have generated a routing error for new records. form_for actually uses polymorphic_path to determine which route to use based on the state of the record. The example has been updated to reflect the method's actual behavior. 2011-06-06 22:42:05 +02:00