aboutsummaryrefslogtreecommitdiffstats
path: root/railties
Commit message (Collapse)AuthorAgeFilesLines
* Make console and generators blocks works at Application instance levelRafael Mendonça França2014-04-144-0/+114
| | | | | | | 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ça2014-04-141-4/+4
|
* Bundle tzinfo-data on :x64_mingw (64-bit Ruby on Windows).Phil Ross2014-04-121-1/+1
|
* Merge pull request #14646 from deivid-rodriguez/provide_byebug_by_defaultRafael Mendonça França2014-04-118-35/+76
|\ | | | | Improve debugging support
| * Prevent generation of extra whitespace in templatesDavid Rodríguez de Dios2014-04-102-6/+6
| |
| * Isolate debugger related codeDavid Rodríguez de Dios2014-04-102-24/+32
| |
| * Update Gemfile templates to provide correct debuggerDavid Rodríguez de Dios2014-04-084-7/+21
| |
| * Keep debugger support only for rubies < 2.0.0David Rodríguez de Dios2014-04-084-10/+29
| |
* | Merge pull request #14689 from matthewd/asset_initializerRafael Mendonça França2014-04-115-7/+20
|\ \ | | | | | | Move assets precompile (and version) to an initializer
| * | Move assets precompile (and version) to an initializerMatthew Draper2014-04-115-7/+20
| | | | | | | | | | | | | | | sprockets-rails 2.1 needs the precompile list to be available in all environments.
* | | Require action_controller before any other action_controller fileRafael Mendonça França2014-04-101-0/+1
|/ / | | | | | | | | | | This will load properly the loading hooks. Closes rails/sass-rails#205
* | +EOLAkira Matsuda2014-04-101-1/+1
| |
* | depend_on_asset is not required anymore on sprockets-rails 2.1.2Rafael Mendonça França2014-04-091-6/+6
| |
* | Dont abbreviate that which needs no abbreviationDavid Heinemeier Hansson2014-04-081-2/+2
| |
* | Dont encourage aliases now that we have variantsDavid Heinemeier Hansson2014-04-081-1/+0
| |
* | Use short-form for the scaffold render calls and drop the needless testDavid Heinemeier Hansson2014-04-082-9/+2
|/
* Drop in @jeremy's new database.yml template textMatthew Draper2014-04-0911-43/+197
| | | | | In passing, allow multi-word adapters to be referenced in a URL: underscored_name must become hyphened-name.
* Rails.application should be set inside before_configuration hookRafael Mendonça França2014-04-073-1/+17
| | | | Fixes #14620
* Remove useless begin..endCarlos Antonio da Silva2014-04-071-2/+1
|
* Declare the assets dependencyRafael Mendonça França2014-04-041-7/+8
|
* Use sass-rails 4.0.3Rafael Mendonça França2014-04-041-1/+1
|
* Ensure we supply Kernel#y for 1.9 tooMatthew Draper2014-04-043-10/+29
| | | | | | | | In 1.9, it doesn't live in its own file, so we'll have to define it ourselves. Check RUBY_VERSION, instead of rescuing the require, because we want this to break if `psych/y` moves in a future Ruby release.
* Explicitly load Kernel#y when starting a consoleMatthew Draper2014-04-041-0/+1
| | | | | | | | Previously, we relied on the IRB-detection in Psych itself. But that doesn't work when we're running under spring: the application boots (and thus psych is required) before we switch to console mode and load IRB. Fixes #14587.
* Revise 'sqlite3:' URL handling for smoother upgradesMatthew Draper2014-04-033-6/+8
| | | | | | | | | | | | | | | | 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.
* Require yaml explicitlyAdrià Planas2014-03-291-0/+1
|
* Add CHANGELOG entry for #12778 [ci skip]Rafael Mendonça França2014-03-281-0/+4
|
* Merge pull request #12778 from etehtsea/rake-default-fixRafael Mendonça França2014-03-281-1/+1
|\ | | | | | | | | Don't load test env by default. Closes #13241
| * Don't load test env by defaultKonstantin Shabanov2013-11-111-1/+1
| |
* | Fix build with bundler 1.6Rafael Mendonça França2014-03-261-1/+1
| |
* | Edge Rails applications doesn't need to use arel masterRafael Mendonça França2014-03-261-2/+1
| |
* | Fix Generation of proper migration whenKuldeep Aggarwal2014-03-252-0/+54
| | | | | | | | | | | | | | | | | | | | | | | | 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 gitignoreRafael Mendonça França2014-03-241-2/+2
| | | | | | | | | | If the sqlite file name change in future version we this regexp should catch
* | Merge pull request #14447 from Houdini/gitignoreRafael Mendonça França2014-03-245-2/+36
|\ \ | | | | | | | | | Skip sqlite3 files in .gitignore if no sqlite3 in app
| * | Remove sqlite3 lines from .gitignore if the application is not using sqlite3.Dmitrii Golub2014-03-245-2/+36
| | |
* | | Adding active_model in Rails::InfoAnkit Gupta2014-03-231-1/+1
|/ /
* | test for structure:dump without schema information table. refs eafec46Yves Senn2014-03-201-0/+12
| | | | | | | | This is a test case for the fix provided in eafec4694c5b37eff9d83b1188b8e331fa6027fa
* | Remove some indirection in rake dbs testCarlos Antonio da Silva2014-03-201-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 equalityCarlos Antonio da Silva2014-03-201-5/+4
| | | | | | | | Also fix indent of test block.
* | Refactor assertion of line numbers matching 4 spacesCarlos Antonio da Silva2014-03-191-16/+4
| |
* | Move booting/loading tasks setup to the rake notes helper methodCarlos Antonio da Silva2014-03-191-15/+3
| |
* | Extract rake notes command and lines scan boilerplateCarlos Antonio da Silva2014-03-191-19/+14
| | | | | | | | Refactor to a reusable method.
* | Remove extra space assertionCarlos Antonio da Silva2014-03-191-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 testsCarlos Antonio da Silva2014-03-191-29/+14
| |
* | Merge pull request #14379 from robertomiranda/rake-notes.configGuillermo Iguaran2014-03-175-29/+74
|\ \ | | | | | | Add Public Api for Register New Extensions for Rake Notes
| * | Rake notes should picked up new Extensions registered in the ↵robertomiranda2014-03-171-3/+19
| | | | | | | | | | | | config/application.rb file
| * | Add Changelog Entry ref #14379robertomiranda2014-03-171-0/+8
| | |
| * | Add config.annotations, in order to register new extensions for Rake notes ↵robertomiranda2014-03-162-0/+14
| | | | | | | | | | | | at config level
| * | Fix Shadowing extensions variable in Register Annotation Exentsionsrobertomiranda2014-03-162-7/+7
| | |
| * | Supporting .ruby, .yml and .yaml Extension in Rake Notesrobertomiranda2014-03-142-2/+7
| | |
| * | Remove .scss, .sass, .less, .haml, .slim, coffee from Rake Notes. Now we ↵robertomiranda2014-03-142-17/+5
| | | | | | | | | | | | have an API for register it in the corresponding gems