aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/generators/scaffold_generator_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #6450 from iHiD/resource_generator_routes_masterRafael Mendonça França2012-10-011-1/+1
| | | | | | | | Master branch: Fixed generated whitespace in routes when using namespaced resource. Merge pull request #7811 from iHiD/resource_generator_routes_master Fix the build (Broken scaffold routes test)
* Use Ruby 1.8 hash syntaxRafael Mendonça França2012-03-131-4/+16
|
* Use the attributes hash explicitlyRafael Mendonça França2012-03-131-3/+13
|
* Do not use the attributes hash in the scaffold functional testsRafael Mendonça França2012-03-131-2/+6
|
* Revert the serializers API as other alternatives are now also under discussionJosé Valim2011-11-251-9/+0
|
* Add a hook for serializers in the scaffold generator (off for now).José Valim2011-11-251-0/+9
|
* Move Coffee generators and templates to Coffee Railtie and create ↵Santiago Pastorino2011-06-291-14/+7
| | | | javascript_engine ("js") for apps that remove Coffee gem
* Attributes on scaffold and model generators default to string.José Valim2011-06-171-3/+9
| | | | This allows the following: "rails g scaffold Post title body:text author"
* Move SCSS generators and default templates from Rails to the Sass Railtie ↵tomhuda2011-05-241-16/+16
| | | | | | | | (d435726312601edb3ba6f97b34f562221f72c1f8). * Sass gem registers a compressor * Sass gem registers generators for assets and scaffold * Create a default stylesheet_engine ("css") for apps that remove the Sass gem
* Make generators more modular, add hooks and improve test suite.José Valim2011-04-171-8/+44
|
* Generate add_index by default when giving type belongs_to or referencesSantiago Pastorino2010-12-161-2/+5
|
* got rid of the "ambiguous first argument; put parentheses or even spaces" ↵Jeff Kreeftmeijer2010-09-241-32/+32
| | | | | | warnings in the scaffold_generator tests [#4872 state:resolved] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Add two integration tests for GeneratedAttribute missing type error. [#5461 ↵rohit2010-09-021-0/+6
| | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* Failing test to check for route file corruption if legacy map parameter is ↵rohit2010-08-021-0/+15
| | | | used. [#5263 state:open]
* Patch for Namespace problem in Scaffold. [#4763 state:resolved]Mohammed Siddick.E2010-06-231-0/+106
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Partially revert "A new application now comes with a layout and a stylesheet."Jeremy Kemper2010-04-091-0/+8
| | | | | | | | | This reverts commit ea2c5fa8046e2f953b366adc94f0610ccfea0828. Conflicts: railties/lib/rails/generators/rails/app/templates/app/views/layouts/application.html.erb railties/test/generators/app_generator_test.rb
* A new application now comes with a layout and a stylesheet.José Valim2010-04-061-8/+0
|
* Load generators from both lib/rails/generators and lib/generators. Using the ↵José Valim2010-03-231-1/+1
| | | | former since it's less obstrusive.
* Controller generator now creates routes as well [#4233 state:resolved]José Valim2010-03-191-9/+1
|
* Get generators tests running on Ruby 1.9.1José Valim2010-01-191-1/+2
|
* Generators load path now will be Ruby load path. If you want to use ↵José Valim2010-01-181-1/+1
| | | | rspec:install generator, you need generators/rspec/install_generator in your load path.
* Move all generators tests to use new test case syntax.José Valim2010-01-031-12/+2
|
* Create Rails::Generators::TestCase.José Valim2010-01-031-7/+7
|
* Scaffolding generates new routing dsl examplesJoshua Peek2009-12-091-2/+2
|
* CI breakageYehuda Katz2009-11-021-1/+2
| | | | This reverts commit a288b74f1c75c6f100de7611a5093a421f1ad6d1.
* Generators should use Rails.root instead of Dir.pwd [#3408 status:resolved]José Valim2009-10-281-2/+1
| | | | Signed-off-by: Yehuda Katz <wycats@gmail.com>
* Move railties/lib/* into railties/lib/*Yehuda Katz + Carl Lerche2009-09-241-1/+1
|
* Change div.attribute to div.field and add some _form to tests.José Valim2009-08-301-0/+1
|
* Change false to :verbose => false as in new Thor version.José Valim2009-07-151-6/+0
|
* Updated vendored Thor to 0.11.1 and update Rails::Generators.José Valim2009-07-141-1/+1
|
* Added lookup to generators.José Valim2009-07-031-14/+0
|
* Make invoke output white and use padding.José Valim2009-07-021-0/+6
|
* Tests for scaffold generator.José Valim2009-07-021-0/+143