rails/railties/test
Aleksey Magusev 94b230e189 Add polymorphic option to model generator
For instance,

    $ rails g model Product supplier:references{polymorphic}

generate model with `belongs_to :supplier, polymorphic: true` association and appropriate migration.

Also fix model_generator_test.rb#L196 and #L201
2012-06-27 18:12:28 +04:00
..
application ruby 1.9 hash syntax for generated code 2012-06-23 20:19:21 +08:00
commands Set RACK_ENV to nil in the dbconsole test 2012-05-30 23:29:47 -03:00
configuration using __method__ for the command method calls 2012-05-21 16:20:40 -07:00
fixtures treat USAGE as an ERB template 2011-11-02 09:00:18 -04:00
generators Add polymorphic option to model generator 2012-06-27 18:12:28 +04:00
isolation run railties tests in parallel, default to 2 cores 2012-06-19 17:08:23 -07:00
queueing Allow overriding exception handling in threaded consumer 2012-05-04 09:11:44 -03:00
railties expand the tmpdir to the realpath so tests on OS X pass 2012-06-19 15:41:52 -07:00
abstract_unit.rb Ensure that Rails.env is equal to "test" by default when running tests. 2012-05-06 21:36:59 -07:00
backtrace_cleaner_test.rb Gem cont presence checking has been removed 2012-05-02 13:56:13 +03:00
engine_test.rb Don't create new directory for tests 2012-04-28 15:05:49 -07:00
generators_test.rb Unused variable warning removed. 2012-05-30 14:46:17 +05:30
initializable_test.rb :group => :assets should only run in the assets environment. 2011-10-02 22:08:33 +02:00
paths_test.rb Fixes build 4008.1 2012-05-25 09:49:34 +05:30
rails_info_controller_test.rb Rails::InfoController tests passing 2012-05-24 12:50:16 -05:00
rails_info_test.rb Updated/changed useless tr/gsubs 2012-04-03 15:16:09 +02:00
script_rails_loader_test.rb Deletes trailing whitespaces (over text files only find * -type f -exec sed 's/[ \t]*$//' -i {} \;) 2010-08-14 04:12:33 -03:00