aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib
Commit message (Collapse)AuthorAgeFilesLines
* Fix Rails::Generators::Actions#environment when env is passed. Closes #2110Guillermo Iguaran2011-07-181-2/+3
|
* Merge pull request #2082 from htanata/rake_routes_formattingSantiago Pastorino2011-07-161-2/+10
|\ | | | | Better formatting of rake routes (issue #1991)
| * Improve formatting of route to Rack application in rake routes.Hendy Tanata2011-07-171-3/+3
| | | | | | | | | | | | | | | | | | | | This route: match 'foo/:id' => RackApp, :id => /[A-Z]\d{5}/ is shown as: /foo/:id(.:format) RackApp {:id=>/[A-Z]\d{5}/}
| * Better formatting of route requirements in rake:routes.Hendy Tanata2011-07-161-1/+9
| | | | | | | | | | | | | | | | | | | | Previously it was: {:controller=>"photos", :action=>"show", :id=>/[A-Z]\d{5}/} Now it becomes: photos#show {:id=>/[A-Z]\d{5}/}
* | 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-123-4/+3
|
* assets.cache_store now defaults to filesystem. You will want to share ↵José Valim2011-07-123-13/+6
| | | | tmp/assets_cache between deploys.
* remove extra space since comment_if already returns the space.Teng Siong Ong2011-07-132-4/+4
|
* Ensure Dir.glob is sortedJoshua Peek2011-07-111-1/+1
|
* 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.
* Merge pull request #2029 from sikachu/acronym_mentionJosé Valim2011-07-111-0/+5
|\ | | | | Mention about acronym inflection in config/initializers/inflections.rb
| * Mention about acronym inflection in config/initializers/inflections.rbPrem Sichanugrist2011-07-111-0/+5
| | | | | | | | Closes #1366
* | Rails.application#env_config is now public API. [Closes #1924]Franck Verrot2011-07-111-0/+9
|/
* Make Rails.groups accept arrays.José Valim2011-07-101-3/+6
|
* Don't raise on mass assignment for testJosé Valim2011-07-071-5/+0
|
* Merge pull request #1767 from jwarwick/rake_notes_dirsSantiago Pastorino2011-07-071-4/+4
|\ | | | | Updated rake:notes to search additional directories
| * Updated rake:notes to search app, config, lib, script and test dirsjwarwick2011-07-061-4/+4
| |
* | 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.
* | | Merge pull request #1926 from tobsch/masterSantiago Pastorino2011-07-061-1/+1
|\ \ \ | | | | | | | | Accept application.js/.css to exist in a deeper directory depth by default
| * | | Now accepting css/js files in deeper directory structures by default.Tobias Schlottke2011-07-011-1/+1
| | | | | | | | | | | | | | | | | | | | This is useful for engines with own application.{js|css}-files. See: https://github.com/rails/rails/issues/1520
* | | | updating pg supported versions docco. fixes #1959Aaron Patterson2011-07-052-2/+2
| | | |
* | | | fix engines rake tasksJake Varghese2011-07-041-0/+2
| | | |
* | | | Fix has_migrations? check in Rails::EngineSam Pohlenz2011-07-031-1/+1
| | | |
* | | | 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
| | |
* | | Master version is 3.2.0.betaSantiago Pastorino2011-06-301-2/+2
| | |
* | | Move Coffee generators and templates to Coffee Railtie and create ↵Santiago Pastorino2011-06-296-14/+19
| | | | | | | | | | | | javascript_engine ("js") for apps that remove Coffee gem
* | | Merge pull request #1899 from ihower/patch_rake_testJosé Valim2011-06-291-2/+6
|\ \ \ | | | | | | | | Make "rake test" display not only task name but also exception message.
| * | | Add test to rake test for error messagesWen-Tien Chang2011-06-301-1/+5
| | | |
| * | | Make "rake test" display not only task name but also exception message.Wen-Tien Chang2011-06-291-2/+2
| | | |
* | | | [IMPORTANT] Make "sprockets/railtie" require explicit.José Valim2011-06-296-31/+13
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | OrderedOptions must implement respond_to? if it implements method_missing.Chris Eppstein2011-06-271-9/+3
| | |
* | | Add JavaScript Runtime name to the Rails Info properties (thanks Sam Ruby)David Heinemeier Hansson2011-06-271-0/+4
| | |
* | | 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
| | | |
* | | | Railties: added tests for rake assets:cleanJames A. Rosen2011-06-211-2/+2
| | | |
* | | | rake assets:clean also removes directoriesJames A. Rosen2011-06-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | See https://github.com/rails/rails/pull/1776#issuecomment-1402894, 2df2bfdb4b1165dce4b5bc3fe046147d793fead4, and 7440a254c4e724a5bbf6a0f4c8edb6d8d0432433.
* | | | Create an :assets group in the Gemfile.José Valim2011-06-215-22/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.