Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | adding a test for root path in the app | Aaron Patterson | 2013-04-17 | 1 | -0/+24 |
| | |||||
* | Backported #6755 to 3-2-stable. Don't read csv file during executing ↵ | Narihiro Nakamura | 2013-02-28 | 1 | -0/+12 |
| | | | | db:fixtures:load. | ||||
* | Define #inspect instead of #to_s | Prem Sichanugrist | 2013-02-24 | 1 | -2/+2 |
| | | | | Ruby 2.0 Object#inspect does not call #to_s by default anymore. | ||||
* | Fix failing test case when no database.yml | Prem Sichanugrist | 2013-02-24 | 1 | -4/+11 |
| | |||||
* | Add in missing requires | Prem Sichanugrist | 2013-02-24 | 1 | -0/+1 |
| | |||||
* | Fix the TestCase class and make tests pass on ruby 2.0 | Rafael Mendonça França | 2013-01-14 | 1 | -2/+2 |
| | |||||
* | Add regression test to #8907 | Rafael Mendonça França | 2013-01-14 | 1 | -0/+31 |
| | |||||
* | Don't use 1.9 hash syntax on 3-2-stable | Andrew White | 2012-12-14 | 1 | -6/+6 |
| | |||||
* | Clear url helper methods when routes are reloaded | Andrew White | 2012-12-14 | 1 | -0/+71 |
| | | | | | | | | Clear url helper methods when routes are reloaded by removing the methods explicitly rather than just clearing the module because it didn't work properly and could be the source of a memory leak. Closes #8488. | ||||
* | Update mocha version to 0.13.0 and change requires | Carlos Antonio da Silva | 2012-11-13 | 2 | -1/+2 |
| | |||||
* | Revert "Add test case to assets eager load" | Santiago Pastorino | 2012-11-09 | 1 | -3/+0 |
| | | | | This reverts commit 552a3e145373cabe25a78d8d7cba2ceaabd9ecc5. | ||||
* | fixed support for DATABASE_URL for rake db tasks | Grace Liu | 2012-10-29 | 2 | -0/+230 |
| | | | | | | | | | | | | | | | | Backport for #7521 - added tests to confirm establish_connection uses DATABASE_URL and Rails.env correctly even when no arguments are passed in. - updated rake db tasks to support DATABASE_URL, and added tests to confirm correct behavior for these rake tasks. (Removed establish_connection call from some tasks since in those cases the :environment task already made sure the function would be called) - updated Resolver so that when it resolves the database url, it removes hash values with empty strings from the config spec (e.g. to support connection to postgresql when no username is specified). - updated ResolverTest to use current_adapter? to check the type of the current adapter. | ||||
* | Add test case to assets eager load | Rafael Mendonça França | 2012-10-27 | 1 | -0/+3 |
| | |||||
* | Asset manifest includes aliases for foo.js -> foo/index.js and vice versa. ↵ | Jeremy Kemper | 2012-09-30 | 1 | -1/+16 |
| | | | | Bump Sprockets requirements from 2.1+ to 2.2+ and let it answer "should we compile this asset?" for us. | ||||
* | Hashrocket for 1.8 support | Jeremy Kemper | 2012-09-28 | 1 | -2/+2 |
| | |||||
* | Tune up Rails::Rack::Logger. Only put space between requests in development ↵ | Jeremy Kemper | 2012-09-27 | 1 | -6/+6 |
| | | | | | | | logs. Conflicts: railties/test/application/rack/logger_test.rb | ||||
* | Explictly set the assets digest option to false | Rafael Mendonça França | 2012-09-20 | 1 | -2/+5 |
| | |||||
* | Fix invalid asset compile assertions | Joshua Peek | 2012-08-07 | 1 | -3/+2 |
| | | | | Logical paths to compile should require an extension | ||||
* | make assertions easier to track down | Aaron Patterson | 2012-08-07 | 1 | -9/+17 |
| | |||||
* | html_escape should escape single quotes | Santiago Pastorino | 2012-08-02 | 1 | -2/+2 |
| | | | | | | | | | | | | https://www.owasp.org/index.php/XSS_%28Cross_Site_Scripting%29_Prevention_Cheat_Sheet#RULE_.231_-_HTML_Escape_Before_Inserting_Untrusted_Data_into_HTML_Element_Content Closes #7215 Conflicts: actionpack/test/template/erb_util_test.rb actionpack/test/template/form_tag_helper_test.rb actionpack/test/template/text_helper_test.rb actionpack/test/template/url_helper_test.rb activesupport/lib/active_support/core_ext/string/output_safety.rb | ||||
* | Merge pull request #6690 from suginoy/fix-templates-copy | Rafael Mendonça França | 2012-06-11 | 1 | -0/+12 |
| | | | | | | Fix: 'rake rails:templates:copy' doesn't work Conflicts: railties/test/application/rake_test.rb | ||||
* | Revert "fix the Flash middleware loading the session on every request (very ↵ | Rafael Mendonça França | 2012-06-05 | 1 | -20/+0 |
| | | | | | | | | | dangerous especially with Rack::Cache), it should only be loaded when the flash method is called" This reverts commits e3069c64b2c5ddc7a5789b55b8efd4902d9e9729 and 2b2983d76fd11efc219273036a612f47cfaa5bfa. Reason: This add a non-backward compatible change in the way that flash works now (swept in every request). | ||||
* | Remove irrelevant assertion | Oscar Del Ben | 2012-05-29 | 1 | -7/+0 |
| | |||||
* | Display annotations from .coffee files in `rake notes` | Bartlomiej Kozal | 2012-05-28 | 1 | -5/+16 |
| | |||||
* | Added test for assets:precompile for index files | Dmitry Vorotilin | 2012-05-01 | 1 | -0/+9 |
| | |||||
* | Failing test for #6034 | Piotr Sarnacki | 2012-04-30 | 1 | -0/+20 |
| | |||||
* | log which config format AR uses to connect with | Terence Lee | 2012-04-03 | 1 | -0/+19 |
| | |||||
* | test initializer logic for DATABASE_URL env var | Terence Lee | 2012-04-03 | 1 | -0/+43 |
| | |||||
* | Fix GH #5411. When precompiling, params method is undefined. | kennyj | 2012-03-22 | 1 | -0/+12 |
| | |||||
* | Fix GH #5435. db:structure:dump should be re-enable. | kennyj | 2012-03-18 | 1 | -0/+12 |
| | |||||
* | Now all the models need to explicitly declare the accessible attributes | Rafael Mendonça França | 2012-03-04 | 1 | -0/+1 |
| | |||||
* | fix assets test | Sergey Nartimov | 2012-01-31 | 1 | -1/+1 |
| | |||||
* | Add default charset config to ActionDispatch | Carlos Antonio da Silva | 2012-01-17 | 1 | -0/+8 |
| | |||||
* | Don't hardcode assets route skipped in route inspector | Guillermo Iguaran | 2012-01-15 | 1 | -0/+15 |
| | | | | | | Conflicts: railties/lib/rails/application/route_inspector.rb | ||||
* | No AS::TestCase here. | José Valim | 2012-01-13 | 1 | -1/+1 |
| | |||||
* | config.force_ssl should mark the session as secure. | José Valim | 2012-01-13 | 1 | -0/+30 |
| | |||||
* | Remove dead code | Santiago Pastorino | 2012-01-10 | 1 | -4/+0 |
| | |||||
* | Rails initialization with initialize_on_precompile = false should set assets_dir | Santiago Pastorino | 2012-01-10 | 1 | -0/+6 |
| | |||||
* | Add ORIGINAL_FULLPATH to env | Piotr Sarnacki | 2012-01-10 | 2 | -1/+37 |
| | | | | | | | | | | | This behaves similarly to REQUEST_URI, but we need to implement it on our own because REQUEST_URI is not reliable. Note that since PATH_INFO does not contain information about trailing question mark, this is not 100% accurate, for example `/foo?` will result in `/foo` in ORIGINAL_FULLPATH | ||||
* | Correctly display rack apps with dynamic constraints in RoutesInspector | Piotr Sarnacki | 2011-12-26 | 1 | -0/+17 |
| | | | | | | | | | | | | | If you used dynamic constraint like that: scope :constraint => MyConstraint.new do mount RackApp => "/foo" end routes were not displayed correctly when using `rake routes`. This commit fixes it. If you want nice display of dynamic constraints in `rake routes` output, please just override to_s method in your constraint's class. | ||||
* | just require things once | Aaron Patterson | 2011-12-21 | 1 | -4/+2 |
| | |||||
* | append puts the routes after the default, which causes a 404. instead use ↵ | Aaron Patterson | 2011-12-21 | 1 | -1/+1 |
| | | | | prepend | ||||
* | Move SubTestTask. Soften up tests. | Jeremy Kemper | 2011-12-21 | 1 | -10/+7 |
| | |||||
* | don't encode an UTF-8 encoded template | Xu Pan | 2011-12-20 | 1 | -1/+2 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Rename STRUCTURE to DB_STRUCTURE, update dump task description and add ↵ | Dieter Komendera | 2011-12-18 | 1 | -0/+8 |
| | | | | simple testcase. | ||||
* | Wait a full second so we have time for changes to propagate | José Valim | 2011-12-16 | 1 | -0/+3 |
| | |||||
* | Fix failing asset test. | José Valim | 2011-12-16 | 1 | -1/+3 |
| | |||||
* | Show detailed exceptions no longer returns true if the request is local in ↵ | José Valim | 2011-12-16 | 1 | -0/+1 |
| | | | | production. | ||||
* | Improve the specs on exceptions app. | José Valim | 2011-12-16 | 1 | -1/+1 |
| | |||||
* | Allow a custom exceptions app to set. | José Valim | 2011-12-16 | 1 | -0/+14 |
| |