Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | rename `str` to `string` to fix overshadowing of variable | Vipul A M | 2014-05-07 | 1 | -1/+1 |
| | |||||
* | skip-git should not hit git commands plugin generators | Arun Agrawal | 2014-05-02 | 1 | -8/+18 |
| | |||||
* | Works correctly if git not installed | Roman Shmatov | 2014-05-02 | 1 | -0/+24 |
| | |||||
* | Precompile the image we're referencing, too. | Matthew Draper | 2014-04-24 | 1 | -2/+2 |
| | | | | | | | | | | You can't compile a file that references a non-compiled asset's path. .. unless you turn off asset runtime errors. Outside of a test case like this, `config.assets.precompile` would normally retain its default entry, which precompiles all images (and other non-JS/CSS files) that are in `app/assets`. | ||||
* | Make console and generators blocks works at Application instance level | Rafael Mendonça França | 2014-04-14 | 2 | -0/+96 |
| | | | | | | | Like rake tasks and runner blocks these blocks should also being shared between applications since they are stored at the classes. Fixes #14748 | ||||
* | :scissors: | Rafael Mendonça França | 2014-04-14 | 1 | -4/+4 |
| | |||||
* | Merge pull request #14646 from deivid-rodriguez/provide_byebug_by_default | Rafael Mendonça França | 2014-04-11 | 3 | -17/+29 |
|\ | | | | | Improve debugging support | ||||
| * | Isolate debugger related code | David Rodríguez de Dios | 2014-04-10 | 1 | -13/+19 |
| | | |||||
| * | Update Gemfile templates to provide correct debugger | David Rodríguez de Dios | 2014-04-08 | 2 | -4/+10 |
| | | |||||
| * | Keep debugger support only for rubies < 2.0.0 | David Rodríguez de Dios | 2014-04-08 | 1 | -3/+3 |
| | | |||||
* | | Move assets precompile (and version) to an initializer | Matthew Draper | 2014-04-11 | 1 | -1/+1 |
| | | | | | | | | | | sprockets-rails 2.1 needs the precompile list to be available in all environments. | ||||
* | | depend_on_asset is not required anymore on sprockets-rails 2.1.2 | Rafael Mendonça França | 2014-04-09 | 1 | -6/+6 |
| | | |||||
* | | Use short-form for the scaffold render calls and drop the needless test | David Heinemeier Hansson | 2014-04-08 | 1 | -7/+0 |
|/ | |||||
* | Rails.application should be set inside before_configuration hook | Rafael Mendonça França | 2014-04-07 | 2 | -0/+14 |
| | | | | Fixes #14620 | ||||
* | Declare the assets dependency | Rafael Mendonça França | 2014-04-04 | 1 | -7/+8 |
| | |||||
* | Revise 'sqlite3:' URL handling for smoother upgrades | Matthew Draper | 2014-04-03 | 2 | -4/+4 |
| | | | | | | | | | | | | | | | | Restore the 4.0 behaviour for 'sqlite3:///', but deprecate it. We'll change to the absolute-path interpretation in 4.2. The current "correct" spellings for in-memory, relative, and absolute URLs, respectively, are: sqlite3::memory: sqlite3:relative/path sqlite3:/full/path Substantially reverses/defers fbb79b517f3127ba620fedd01849f9628b78d6ce. Uncovered by @guilleiguaran while investigating #14495, though that sounds like a different issue. | ||||
* | Fix build with bundler 1.6 | Rafael Mendonça França | 2014-03-26 | 1 | -1/+1 |
| | |||||
* | Fix Generation of proper migration when | Kuldeep Aggarwal | 2014-03-25 | 1 | -0/+50 |
| | | | | | | | | | | | | ActiveRecord::Base.pluralize_table_names = false. Previously, generation a migration like this: rails g migration add_column_name_to_user name would not generating the correct table name. Fixes #13426. | ||||
* | Check if any sqlite files are not included in the gitignore | Rafael Mendonça França | 2014-03-24 | 1 | -2/+2 |
| | | | | | If the sqlite file name change in future version we this regexp should catch | ||||
* | Remove sqlite3 lines from .gitignore if the application is not using sqlite3. | Dmitrii Golub | 2014-03-24 | 1 | -1/+25 |
| | |||||
* | test for structure:dump without schema information table. refs eafec46 | Yves Senn | 2014-03-20 | 1 | -0/+12 |
| | | | | This is a test case for the fix provided in eafec4694c5b37eff9d83b1188b8e331fa6027fa | ||||
* | Remove some indirection in rake dbs test | Carlos Antonio da Silva | 2014-03-20 | 1 | -34/+20 |
| | | | | | Just pass in the expected database as argument rather than "caching" it in a hash and using the hash in the helper methods. | ||||
* | Check if the output is empty rather than asserting for equality | Carlos Antonio da Silva | 2014-03-20 | 1 | -5/+4 |
| | | | | Also fix indent of test block. | ||||
* | Refactor assertion of line numbers matching 4 spaces | Carlos Antonio da Silva | 2014-03-19 | 1 | -16/+4 |
| | |||||
* | Move booting/loading tasks setup to the rake notes helper method | Carlos Antonio da Silva | 2014-03-19 | 1 | -15/+3 |
| | |||||
* | Extract rake notes command and lines scan boilerplate | Carlos Antonio da Silva | 2014-03-19 | 1 | -19/+14 |
| | | | | Refactor to a reusable method. | ||||
* | Remove extra space assertion | Carlos Antonio da Silva | 2014-03-19 | 1 | -3/+2 |
| | | | | | No need to check that each line contains an extra space, just matching the space in the regexp is enough to ensure that. | ||||
* | Extract common setup for loading tasks in rake notes tests | Carlos Antonio da Silva | 2014-03-19 | 1 | -29/+14 |
| | |||||
* | Merge pull request #14379 from robertomiranda/rake-notes.config | Guillermo Iguaran | 2014-03-17 | 2 | -14/+40 |
|\ | | | | | Add Public Api for Register New Extensions for Rake Notes | ||||
| * | Rake notes should picked up new Extensions registered in the ↵ | robertomiranda | 2014-03-17 | 1 | -3/+19 |
| | | | | | | | | config/application.rb file | ||||
| * | Add config.annotations, in order to register new extensions for Rake notes ↵ | robertomiranda | 2014-03-16 | 1 | -0/+10 |
| | | | | | | | | at config level | ||||
| * | Fix Shadowing extensions variable in Register Annotation Exentsions | robertomiranda | 2014-03-16 | 1 | -5/+5 |
| | | |||||
| * | Supporting .ruby, .yml and .yaml Extension in Rake Notes | robertomiranda | 2014-03-14 | 1 | -1/+6 |
| | | |||||
| * | Remove .scss, .sass, .less, .haml, .slim, coffee from Rake Notes. Now we ↵ | robertomiranda | 2014-03-14 | 1 | -13/+3 |
| | | | | | | | | have an API for register it in the corresponding gems | ||||
| * | Add Public Api for register new extensions for Rake Notes | robertomiranda | 2014-03-14 | 1 | -0/+5 |
| | | |||||
* | | Fix assertions | Carlos Antonio da Silva | 2014-03-16 | 1 | -2/+2 |
| | | |||||
* | | better test error messages | schneems | 2014-03-14 | 1 | -4/+4 |
|/ | |||||
* | Make the rails:template rake task load initializers | Robin Dupret | 2014-03-08 | 1 | -0/+11 |
| | | | | | | | | | | | Templates could rely on irregular inflections or external libraries for instance so we should load the application's initializers when running the rails:template task. The introducing commit of this feature is f7f11361 ; the initializers have never been loaded invoking this task. Fixes #12133. | ||||
* | Introduce `Rails.gem_version` | Prem Sichanugrist | 2014-03-05 | 1 | -0/+12 |
| | | | | | | | | | | | | | | | | | | | This method return `Gem::Version.new(Rails.version)`, suggesting a more reliable way to perform version comparison. Example: Rails.version #=> "4.1.2" Rails.gem_version #=> #<Gem::Version "4.1.2"> Rails.version > "4.1.10" #=> false Rails.gem_version > Gem::Version.new("4.1.10") #=> true Gem::Requirement.new("~> 4.1.2") =~ Rails.gem_version #=> true This was originally introduced as `.version` by @charliesome in #8501 but got reverted in #10002 since it was not backward compatible. Also, updating template for `rake update_versions`. | ||||
* | Merge pull request #14195 from robin850/issue-14079 | Guillermo Iguaran | 2014-02-28 | 1 | -0/+12 |
|\ | | | | | Avoid namespacing routes inside engines | ||||
| * | Avoid namespacing routes inside engines | Robin Dupret | 2014-02-26 | 1 | -0/+12 |
| | | | | | | | | | | | | | | | | | | | | | | | | Since #11544, invoking the controller generator, any generated route is namespaced according to the class_path method. Since a mountable plugin is namespaced, creating a controller inside would generate a namespaced route based on the engine's name. The controller generator now relies on regular_class_path which does not contain the class hierarchy but the given path. Fixes #14079. | ||||
* | | Merge pull request #14174 from kuldeepaggarwal/fix-resource_generator_test | Yves Senn | 2014-02-27 | 2 | -4/+4 |
|\ \ | | | | | | | fix test cases | ||||
| * | | modify model generator warning message. refs [#174c9f0] | Kuldeep Aggarwal | 2014-02-27 | 2 | -4/+4 |
| |/ | |||||
* | | Remove inclusion of rubysl gem for rbx on generated Gemfile | Carlos Antonio da Silva | 2014-02-25 | 1 | -7/+0 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | From #14026: Specific rbx-2 to limit testing on Rubinius 2.x (since there will be other versions of Rubinius > 2.x soon). Also, as of Rubinius 2.2.5, it is no longer necessary to bundle the rubysl gem. This is what Rails master/4.1 supports, so we don't need to add rubysl to gemfiles anymore. | ||||
* | | [skip ci] Fix test name typo in app generator tests. | Spencer Rogers | 2014-02-25 | 1 | -1/+1 |
|/ | |||||
* | build fix. follow up to 174c9f0df39cd338a4871f82794256cc64f68a81 | Yves Senn | 2014-02-24 | 1 | -1/+1 |
| | |||||
* | include names in model generator warning message. refs #13515. | Yves Senn | 2014-02-24 | 1 | -1/+1 |
| | | | | | | This is a follow up to #13515. It includes the name given and the singularized version in the warning message. This will aide the user to see wether the detected singular was right or not. | ||||
* | Merge pull request #13515 from kuldeepaggarwal/f-model-generation | Godfrey Chan | 2014-02-22 | 2 | -1/+8 |
|\ | | | | | Added warning when user tried to create model with pluralize name. | ||||
| * | Add warning when user tried to create model with pluralize name. | Kuldeep Aggarwal | 2014-02-23 | 2 | -1/+8 |
| | | | | | | | | | | 1. Generate model with correct_name. 2. It will help new users to avoid mistakes when tried to create model with wrong name. | ||||
* | | Revert "Only lookup `config.log_level` for stdlib `::Logger`. Closes #11665." | Guillermo Iguaran | 2014-02-21 | 1 | -14/+1 |
|/ | | | | | | | | | | | | This reverts commit e0a521cfcd13e4d1f0ae8ab96004289e1c020f71. Conflicts: railties/CHANGELOG.md We expect loggers to quack like stdlib logger. If log4r needs different level= assignment, using a Logger-quacking wrapper is the way to do it. Fixes #14114. |