Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Rack::SSL -> ActionDispatch::SSL | Rafael Mendonça França | 2012-03-17 | 1 | -2/+1 | |
| | ||||||
* | Simplify helpers handling. Ensure Metal can run AC hooks. | José Valim | 2012-03-15 | 1 | -1/+1 | |
| | ||||||
* | Remove remaining http_only? calls. | José Valim | 2012-03-14 | 2 | -14/+4 | |
| | ||||||
* | Remove --http. | José Valim | 2012-03-14 | 10 | -179/+7 | |
| | ||||||
* | Fix scaffold controller template, ensure rake scaffold test pass by default | Carlos Antonio da Silva | 2012-03-14 | 1 | -2/+2 | |
| | ||||||
* | Do not generate app/views and sprockets entries on http app | Carlos Antonio da Silva | 2012-03-14 | 1 | -0/+5 | |
| | | | | [Carlos Antonio da Silva & Santiago Pastorino] | |||||
* | Generate special controller and functional test templates for http apps | Carlos Antonio da Silva | 2012-03-14 | 7 | -4/+128 | |
| | | | | | | | | | | | | The main goal is to not generate the format.html block in scaffold controller, and to generate a different functional test as we don't rely on redirects anymore, we should test for http responses. In addition to that, the :edit action is removed from the http controller and the edit route is not generated by default, as they usually do not make sense in this scenario. [Carlos Antonio da Silva & Santiago Pastorino] | |||||
* | Rename http-only app generator option to http | Carlos Antonio da Silva | 2012-03-14 | 3 | -5/+5 | |
| | | | | [Carlos Antonio da Silva & Santiago Pastorino] | |||||
* | Move http only option to AppGenerator | Carlos Antonio da Silva | 2012-03-14 | 2 | -3/+3 | |
| | | | | [Carlos Antonio da Silva & Santiago Pastorino] | |||||
* | Allow generator configs from http_only! to be overriden by app | Carlos Antonio da Silva | 2012-03-14 | 1 | -1/+1 | |
| | | | | [Carlos Antonio da Silva & Santiago Pastorino] | |||||
* | Refactor http_only, remove reader method | Carlos Antonio da Silva | 2012-03-14 | 1 | -14/+19 | |
| | | | | [Carlos Antonio da Silva & Santiago Pastorino] | |||||
* | Disable template, helper and assets options when using http_only! | Carlos Antonio da Silva | 2012-03-14 | 1 | -1/+14 | |
| | | | | [Carlos Antonio da Silva & Santiago Pastorino] | |||||
* | Create generators http_only! setup and hide some common namespaces for now | Carlos Antonio da Silva | 2012-03-14 | 2 | -4/+18 | |
| | | | | [Carlos Antonio da Silva & Santiago Pastorino] | |||||
* | Generate middleware http_only! config when running http only app generator | Carlos Antonio da Silva | 2012-03-14 | 1 | -1/+10 | |
| | | | | [Carlos Antonio da Silva & Santiago Pastorino] | |||||
* | Add http-only option to Rails app generator | Carlos Antonio da Silva | 2012-03-14 | 3 | -5/+8 | |
| | | | | | | | Change application controller template accordingly, to inherit from ActionController::HTTP and not generate protect_from_forgery call. [Carlos Antonio da Silva & Santiago Pastorino] | |||||
* | Add ActionController::HTTP | Santiago Pastorino | 2012-03-14 | 1 | -1/+1 | |
| | | | | | | More info http://edgeguides.rubyonrails.org/api_app.html [Carlos Antonio da Silva & Santiago Pastorino] | |||||
* | Remove key_value helper now that master is 1.9 only and we always use | Rafael Mendonça França | 2012-03-13 | 9 | -35/+21 | |
| | | | | the 1.9 hash syntax in the generators. | |||||
* | Remove IdentityMap | Carlos Antonio da Silva | 2012-03-13 | 1 | -4/+0 | |
| | ||||||
* | Add sprockets-rails to generated Gemfile. This should be reverted after ↵ | Guillermo Iguaran | 2012-03-13 | 1 | -0/+2 | |
| | | | | sprockets-rails release on rubygems | |||||
* | The sprockets railtie was moved to sprockets/rails/railtie | Guillermo Iguaran | 2012-03-13 | 3 | -3/+3 | |
| | ||||||
* | Merge pull request #5415 from rafaelfranca/refactor | José Valim | 2012-03-13 | 1 | -1/+1 | |
|\ | | | | | Refactor the test_unit scaffold generator to use the key_value method | |||||
| * | Refactor the test_unit scaffold generator to use the key_value method | Rafael Mendonça França | 2012-03-13 | 1 | -1/+1 | |
| | | ||||||
* | | Merge pull request #572 from sikachu/remove_activeresource | José Valim | 2012-03-13 | 6 | -12/+3 | |
|\ \ | | | | | | | Remove Active Resource source files from the repository. | |||||
| * | | Remove Active Resource source files from the repository | Prem Sichanugrist | 2012-03-13 | 6 | -12/+3 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Dear Active Resource, It's not that I hate you or anything, but you didn't get much attention lately. There're so many alternatives out there, and I think people have made their choice to use them than you. I think it's time for you to have a big rest, peacefully in this Git repository. I will miss you, @sikachu. | |||||
* | | | Check for existence of exactly the called `fixture_path=` method | Piotr Sarnacki | 2012-03-13 | 1 | -2/+2 | |
|/ / | ||||||
* | | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2012-03-13 | 1 | -0/+2 | |
|\ \ | |/ |/| | ||||||
| * | Advise to keep secret token private | Filipe Moreira | 2012-03-12 | 1 | -0/+2 | |
| | | ||||||
* | | Merge pull request #5397 from rafaelfranca/fix-scaffold | José Valim | 2012-03-13 | 2 | -2/+23 | |
|\ \ | | | | | | | Do not use the attributes hash in the scaffold functional tests | |||||
| * | | Use the attributes hash explicitly | Rafael Mendonça França | 2012-03-13 | 2 | -6/+18 | |
| | | | ||||||
| * | | Do not use the attributes hash in the scaffold functional tests | Rafael Mendonça França | 2012-03-12 | 2 | -2/+11 | |
| | | | ||||||
* | | | Fixed problem when fixture_path is not always defined (incidentally, only ↵ | Philip Arndt | 2012-03-13 | 1 | -1/+3 | |
| | | | | | | | | | | | | when ActiveRecord is according to test_help.rb). | |||||
* | | | Fixes issue #5193 using the instructions provided in the issue. | Philip Arndt | 2012-03-13 | 1 | -0/+3 | |
| | | | ||||||
* | | | use AS::Logger so we are consistent | Aaron Patterson | 2012-03-12 | 1 | -1/+1 | |
| | | | ||||||
* | | | allow people to specify custom formatters, use the default formatter in ↵ | Aaron Patterson | 2012-03-12 | 4 | -4/+10 | |
|/ / | | | | | | | production so that PID and timestamp are logged. fixes #5388 | |||||
* | | Merge pull request #5326 from lest/patch-2 | Michael Koziarski | 2012-03-10 | 1 | -1/+3 | |
|\ \ | | | | | | | configure how unverified request will be handled | |||||
| * | | configure how unverified request will be handled | Sergey Nartimov | 2012-03-09 | 1 | -1/+3 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | can be configured using `:with` option in `protect_from_forgery` method or `request_forgery_protection_method` config option possible values: - :reset_session (default) - :exception new applications are generated with: protect_from_forgery :with => :exception | |||||
* | | | Change api_only to http_only | Carlos Antonio da Silva | 2012-03-10 | 2 | -10/+10 | |
| | | | | | | | | | | | | [Carlos Antonio da Silva & Santiago Pastorino] | |||||
* | | | Add some docs for MiddlewareStackProxy methods and api_only! | Carlos Antonio da Silva | 2012-03-10 | 1 | -2/+39 | |
| |/ |/| | | | | | [Carlos Antonio da Silva & Santiago Pastorino] | |||||
* | | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2012-03-09 | 1 | -1/+1 | |
|\ \ | ||||||
| * | | Fix typo in isolated engine docs | Caius Durling | 2012-03-06 | 1 | -1/+1 | |
| | | | ||||||
* | | | Merge pull request #5162 from kennyj/schema_cache_dump | Aaron Patterson | 2012-03-07 | 1 | -1/+2 | |
|\ \ \ | | | | | | | | | [Proposal] Schema cache dump | |||||
| * | | | Load db/schema_cache.dump duaring boot time. | kennyj | 2012-03-01 | 1 | -1/+2 | |
| |/ / | ||||||
* | / | Revert "let the connection pool of new applications have size 1 rather than 5" | Xavier Noria | 2012-03-07 | 3 | -27/+9 | |
| |/ |/| | | | | | | | | | | | Reason: Temporarily reverting this because it has uncovered an issue that prevents Sam's test suite from passing. This reverts commit 9b2c38b7bd582d9712c3779294a9bccde7bbd548. | |||||
* | | Add config.middleware.api_only! | Carlos Antonio da Silva and Santiago Pastorino | 2012-03-05 | 2 | -4/+12 | |
| | | ||||||
* | | Only add the whitelist_attributes option if ActiveRecord is present | Rafael Mendonça França | 2012-03-04 | 1 | -1/+1 | |
| | | ||||||
* | | Whitelist all attribute assignment by default. | Michael Koziarski | 2012-03-05 | 1 | -1/+1 | |
| | | | | | | | | Change the default for newly generated applications to whitelist all attribute assignment. Also update the generated model classes so users are reminded of the importance of attr_accessible. | |||||
* | | Handle files from ActionDispatch::Static with Rack::Sendfile (fixes #5225) | Piotr Sarnacki | 2012-03-03 | 1 | -4/+4 | |
| | | | | | | | | | | | | | | | | This makes rails behave properly when you serve static assets and you have X-Sendfile headers enabled. Nevertheless in most cases you should not rely on that and serve static assets with a webserver like Apache or Nginx (as you already have it in place anyway if you use X-Sendfile) | |||||
* | | remove usages of AS::OrderedHash | Vishnu Atrai | 2012-03-03 | 1 | -1/+1 | |
|/ | ||||||
* | ruby19: no need to rescue when requiring 'rdoc/task' in Ruby >= 1.9 | Akira Matsuda | 2012-02-27 | 2 | -14/+3 | |
| | ||||||
* | let the connection pool of new applications have size 1 rather than 5 | Xavier Noria | 2012-02-26 | 3 | -9/+27 | |
| | | | | | | | | | The majority of Rails applications are multiprocess, people may wonder why rails new generates a default pool of 5, does my application need a connection pool of 5? By generating a default of 1 database.yml is much more clear, and with the comment people know what is the connection pool for, and they know it has to be bigger for multithread apps. |