Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Avoid another blank line in generated migration and remove assertion as per ↵ | Marcelo Silveira | 2012-03-21 | 1 | -1/+0 |
| | | | | @spastorino request | ||||
* | Merge pull request #5532 from mhfs/migration_blank_line | José Valim | 2012-03-21 | 1 | -0/+1 |
|\ | | | | | Remove blank line from generated migration | ||||
| * | Remove blank line from generated migration | Marcelo Silveira | 2012-03-20 | 1 | -0/+1 |
| | | |||||
* | | Generate Migration Thats Adds Removed Index | Travis Jeffery | 2012-03-21 | 1 | -0/+18 |
|/ | | | | | When generating a migration that removes a field with an index, the down will add both the field and its index. | ||||
* | Merge pull request #5492 from arunagw/build_fix_app_generator_test | Piotr Sarnacki | 2012-03-18 | 1 | -1/+1 |
|\ | | | | | Build fix for app_generator_test.rb | ||||
| * | Build fix for app_generator_test.rb | Arun Agrawal | 2012-03-18 | 1 | -1/+1 |
| | | |||||
* | | Merge pull request #5486 from kennyj/fix_5435 | Aaron Patterson | 2012-03-17 | 1 | -0/+12 |
|\ \ | |/ |/| | Fix GH #5435. db:structure:dump should be re-enable. | ||||
| * | Fix GH #5435. db:structure:dump should be reenable. | kennyj | 2012-03-17 | 1 | -0/+12 |
| | | |||||
* | | Rack::SSL -> ActionDispatch::SSL | Rafael Mendonça França | 2012-03-17 | 1 | -3/+3 |
|/ | |||||
* | Simplify helpers handling. Ensure Metal can run AC hooks. | José Valim | 2012-03-15 | 1 | -1/+30 |
| | |||||
* | Remove --http. | José Valim | 2012-03-14 | 8 | -232/+0 |
| | |||||
* | Fix scaffold controller template, ensure rake scaffold test pass by default | Carlos Antonio da Silva | 2012-03-14 | 2 | -3/+29 |
| | |||||
* | Do not generate app/views and sprockets entries on http app | Carlos Antonio da Silva | 2012-03-14 | 1 | -1/+16 |
| | | | | [Carlos Antonio da Silva & Santiago Pastorino] | ||||
* | Generate special controller and functional test templates for http apps | Carlos Antonio da Silva | 2012-03-14 | 3 | -1/+53 |
| | | | | | | | | | | | | 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 | 1 | -5/+5 |
| | | | | [Carlos Antonio da Silva & Santiago Pastorino] | ||||
* | Add test to ensure setting config.generators.http_only actually disables the ↵ | Carlos Antonio da Silva | 2012-03-14 | 2 | -2/+15 |
| | | | | | | generator options [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 | -0/+15 |
| | | | | [Carlos Antonio da Silva & Santiago Pastorino] | ||||
* | Remove duplicated tests from shared generator | Carlos Antonio da Silva | 2012-03-14 | 2 | -16/+2 |
| | | | | [Carlos Antonio da Silva & Santiago Pastorino] | ||||
* | Disable template, helper and assets options when using http_only! | Carlos Antonio da Silva | 2012-03-14 | 1 | -0/+18 |
| | | | | [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 | 1 | -0/+24 |
| | | | | [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 | -0/+6 |
| | | | | [Carlos Antonio da Silva & Santiago Pastorino] | ||||
* | Add http-only option to Rails app generator | Carlos Antonio da Silva | 2012-03-14 | 1 | -0/+10 |
| | | | | | | | 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 | -0/+27 |
| | | | | | | More info http://edgeguides.rubyonrails.org/api_app.html [Carlos Antonio da Silva & Santiago Pastorino] | ||||
* | Remove IdentityMap | Carlos Antonio da Silva | 2012-03-13 | 1 | -7/+0 |
| | |||||
* | The sprockets railtie was moved to sprockets/rails/railtie | Guillermo Iguaran | 2012-03-13 | 1 | -1/+1 |
| | |||||
* | Merge pull request #5415 from rafaelfranca/refactor | José Valim | 2012-03-13 | 2 | -8/+8 |
|\ | | | | | 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 | 2 | -8/+8 |
| | | |||||
* | | Merge pull request #572 from sikachu/remove_activeresource | José Valim | 2012-03-13 | 1 | -2/+1 |
|\ \ | | | | | | | Remove Active Resource source files from the repository. | ||||
| * | | Remove Active Resource source files from the repository | Prem Sichanugrist | 2012-03-13 | 1 | -2/+1 |
| |/ | | | | | | | | | | | | | | | | | | | 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. | ||||
* | | Environment in engines tests is required on boot_rails, no need to require ↵ | Piotr Sarnacki | 2012-03-13 | 1 | -10/+0 |
| | | | | | | | | explicitly | ||||
* | | Don't need to share engine's tests anymore, plugins are gone | Piotr Sarnacki | 2012-03-13 | 2 | -370/+359 |
| | | |||||
* | | Ensure that engine can be mounted at root (#4314) | Piotr Sarnacki | 2012-03-13 | 1 | -0/+54 |
|/ | | | | | | | It's already fixed and the fix was actually in journey library, but with #4314 it reappeared second time, so probably this kind of integration test will be good to have to not allow it to sneak in after changes in journey or rails itself. | ||||
* | Use the attributes hash explicitly | Rafael Mendonça França | 2012-03-13 | 2 | -6/+26 |
| | |||||
* | Do not use the attributes hash in the scaffold functional tests | Rafael Mendonça França | 2012-03-12 | 2 | -2/+9 |
| | |||||
* | Merge pull request #5326 from lest/patch-2 | Michael Koziarski | 2012-03-10 | 1 | -4/+14 |
|\ | | | | | configure how unverified request will be handled | ||||
| * | configure how unverified request will be handled | Sergey Nartimov | 2012-03-09 | 1 | -4/+14 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | ||||
* | | Fix broken tests | Santiago Pastorino | 2012-03-10 | 1 | -1/+2 |
| | | |||||
* | | Change api_only to http_only | Carlos Antonio da Silva | 2012-03-10 | 1 | -2/+1 |
| | | | | | | | | [Carlos Antonio da Silva & Santiago Pastorino] | ||||
* | | Use one system call whenever possible, group rake and Dir.chdir calls | Carlos Antonio da Silva | 2012-03-08 | 4 | -106/+98 |
| | | |||||
* | | Merge pull request #5162 from kennyj/schema_cache_dump | Aaron Patterson | 2012-03-07 | 2 | -0/+45 |
|\ \ | |/ |/| | [Proposal] Schema cache dump | ||||
| * | Support judgement expired schema cache dump. | kennyj | 2012-03-01 | 1 | -0/+14 |
| | | |||||
| * | Load db/schema_cache.dump duaring boot time. | kennyj | 2012-03-01 | 1 | -0/+12 |
| | | |||||
| * | Add db:schema:cache:dump and db:schema:cache:clear tasks. | kennyj | 2012-03-01 | 1 | -0/+19 |
| | | |||||
* | | Revert table_name= needs connection now, so just stub table_name | kennyj | 2012-03-07 | 1 | -1/+1 |
| | | |||||
* | | Add config.middleware.api_only! | Carlos Antonio da Silva and Santiago Pastorino | 2012-03-05 | 1 | -0/+30 |
| | | |||||
* | | Now all the models need to explicitly declare the accessible attributes | Rafael Mendonça França | 2012-03-04 | 1 | -0/+1 |
| | | |||||
* | | Only add the whitelist_attributes option if ActiveRecord is present | Rafael Mendonça França | 2012-03-04 | 2 | -1/+10 |
| | | |||||
* | | Whitelist all attribute assignment by default. | Michael Koziarski | 2012-03-05 | 1 | -0/+10 |
| | | | | | | | | 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. | ||||
* | | Fix tests, table_name= needs connection now, so just stub table_name | Piotr Sarnacki | 2012-03-04 | 1 | -1/+1 |
| | | |||||
* | | Handle files from ActionDispatch::Static with Rack::Sendfile (fixes #5225) | Piotr Sarnacki | 2012-03-03 | 2 | -1/+14 |
|/ | | | | | | | | 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) |