Commit Graph

23363 Commits

Author SHA1 Message Date
Jon Leighton 4f5f6a3257 When you add a record to a polymorphic has_one, you should be able to access the owner from the associated record 2011-06-08 00:32:49 +01:00
Vijay Dev e89a253705 minor fixes from 5acf76d 2011-06-08 04:53:09 +05:30
Vijay Dev 7fd8f71ce0 fix incorrect validation examples 2011-06-08 04:48:42 +05:30
Xavier Noria f8cfa7afdb Merge branch 'master' of github.com:lifo/docrails 2011-06-08 00:30:07 +02:00
Xavier Noria a1e78cfc36 Merge branch 'master' of git://github.com/lifo/docrails 2011-06-08 00:22:36 +02:00
Vijay Dev a4679839ad fix typo 2011-06-08 03:52:33 +05:30
Vijay Dev 645f003be7 fix spacing 2011-06-08 03:43:53 +05:30
Xavier Noria 97036eb5ba Merge pull request #1533 from alexandrz/master
Fix typo
2011-06-07 14:45:36 -07:00
Alexandr Zykov 4c3ec9889a fix typo 2011-06-08 03:31:33 +06:00
Joshua Peek 2684f17a17 Update asset helpers to use `config.assets.prefix`
Fixes #1489
2011-06-07 14:27:57 -07:00
Paco Guzman 5acf76d173 Add action_mailer observer and interceptors configuration options 2011-06-07 23:27:09 +02:00
Vijay Dev 366ffd8164 add missing generator configs 2011-06-08 02:25:19 +05:30
Vijay Dev dc15a0f7d0 proof reading and fixes in configuring guide 2011-06-08 02:25:19 +05:30
Vijay Dev 0b09f84c91 fix indents and a code error in caching guide 2011-06-08 02:25:19 +05:30
Xavier Noria c00da252b8 mention assets:clean in railties CHANGELOG 2011-06-07 22:03:15 +02:00
Xavier Noria 2d4115528f sprockets gzips assets now 2011-06-07 21:58:40 +02:00
Dmitriy Kiriyenko 8aabefb0b7 This way asserting that updated_at was changed in touch look more obvious. 2011-06-07 18:42:40 +01:00
Dmitriy Kiriyenko 7c1f73c843 Do not use default_scope in ActiveRecord::Persistence#touch. 2011-06-07 18:42:40 +01:00
José Valim 050d6ef060 Merge pull request #1516 from guilleiguaran/rack-urlmap-fix
Rails::Server#app should be nice with Rack::URLMap
2011-06-07 09:08:51 -07:00
Guillermo Iguaran 8496be7e11 Fixing Rails::Server#app under Rack::URLMap 2011-06-07 11:03:02 -05:00
Raghunadh 2e07c71106 rafactored the regex related code in the mapper class 2011-06-07 19:02:08 +05:30
Stefan Sprenger 331d58fb04 Prepend bundle exec to get the correct Rake version 2011-06-07 14:07:32 +02:00
Stefan Sprenger 246c367570 Use RAILS_ISOLATED_ENGINE and fix namespaced generators tests 2011-06-07 12:16:05 +02:00
Xavier Noria 72cca79d36 adds missing require 2011-06-07 12:06:02 +02:00
Stefan Sprenger 8ea90ffdb8 Use mattr_accessor :namespace 2011-06-07 11:36:11 +02:00
Stefan Sprenger 64f337eeb0 Don't create full Rails application if RAILS_ISOLATION_COMMAND equals engine 2011-06-07 11:26:38 +02:00
Stefan Sprenger f18283194b Use namespace if it's a mountable engine 2011-06-07 11:21:38 +02:00
Stefan Sprenger 1a06530aa5 Added regression tests 2011-06-07 10:23:45 +02:00
Jon Leighton ad9586bf38 Fix a couple of helper requires that were missed. This was causing the tests to fail to run on 1.8.7. 2011-06-07 08:35:55 +01:00
Stefan Sprenger 402163916b Move test/engine/generators_test.rb to test/railties/generators_test.rb 2011-06-07 09:33:17 +02:00
Stefan Sprenger 5afd83c03b Add test for helper generator 2011-06-07 09:31:07 +02:00
Stefan Sprenger a60624d6c0 Clean up engine's generator test and use bundle exec for invoking generators 2011-06-07 09:16:15 +02:00
José Valim e32e8ed966 Merge pull request #1474 from ganeshkumar/update_column_changes
added  tests for update_column
2011-06-07 00:14:42 -07:00
Ryan Bigg 77616702df Clean up engine generators_test code and add test for models correctly namespaced 2011-06-07 08:32:03 +02:00
Ryan Bigg 32d35bac09 Add beginnings of test for generators within the context of an engine 2011-06-07 08:31:19 +02:00
Aaron Patterson 80451a1fa6 make sure AR isolated tests set the environment variable 2011-06-06 18:01:45 -07:00
Piotr Sarnacki a6c5cc2377 Added missing assert to test checking form with namespaced isolated model and fixed helpers to work correctly in such case 2011-06-07 02:40:41 +02:00
Aaron Patterson cd27cd5e49 oops! add parens so the block is properly bound 2011-06-06 17:00:08 -07:00
Aaron Patterson 8392f10b58 set the environment variable from the rake file 2011-06-06 16:51:45 -07:00
Aaron Patterson 424cf3b050 more oracle fixes 2011-06-06 15:47:29 -07:00
Aaron Patterson 517ca8771c do not muck with the load path, that is the test task responsibility 2011-06-06 15:47:26 -07:00
Aaron Patterson 841d29639b updating configs for oracle 2011-06-06 15:47:22 -07:00
Aaron Patterson c8d124c0fc add test to the include path 2011-06-06 15:47:17 -07:00
Aaron Patterson 61774e0d49 please use ruby -I lib:test path/to/test.rb, or export RUBY_OPT 2011-06-06 15:47:13 -07:00
Xavier Noria 6cf458823f Merge branch 'master' of git://github.com/lifo/docrails 2011-06-06 22:50:09 +02:00
Vijay Dev 1f272538bd add info about docrails policy on changelogs 2011-06-07 02:03:48 +05:30
Jon Leighton 445c0607f7 Don't ensure all keys in build_results are only written once, otherwise we get false positive builds reported. 2011-06-06 21:27:29 +01:00
Jon Leighton 499dec0102 Make sure that the build/drop database rake tasks take account of the test/config.yml config 2011-06-06 21:27:28 +01:00
Xavier Noria 5e21247131 Merge branch 'master' of git://github.com/lifo/docrails
Conflicts:
	activerecord/RUNNING_UNIT_TESTS
2011-06-06 22:23:30 +02:00
Xavier Noria 689e12b828 Revert "updated Changelog "
This reverts commit 79990505e5.

Conflicts:

	activerecord/CHANGELOG

Reason: Sorry, CHANGELOGs can't be edited via docrails.
2011-06-06 22:12:34 +02:00