Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Default config.assets.digests to true in development | Dan Kang | 2014-05-17 | 2 | -14/+13 |
| | |||||
* | New applications should be created with json serializer | Rafael Mendonça França | 2014-05-17 | 1 | -0/+36 |
| | | | | | | | | | | | The fix introduced at 75ba7425f6d235f254c00a45a58f42e88f80301a were missing this case. To fix the original issue mentioned at that commit the correct is to remove update_config_files from the command list since we should not run both config_files command when creating a new application. Tests were added to make sure everything is working fine. | ||||
* | Fix app generator test hanging. | Christian Wesselhoeft | 2014-05-17 | 1 | -2/+2 |
| | |||||
* | Ok. Enough models for today :rage: | Rafael Mendonça França | 2014-05-12 | 1 | -3/+6 |
| | |||||
* | This is also a model | Rafael Mendonça França | 2014-05-12 | 1 | -1/+1 |
| | |||||
* | This model is a model so it should behaves like one | Rafael Mendonça França | 2014-05-12 | 1 | -7/+3 |
| | |||||
* | Change Gemfile’s double quotes in plugin generator | Josemar Luedke | 2014-05-10 | 1 | -4/+4 |
| | | | | | Since the generated application’s Gemfile is using single quotation marks, it seems fair to use it on plugin’s Gemfile as well. | ||||
* | Merge pull request #15015 from pothibo/database-configuration | Rafael Mendonça França | 2014-05-07 | 1 | -0/+16 |
|\ | | | | | Use Rails::Paths::Path#existent in database_configuration | ||||
| * | Use Rails::Paths::Path#existent in database_configuration | Pier-Olivier Thibault | 2014-05-07 | 1 | -0/+16 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | Database configuration was trying to load the first path that config.paths['config/database'] was returning even if the path didn't exist in the filesystem. Because Rails::Paths::Path has the possibility to return more than 1 path (as an array), database_configuration should filter down the paths to the existing one and then load the first one. This would make it possible to move the database.yml file and add the new path to paths['config/database'] and still load the configurations. | ||||
* | | Return a non zero code when db has never been setup on status | Paul B | 2014-05-07 | 1 | -1/+1 |
|/ | |||||
* | 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 |