aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/generators
Commit message (Collapse)AuthorAgeFilesLines
...
* Merge pull request #2385 from bogdan/test_default_sanitizer2José Valim2011-08-011-0/+5
|\ | | | | MassAssignmentProtection: consider 'id' insensetive in StrictSanitizer
| * MassAssignmentProtection: consider 'id' insensetive in StrictSanitizerBogdan Gusiev2011-07-281-0/+5
| | | | | | | | | | | | In order to use StrictSanitizer in test mode Consider :id as not sensetive attribute that can be filtered from mass assignement without exception.
* | Include empty app/mailers directory in mountable and full pluginsDan Gebhardt2011-07-292-0/+1
| |
* | Tidy upSantiago Pastorino2011-07-282-5/+4
| |
* | Tidy up a bit plugin new gemspecSantiago Pastorino2011-07-281-7/+3
| |
* | Moved dependencies from Gemfile to gemspec to eliminate redundant declarations.Dan Gebhardt2011-07-282-7/+24
| |
* | Extracted version from gemspec and placed it in its own file. This is ↵Dan Gebhardt2011-07-283-3/+11
| | | | | | | | consistent with the approach taken by "bundle gem", and is expected by gems such as svenfuchs/gem-release which can be used to bump / tag versions of gems.
* | Expanded meta-data in gemspec to include author, email, etc.; Defaults ↵Dan Gebhardt2011-07-281-4/+8
|/ | | | include "TODO" to prevent gems from being built without review.
* removing inline source option from rdoc task. fixes #2169Aaron Patterson2011-07-211-1/+1
|
* Fix Rails::Generators::Actions#environment when env is passed. Closes #2110Guillermo Iguaran2011-07-181-2/+3
|
* Merge pull request #2108 from loz/masterSantiago Pastorino2011-07-161-0/+5
|\ | | | | Adds gem helper rake tasks to engines generator
| * Added gem helper to rake task for engines, as per pull request from ↵Jonathan Lozinski2011-07-161-0/+5
| | | | | | | | 3-1-stable, #2103
* | Fix the output a bitSantiago Pastorino2011-07-161-2/+2
|/
* Added db to gemspec files so migrations are correctly packagedJonathan Lozinski2011-07-161-1/+1
|
* Use cache/assets instead.José Valim2011-07-121-1/+1
|
* assets.cache_store now defaults to filesystem. You will want to share ↵José Valim2011-07-121-1/+2
| | | | tmp/assets_cache between deploys.
* remove extra space since comment_if already returns the space.Teng Siong Ong2011-07-132-4/+4
|
* Generate valid default fixtures for models with a type columnMarc-Andre Lafortune2011-07-111-1/+1
| | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Require assets in all environments by default and provide a way to opt-out ↵José Valim2011-07-111-1/+1
| | | | from uglifier.
* Mention about acronym inflection in config/initializers/inflections.rbPrem Sichanugrist2011-07-111-0/+5
| | | | Closes #1366
* Don't raise on mass assignment for testJosé Valim2011-07-071-5/+0
|
* Just generate AR options if AR is enabledJosé Valim2011-07-072-0/+4
|
* Merge pull request #1996 from bogdan/default_sanitizer_squashedJosé Valim2011-07-072-0/+6
|\ | | | | Rails app template: setup different mass assignment sanitizer for envs
| * Rails app template: setup different mass assignment sanitizer for envsBogdan Gusiev2011-07-072-0/+6
| | | | | | | | | | For production - leave the default For test and dev: :strict.
* | updating pg supported versions docco. fixes #1959Aaron Patterson2011-07-052-2/+2
| |
* | Add assets_gemfile_entry.José Valim2011-07-012-5/+11
| |
* | Depend on edge version of sass-railsSantiago Pastorino2011-06-301-1/+1
| |
* | Depend on edge version of coffee-railsSantiago Pastorino2011-06-301-1/+1
| |
* | Move Coffee generators and templates to Coffee Railtie and create ↵Santiago Pastorino2011-06-295-13/+18
| | | | | | | | javascript_engine ("js") for apps that remove Coffee gem
* | [IMPORTANT] Make "sprockets/railtie" require explicit.José Valim2011-06-293-4/+12
| | | | | | | | | | | | | | | | | | | | This makes "sprockets/railtie" explicit. This means that sprockets will be loaded when you require "rails/all". If you are not using requiring "rails/all", you need to manually load it with all other framework railties. In order to be complete, this commit also adds --skip-sprockets to the rails generator.
* | Merge pull request #1481 from arunagw/lib_assetsDavid Heinemeier Hansson2011-06-271-0/+1
|\ \ | | | | | | Generating /lib/assets for assets
| * | Using lib/assets only. Javascripts/Stylesheets people can fill later.Arun Agrawal2011-06-161-0/+1
| | |
* | | fixtures :all is already included in test_helper.rbSantiago Pastorino2011-06-231-2/+0
| | |
* | | Use non-'jdbc*' names so that db:create and db:drop workNick Sieger2011-06-213-9/+9
| | |
* | | Convert database names to ones appropriate for JRubyNick Sieger2011-06-211-1/+12
| | |
* | | Add generic 'jdbc' database optionNick Sieger2011-06-212-4/+67
| | |
* | | Remove superfluous pg driver install instructionsNick Sieger2011-06-211-9/+0
| | |
* | | Create an :assets group in the Gemfile.José Valim2011-06-214-17/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | This group is required by default only on development and test (you can change it on config/application.rb). `rake assets:precompile` will automatically add the assets group to Rails.groups (and consequently Bundler.require) and should work transparently.
* | | Removed warnings about shadowing variablesAlexey Gaziev2011-06-202-7/+7
| | |
* | | Attributes on scaffold and model generators default to string.José Valim2011-06-171-1/+1
| | | | | | | | | | | | This allows the following: "rails g scaffold Post title body:text author"
* | | Make the API for compression consistent between JS and CSS. By default, ↵wycats2011-06-161-3/+0
| |/ |/| | | | | | | | | users just need to say whether they want compression or not, and a default will be chosen by a Railtie. In the case of CSS, this default is already chosen by the sass-rails gem. Users can still explicitly choose a compressor in their application.rb if they have a preference, but will usually want to let plugins choose defaults in their Railties.
* | Improve the legacy wild controller route in app templatesWen-Tien Chang2011-06-161-1/+1
| |
* | namespace engine assetsRyan Bates2011-06-122-7/+21
| |
* | s/Bundle/Bundler/Xavier Noria2011-06-111-1/+1
| |
* | shell out to run bundler on app generation, see rationale in the commentXavier Noria2011-06-101-6/+12
| |
* | Merge pull request #1356 from flippingbits/fix_engine_generatorJosé Valim2011-06-093-5/+8
|\ \ | | | | | | Fix engine's generator
| * | Use namespace if it's a mountable engineStefan Sprenger2011-06-071-3/+1
| | |
| * | Generate script/rails only if --full is givenStefan Sprenger2011-05-271-0/+2
| | |
| * | Fix and test ENGINE_PATH and ENGINE_ROOTStefan Sprenger2011-05-271-2/+2
| | |
| * | Introducing engine commandsStefan Sprenger2011-05-261-2/+5
| | |