Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | be lazy loading SDoc | Xavier Noria | 2013-03-30 | 1 | -0/+5 |
| | |||||
* | Fix jquery-as-default test to account for switch from gem to github source ↵ | Jeremy Kemper | 2013-03-25 | 1 | -1/+1 |
| | | | | in #9904 | ||||
* | Put coffee-rails in top-level of generated Gemfile | Gabe Kopley | 2013-03-24 | 1 | -1/+4 |
| | | | | v3 of pull request based on additional feedback from @jeremy | ||||
* | remove references to *::VERSION, replace with *.version | Charlie Somerville | 2013-03-21 | 1 | -2/+2 |
| | |||||
* | Don't generate a scaffold.css if no-assets | Kevin Glowacz | 2013-03-20 | 1 | -1/+1 |
| | |||||
* | Add support for generate scaffold password:digest | Sam Ruby | 2013-03-13 | 1 | -0/+41 |
| | | | | | | | | | | * adds password_digest attribute to the migration * adds has_secure_password to the model * adds password and password_confirmation password_fields to _form.html * omits password entirely from index.html and show.html * adds password and password_confirmation to the controller * adds unencrypted password and password_confirmation to the controller test * adds encrypted password_digest to the fixture | ||||
* | Support creating a table migration generator | Sammy Larbi | 2013-03-01 | 1 | -3/+14 |
| | | | | | | | | | | | | | | | | Sometimes you want to create a table without an associated model and test, which is also not a join table. With this commit, you can now do that. Example: rails g migration create_posts title:string or rails g migration CreatePosts title:string This commit also moves the template the model generator uses for the migration to the migration templates folder, as it seems a more sensible place for it now that it is shared code. | ||||
* | Ensure plugins generated with plugin new can boot the dummy application | José Valim | 2013-02-28 | 1 | -39/+16 |
| | |||||
* | Merge pull request #9401 from sikachu/master-remove-builder-option | Rafael Mendonça França | 2013-02-24 | 3 | -118/+0 |
|\ | | | | | Remove `--builder` option from `rails` command | ||||
| * | Remove `--builder` option from `rails` command | Prem Sichanugrist | 2013-02-24 | 3 | -118/+0 |
| | | | | | | | | | | | | | | Ability to use a custom builder by passing `--builder` (or `-b`) has been removed. Consider using application template instead. See this guide for more detail: http://guides.rubyonrails.org/rails_application_templates.html | ||||
* | | remove AR auto-explain (config.auto_explain_threshold_in_seconds) | Yves Senn | 2013-02-24 | 1 | -9/+0 |
|/ | | | | | | | | | | We discussed that the auto explain feature is rarely used. This PR removes only the automatic explain. You can still display the explain output for any given relation using `ActiveRecord::Relation#explain`. As a side-effect this should also fix the connection problem during asset compilation (#9385). The auto explain initializer in the `ActiveRecord::Railtie` forced a connection. | ||||
* | Gist URLs are now namespaced | Akira Matsuda | 2013-02-18 | 1 | -3/+3 |
| | | | | see: https://github.com/blog/1406-namespaced-gists | ||||
* | Added notice message for destroy method in scaffold | Rahul P. Chaudhari | 2013-02-10 | 1 | -0/+1 |
| | |||||
* | --no-rc in the railties tests | Akira Matsuda | 2013-02-01 | 1 | -1/+1 |
| | | | | so that the tester's local .railsrc file does not affect the test results | ||||
* | Fixes improper database name when a '.' is included while creating a new rails | Jeremy W. Rowe | 2013-01-16 | 1 | -0/+5 |
| | | | | | | application. EG: `rails new something.awesome.com` Conflicts: railties/CHANGELOG.md | ||||
* | More consistent quotes in scaffold generator | Pavel Pravosud | 2013-01-11 | 1 | -1/+1 |
| | |||||
* | Include jbuilder by default and rely on its scaffold generator to show json ↵ | David Heinemeier Hansson | 2013-01-10 | 2 | -24/+1 |
| | | | | API. The default scaffold will now just create HTML if the user actively opts out of jbuilder | ||||
* | remove performance tests from the default stack | Yves Senn | 2013-01-10 | 1 | -3/+0 |
| | |||||
* | extract PerformanceTest into rails-performance_tests gem | Yves Senn | 2013-01-10 | 1 | -12/+0 |
| | |||||
* | Fix readme tests | Carlos Antonio da Silva | 2013-01-07 | 1 | -2/+2 |
| | | | | Related to the change introduced in 6cf47c533d7d6784d34fc31406a335555e0c32b8. | ||||
* | doc/README_FOR_APP is no longer generated | Xavier Noria | 2013-01-08 | 1 | -1/+0 |
| | |||||
* | Introduce ./bin for your app's executables: bin/bundle, bin/rails, bin/rake. ↵ | Jeremy Kemper | 2013-01-06 | 4 | -10/+12 |
| | | | | Executable scripts are versioned code like the rest of your app. To generate a stub for a bundled gem: 'bundle binstubs unicorn' and 'git add bin/unicorn' | ||||
* | Make sure assets is disable when --skip-sprockets is used | Rafael Mendonça França | 2013-01-05 | 1 | -1/+2 |
| | |||||
* | config.assets.enabled is now true by default | David Heinemeier Hansson | 2013-01-05 | 1 | -1/+0 |
| | |||||
* | fix failing test broken in 15fb7889c5566ddade1d8f74f49bbbc1c0be6057 | Akira Matsuda | 2013-01-05 | 1 | -1/+1 |
| | |||||
* | Merge pull request #8705 from amparo-luna/change_update_attributes_to_update | Guillermo Iguaran | 2013-01-03 | 2 | -3/+3 |
|\ | | | | | Rename update_attributes method to update | ||||
| * | Updating default application templates to use update instead of ↵ | Amparo Luna + Guillermo Iguaran | 2013-01-03 | 2 | -3/+3 |
| | | | | | | | | update_attributes | ||||
* | | test PATCH method for update action in generated scaffold controller test ↵ | Akira Matsuda | 2013-01-03 | 2 | -4/+4 |
|/ | | | | rather than PUT | ||||
* | Revert "Install binstubs by default" | Jeremy Kemper | 2012-12-28 | 1 | -3/+3 |
| | | | | | | This reverts commit f34c27a452418d8aa17f92bb0fd7ae97b5f7e252. We'll be taking a different tack on this with new `bundle binstubs <gem>` support. | ||||
* | Revert "Detect rbenv and update the shebang" | Jeremy Kemper | 2012-12-28 | 1 | -10/+0 |
| | | | | | This reverts commit 7173c4f931c9026bd3bc0b644d93dae744433f09. This reverts commit a562f9fa09967eba26dff1c3bc8aa85b6f0a72ff. | ||||
* | Consistent use of single and double quotes | Rafael Mendonça França | 2012-12-26 | 1 | -10/+10 |
| | |||||
* | quote column names in generated fixture files | Yves Senn | 2012-12-26 | 1 | -3/+26 |
| | |||||
* | Add --no-html to scaffold generator | Yehuda Katz | 2012-12-22 | 2 | -0/+17 |
| | |||||
* | Detect rbenv and update the shebang | Yehuda Katz | 2012-12-22 | 1 | -0/+10 |
| | |||||
* | Install binstubs by default | Yehuda Katz | 2012-12-22 | 1 | -3/+3 |
| | |||||
* | Migration generators use `change` even for destructive methods [#8267] | Marc-Andre Lafortune | 2012-12-21 | 1 | -31/+12 |
| | |||||
* | Simple replacement of variable name for consistency | Marc-Andre Lafortune | 2012-12-21 | 1 | -32/+32 |
| | |||||
* | update concerned tests | Francesco Rodriguez | 2012-12-18 | 1 | -0/+2 |
| | |||||
* | Fixed test names for generated_attribute_test.rb | Arun Agrawal | 2012-12-13 | 1 | -1/+1 |
| | |||||
* | Merge pull request #8468 from schneems/schneems/rack-index-page | Santiago Pastorino | 2012-12-10 | 1 | -8/+0 |
|\ | | | | | Use Rails to Render Default Index Page | ||||
| * | Use Rails to Render Default Index Page | schneems | 2012-12-10 | 1 | -8/+0 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is an alternative implementation to #7771 thanks to the advice of @spastorino Rails is a dynamic framework that serves a static index.html by default. One of my first questions ever on IRC was solved by simply deleting my public/index.html file. This file is a source of confusion when starting as it over-rides any set "root" in the routes yet it itself is not listed in the routes. By making the page dynamic by default we can eliminate this confusion. This PR moves the static index page to an internal controller/route/view similar to `rails/info`. When someone starts a rails server, if no root is defined, this route will take over and the "dynamic" index page from rails/welcome_controller will be rendered. These routes are only added in development. If a developer defines a root in their routes, it automatically takes precedence over this route and will be rendered, with no deleting of files required. In addition to removing this source of confusion for new devs, we can now use Rails view helpers to build and render this page. While not the primary intent, the added value of "dogfooding" should not be under-estimated. The prior PR #7771 had push-back since it introduced developer facing files. This PR solves all of the same problems, but does not have any new developer facing files (it actually removes one). cc/ @wsouto, @dickeyxxx, @tyre, @ryanb, @josevalim, @maxim, @subdigital, @steveklabnik ATP Railties and Actionpack. | ||||
* | | Make sure that no extra spaces are created with a non-polymorphic | Rafael Mendonça França | 2012-12-10 | 1 | -2/+2 |
| | | | | | | | | attributes | ||||
* | | Add GeneratedAttribute#column_name to get the name of the column in the | Rafael Mendonça França | 2012-12-10 | 1 | -2/+9 |
| | | | | | | | | database | ||||
* | | Deal with polymorphic attributes correctly in the generators | Rafael Mendonça França | 2012-12-10 | 2 | -3/+17 |
| | | |||||
* | | Make references and belongs_to attributes to generate the _id column in | Rafael Mendonça França | 2012-12-10 | 1 | -0/+5 |
| | | | | | | | | fixtures | ||||
* | | Put the reference and belongs_to attributes in the scaffold tests. | Rafael Mendonça França | 2012-12-10 | 2 | -6/+6 |
| | | |||||
* | | Use the references and belongs_id ids in the scaffold_controller | Rafael Mendonça França | 2012-12-09 | 1 | -0/+9 |
| | | | | | | | | generator | ||||
* | | Add test case for scaffold_controller generator without attributes. | Rafael Mendonça França | 2012-12-09 | 1 | -0/+9 |
|/ | | | | This is a test for 978c568a7bffe354180aaefa471092182fed1015 | ||||
* | Fix scaffold controller generator tests | Carlos Antonio da Silva | 2012-12-08 | 1 | -8/+6 |
| | |||||
* | fix scaffold controller generator tests | Francesco Rodriguez | 2012-12-07 | 1 | -16/+12 |
| |