Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Rename RouteInspect to RoutesInspector for consistency | José Valim | 2012-06-29 | 1 | -2/+2 |
| | |||||
* | Merge pull request #6880 from kennyj/fix_20120628 | Carlos Antonio da Silva | 2012-06-27 | 1 | -1/+1 |
|\ | | | | | Fix wrong testcase for db:test:prepare, and wrong environment in AR rake task. | ||||
| * | Fix wrong testcase. This is a testcase for db:test:prepare. | kennyj | 2012-06-28 | 1 | -1/+1 |
| | | |||||
* | | Merge pull request #6856 from lexmag/polymorphic_generators | Carlos Antonio da Silva | 2012-06-27 | 2 | -11/+29 |
|\ \ | |/ |/| | | | | | | | | | | | | | 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. | ||||
| * | Add polymorphic option to model generator | Aleksey Magusev | 2012-06-27 | 2 | -11/+29 |
| | | | | | | | | | | | | | | | | | | | | 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 | ||||
* | | Change the behavior of db:test:prepare task when schema_format is sql for ↵ | kennyj | 2012-06-26 | 1 | -0/+9 |
| | | | | | | | | consistency. | ||||
* | | Change the behavior of db:test:clone task when schema_format is sql for ↵ | kennyj | 2012-06-26 | 1 | -0/+9 |
|/ | | | | consistency. | ||||
* | ruby 1.9 hash syntax for generated code | Richard Huang | 2012-06-23 | 1 | -4/+4 |
| | | | | | | | | app/controllers/application_controller.rb app/views/layouts/application.html.erb config/application.rb config/routes.rb test/performance/browsing_test.rb | ||||
* | Run the logger tests in isolation | Rafael Mendonça França | 2012-06-19 | 1 | -0/+2 |
| | |||||
* | run the notes tests in isolation | Aaron Patterson | 2012-06-19 | 1 | -0/+4 |
| | |||||
* | run railties tests in parallel, default to 2 cores | Aaron Patterson | 2012-06-19 | 1 | -2/+0 |
| | |||||
* | join any extra args to the tmp path | Aaron Patterson | 2012-06-19 | 1 | -0/+1 |
| | |||||
* | expand the tmpdir to the realpath so tests on OS X pass | Aaron Patterson | 2012-06-19 | 2 | -2/+2 |
| | |||||
* | use system tmpdir rather than our own | Aaron Patterson | 2012-06-19 | 2 | -11/+16 |
| | |||||
* | Don't read csv file during executing db:fixtures:load. | kennyj | 2012-06-17 | 1 | -0/+12 |
| | |||||
* | TestCase does not need to be loaded when loading the framework | Aaron Patterson | 2012-06-15 | 1 | -1/+10 |
| | |||||
* | Fix observers with AR::Model | Jon Leighton | 2012-06-15 | 1 | -0/+21 |
| | |||||
* | Fix config.active_record.whitelist_attributes with AR::Model | Jon Leighton | 2012-06-15 | 1 | -3/+4 |
| | |||||
* | Merge pull request #6690 from suginoy/fix-templates-copy | Rafael Mendonça França | 2012-06-11 | 1 | -0/+11 |
|\ | | | | | Fix: 'rake rails:templates:copy' doesn't work | ||||
| * | Added a testcase for #6690. | kennyj | 2012-06-12 | 1 | -0/+11 |
| | | |||||
* | | Use . instead of :: for class methods, add CHANGELOG entries | José Valim | 2012-06-10 | 1 | -1/+1 |
| | | |||||
* | | Merge pull request #6665 from schneems/schneems/raise-migration-error | José Valim | 2012-06-10 | 1 | -0/+15 |
|\ \ | |/ |/| | Notify A User they Have Pending Migrations | ||||
| * | test errors for pending migrations | schneems | 2012-06-09 | 1 | -0/+15 |
| | | | | | | App should raise error on page_load | ||||
* | | Fix tests, active_authorizer shouldn't include blank values | Piotr Sarnacki | 2012-06-09 | 1 | -1/+1 |
| | | | | | | | | Fix for a test failing after: 00ff0a6776 | ||||
* | | Merge pull request #6681 from arunagw/plugin_gen_fix | Rafael Mendonça França | 2012-06-08 | 1 | -2/+8 |
|\ \ | | | | | | | Plugin gen fix | ||||
| * | | We should not include engine.rake file into rake | Arun Agrawal | 2012-06-08 | 1 | -0/+8 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | if we are passing -T which is skip_test_unit See issue #6673 for more details. I saw that we are not creating dummy app even if we do skip_test_unit. Fixes #6673 | ||||
| * | | Removed protected as we already doing it above. | Arun Agrawal | 2012-06-08 | 1 | -2/+0 |
| | | | |||||
* | | | Don't add sqlite3 to gemspec with -O on rails plugin new | Piotr Sarnacki | 2012-06-08 | 1 | -0/+8 |
|/ / | | | | | | | (closes #6672) | ||||
* | | stop `to_s`ing method names | Akira Matsuda | 2012-06-06 | 1 | -3/+1 |
| | | | | | | | | Module#methods are Symbols in Ruby >= 1.9 | ||||
* | | Fixed the application_controller require_dependency path generated by the ↵ | Fred Wu | 2012-06-06 | 1 | -1/+3 |
| | | | | | | | | app generator | ||||
* | | Merge pull request #6627 from Vanuan/tests_add_precompile_failure_assert | José Valim | 2012-06-05 | 1 | -17/+24 |
|\ \ | | | | | | | bundle exec rake assets:precompile shouldn't fail quietly. | ||||
| * | | bundle exec rake assets:precompile shouldn't fail quietly. | John Yani | 2012-06-05 | 1 | -17/+24 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | If JavaScript runtime is not installed, execjs fails with error quietly, while tests continue to run. This should not happen since it causes tests to fail for unknown reason (#6621). This commit assures that if JavaScript runtime is not installed, an assertion is raised. | ||||
* | | | Fixed the Gemfile when gemspec is skipped in the 'rails plugin new' command | Fred Wu | 2012-06-05 | 1 | -0/+26 |
|/ / | |||||
* | | Set RACK_ENV to nil in the dbconsole test | Rafael Mendonça França | 2012-05-30 | 1 | -0/+1 |
| | | | | | | | | This will fix the travis-ci build | ||||
* | | Fix app_generator_test with the changes introduced at | Rafael Mendonça França | 2012-05-30 | 1 | -1/+1 |
| | | | | | | | | f4d7af67ffc90f2542afa50c7579fc83ea4f45f2 | ||||
* | | Remove support for rails server RAILS_ENV=env-name | Sam Oliver | 2012-05-30 | 1 | -2/+2 |
| | | |||||
* | | Fix various bugs with console arguments. | Sam Oliver | 2012-05-30 | 2 | -39/+71 |
|/ | | | | Allow hyphens in environment names again. | ||||
* | Unused variable warning removed. | Arun Agrawal | 2012-05-30 | 1 | -1/+1 |
| | |||||
* | More assert_match warnings fixed. | Arun Agrawal | 2012-05-30 | 4 | -12/+12 |
| | |||||
* | Warnings removed for "assert_match /". | Arun Agrawal | 2012-05-30 | 1 | -20/+20 |
| | |||||
* | Add support runner hook. | kennyj | 2012-05-29 | 2 | -0/+26 |
| | |||||
* | Add a testcase for #5847. | kennyj | 2012-05-29 | 1 | -0/+23 |
| | |||||
* | Fix railties_order when application object is passed | Piotr Sarnacki | 2012-05-27 | 1 | -0/+4 |
| | | | | | | | | | | | | | | | railites_order method, introduced in 40b19e0, had a bug that was causing loading application instance twice in initializers if railties_order already included application instance. So for example railties_order = [Foo::Engine, :main_app, Bar::Engine] would result in such railties array: [MyApp::Application, Foo::Engine, MyAppApplication, Bar::Engine] In order to fix it, we need to check for existence of application in both railties_order and railties arrays. | ||||
* | Fixes build 4008.1 | Waseem Ahmad | 2012-05-25 | 1 | -2/+2 |
| | | | | | | | | This fixex build 4008.1[1] because of the changes made in 4001835db00ce44cb75bca33ec02cd76b8ccc790 [1] http://travis-ci.org/#!/rails/rails/jobs/1429671 | ||||
* | remove unnecessary test from route_inspect_test | schneems | 2012-05-24 | 1 | -9/+0 |
| | |||||
* | Rails::InfoController tests passing | schneems | 2012-05-24 | 3 | -6/+32 |
| | | | | This includes new tests for /rails/info/routes | ||||
* | Remove unnecessary comment. | Uģis Ozols | 2012-05-23 | 1 | -1/+0 |
| | |||||
* | Use new hash syntax for generators gem method | Alexey Vakhov | 2012-05-22 | 2 | -2/+10 |
| | | | | | | The Gemfile of new application uses ruby 1.9 hashes. Gem method of generators should use them too. It prevents from mixing two kinds of syntax in one file. | ||||
* | Use require_dependency in generated controllers | Piotr Sarnacki | 2012-05-22 | 1 | -2/+2 |
| | | | | | | | Using require in development mode will prevent required files from reloading, even if they're changed. In order to keep namespaced application_controller reloadable, we need to use require_dependency instead of require. | ||||
* | Fix `rails db -h` and cosmetic fixes in usage banners | Alexey Vakhov | 2012-05-22 | 1 | -0/+18 |
| | | | | | | | Ruby tries to use '-h' as short version of '--header' by default https://github.com/ruby/ruby/blob/trunk/lib/optparse.rb#L1372-1381. To force `rails db -h` prints an usage message we should add the `-h` options explicitly. |