Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Everyone is running bundler, no need for defensive programming shit | David Heinemeier Hansson | 2012-10-08 | 1 | -2/+2 |
| | |||||
* | Not precompiling your assets for production is a bad idea -- do not encourage it | David Heinemeier Hansson | 2012-10-08 | 1 | -6/+2 |
| | |||||
* | Rename "Fixtures" class to "FixtureSet" | Alexey Muranov | 2012-10-07 | 1 | -2/+2 |
| | | | | Rename `ActiveRecord::Fixtures` class to `ActiveRecord::FixtureSet`. Instances of this class normally hold a collection of fixtures (records) loaded either from a single YAML file, or from a file and a folder with the same name. This change make the class name singular and makes the class easier to distinguish from the modules like `ActiveRecord::TestFixtures`, which operates on multiple fixture sets, or `DelegatingFixtures`, `::Fixtures`, etc., and from the class `ActiveRecord::Fixture`, which corresponds to a single fixture. | ||||
* | Gotta log each spacer line separately to ensure each is tagged | Jeremy Kemper | 2012-10-06 | 1 | -1/+4 |
| | |||||
* | Tag the blank log line between dev requests so it's easier to filter out ↵ | Jeremy Kemper | 2012-10-06 | 1 | -3/+3 |
| | | | | | | | | | | | | | entire requests with grep -v without leaving a stray newline behind. Example: # Tag asset requests so it's easy to filter them from dev logs config.log_tags = [ -> request { :assets if request.path.starts_with?(config.assets.prefix) }, -> request { request.uuid } ] # Watch the logs, ignoring asset requests $ tail -100f log/development.log | grep -v assets | ||||
* | Remove unneeded attr_reader | Rafael Mendonça França | 2012-10-07 | 1 | -1/+0 |
| | |||||
* | use Rails backtrace in tests | Francesco Rodriguez | 2012-10-05 | 1 | -0/+4 |
| | |||||
* | Fix middleware cache tests enabling rack_cache | Guillermo Iguaran | 2012-10-05 | 1 | -0/+2 |
| | |||||
* | Revert "Use flat_map { } instead of map {}.flatten" | Santiago Pastorino | 2012-10-05 | 4 | -5/+5 |
| | | | | | | | | | | | This reverts commit abf8de85519141496a6773310964ec03f6106f3f. We should take a deeper look to those cases flat_map doesn't do deep flattening. irb(main):002:0> [[[1,3], [1,2]]].map{|i| i}.flatten => [1, 3, 1, 2] irb(main):003:0> [[[1,3], [1,2]]].flat_map{|i| i} => [[1, 3], [1, 2]] | ||||
* | Use flat_map { } instead of map {}.flatten | Santiago Pastorino | 2012-10-05 | 4 | -5/+5 |
| | |||||
* | Comment rack-cache entry on Gemfile | Guillermo Iguaran | 2012-10-04 | 1 | -1/+1 |
| | |||||
* | config.action_dispatch.rack_cache should set explicitly to enable Rack::Cache | Guillermo Iguaran | 2012-10-04 | 3 | -1/+24 |
| | |||||
* | Use String#exclude? to make sure that Active Support is not loaded when | Rafael Mendonça França | 2012-10-04 | 1 | -1/+1 |
| | | | | | | | bare is true. We need to change this since coffee-rails loads ActionView that loads core_ext/array/access. | ||||
* | Remove action cache related tests | Rafael Mendonça França | 2012-10-04 | 1 | -42/+0 |
| | |||||
* | Strip heredoc to not generate the Gemfile with trailing spaces | Rafael Mendonça França | 2012-10-04 | 1 | -2/+2 |
| | |||||
* | Turn turbolinks on by default for new apps | David Heinemeier Hansson | 2012-10-04 | 3 | -4/+11 |
| | |||||
* | Make Rails.public_path return a Pathname | Prem Sichanugrist | 2012-10-02 | 3 | -2/+12 |
| | |||||
* | Merge pull request #6952 from NZKoz/key_generator | Michael Koziarski | 2012-10-02 | 2 | -1/+11 |
|\ | | | | | Add ActiveSupport::KeyGenerator as a simple wrapper around PBKDF2 | ||||
| * | Provide access to the application's KeyGenerator | Michael Koziarski | 2012-10-01 | 2 | -1/+11 |
| | | | | | | | | Available both as an env entry for rack and an instance method on Rails::Application for other uses | ||||
* | | Merge pull request #7794 from guilleiguaran/extract-rack-cache | Santiago Pastorino | 2012-10-01 | 3 | -0/+15 |
|\ \ | | | | | | | Use Rack::Cache middleware only if is in Gemfile | ||||
| * | | Add rack-cache to default Gemfile | Guillermo Iguaran | 2012-10-01 | 2 | -0/+9 |
| | | | |||||
| * | | Use Rack::Cache middleware only if is in Gemfile | Guillermo Iguaran | 2012-10-01 | 1 | -0/+6 |
| |/ | |||||
* | | Fix broken scaffold routes test | Jeremy Walker | 2012-10-01 | 1 | -1/+1 |
| | | |||||
* | | Fixed generated whitespace in routes when using namespaced resource. | Jeremy Walker | 2012-09-29 | 2 | -6/+115 |
|/ | |||||
* | Assets cache shouldn't be shared between different environments | Guillermo Iguaran | 2012-09-28 | 3 | -3/+6 |
| | |||||
* | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2012-09-28 | 1 | -3/+0 |
|\ | | | | | | | | | Conflicts: actionpack/lib/action_view/helpers/asset_tag_helper.rb | ||||
| * | Revert "add documentation to generated routes" | Vijay Dev | 2012-09-28 | 1 | -2/+1 |
| | | | | | | | | | | | | | | | | This reverts commit bfafa999ddaa203224ac0222203517a0d2a3f6bf. Changes in templates aren't allowed in docrails. [ci skip] | ||||
| * | add documentation to generated routes | schneems | 2012-09-24 | 1 | -1/+2 |
| | | | | | | Mention that in addition to `rake routes` a developer can also visit `/rails/info/routes` in the browser. | ||||
| * | remove misleading comment in Rakefile | schneems | 2012-09-24 | 1 | -3/+0 |
| | | | | | | Comment introduced in https://github.com/rails/rails/commit/bbb3e5a8 before rake `isolate:test` was even introduced https://github.com/rails/rails/commit/bbb3e5a8 | ||||
* | | Tune up Rails::Rack::Logger. Only put space between requests in development ↵ | Jeremy Kemper | 2012-09-26 | 2 | -21/+30 |
| | | | | | | | | logs. | ||||
* | | Log newlines separately to ensure the 'Started GET ...' line has a tag on ↵ | Jeremy Kemper | 2012-09-25 | 1 | -1/+2 |
| | | | | | | | | the same line | ||||
* | | Only apply log tags if the logger supports it | Jeremy Kemper | 2012-09-24 | 1 | -1/+1 |
| | | |||||
* | | Remove of an extra line in template configuration file. | Geoffrey Roguelon | 2012-09-24 | 1 | -1/+0 |
| | | |||||
* | | Update test to match new non-sorting of attributes. | Brian Morearty | 2012-09-23 | 1 | -1/+1 |
| | | |||||
* | | Removed sorting of attribute names in controller generator. | Brian Morearty | 2012-09-23 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I believe when people use generators, they typically order the parameters on the command line in an order that makes sense to them. Sorting them in the generated code makes the order seem more arbitrary to humans, even though it's less arbitrary to computers. :-) Example: rails g scaffold Post title:string content:text The human chose to put title before content. Sorted attributes in the generated code work but don't match the human's intent: params.require(:posts).permit(:content, :title) | ||||
* | | Update asset test to match one in sprockets-rails | Guillermo Iguaran | 2012-09-21 | 1 | -2/+5 |
| | | |||||
* | | Remove .rb from require sentences | José Corcuera Z | 2012-09-21 | 2 | -2/+2 |
|/ | |||||
* | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2012-09-21 | 2 | -3/+3 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: actionmailer/lib/action_mailer/base.rb activesupport/lib/active_support/configurable.rb activesupport/lib/active_support/core_ext/module/deprecation.rb guides/source/action_controller_overview.md guides/source/active_support_core_extensions.md guides/source/ajax_on_rails.textile guides/source/association_basics.textile guides/source/upgrading_ruby_on_rails.md While resolving conflicts, I have chosen to ignore changes done in docrails at some places - these will be most likely 1.9 hash syntax changes. | ||||
| * | Updated description of what engines are used for | Stephan Hagemann | 2012-09-21 | 1 | -2/+2 |
| | | |||||
| * | Remove redundant 'the'. | Uģis Ozols | 2012-09-13 | 1 | -1/+1 |
| | | |||||
* | | Remove highly uncommon `config.assets.manifest` option for moving the ↵ | Guillermo Iguaran | 2012-09-19 | 2 | -1/+5 |
| | | | | | | | | | | | | manifest path. This option is now unsupported in sprockets-rails. | ||||
* | | Update changelogs to add entries about strong_parameters integration | Guillermo Iguaran | 2012-09-19 | 1 | -0/+11 |
| | | |||||
* | | Use last version of sprockets-rails and syncing tests for assets. | Dmitry Vorotilin | 2012-09-19 | 1 | -32/+35 |
| | | |||||
* | | In development and test we drain the jobs in the same thread. | Rafael Mendonça França | 2012-09-18 | 1 | -4/+4 |
| | | |||||
* | | Merge pull request #7251 from rails/integrate-strong_parameters | David Heinemeier Hansson | 2012-09-18 | 12 | -63/+47 |
|\ \ | | | | | | | Integrate strong_parameters in Rails 4 | ||||
| * | | Add config.action_controller.permit_all_attributes to bypass ↵ | Guillermo Iguaran | 2012-09-16 | 1 | -0/+22 |
| | | | | | | | | | | | | StrongParameters protection | ||||
| * | | Change scaffold_generator: Don't use #require or #permit in scaffold if ↵ | Guillermo Iguaran | 2012-09-16 | 1 | -0/+4 |
| | | | | | | | | | | | | attributes list isn't given | ||||
| * | | config.activerecord.whitelist_attributes isn't used anymore, remove ↵ | Guillermo Iguaran | 2012-09-16 | 1 | -3/+0 |
| | | | | | | | | | | | | reference from abstract_unit | ||||
| * | | Remove configuration test for config.activerecord.whitelist_attributes | Guillermo Iguaran | 2012-09-16 | 1 | -13/+0 |
| | | | |||||
| * | | Remove attributes whitelist tests from AppGenerator tests | Guillermo Iguaran | 2012-09-16 | 1 | -6/+0 |
| | | |