aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #24603 from ↵Jeremy Daer2016-04-171-2/+2
|\ | | | | | | | | | | prathamesh-sonpatki/fix-wording-about-adapters-supporting-db-comments Fix wording related to adapters supporting database comments [ci skip]
| * Fix wording related to adapters supporting database comments [ci skip]Prathamesh Sonpatki2016-04-181-2/+2
| |
* | Merge pull request #24602 from ↵Jeremy Daer2016-04-171-0/+3
|\ \ | | | | | | | | | | | | prathamesh-sonpatki/add-note-about-db-comments-in-release-notes Add note about ability to add database comments to release notes [ci skip]
| * | Add note about ability to add database comments to release notes [ci skip]Prathamesh Sonpatki2016-04-181-0/+3
| |/
* | Merge pull request #24601 from prathamesh-sonpatki/fix-ar-changelogJeremy Daer2016-04-171-23/+20
|\ \ | |/ |/| Move CHANGELOG entry about database notices at the top [ci skip]
| * Move CHANGELOG entry about database notices at the top [ci skip]Prathamesh Sonpatki2016-04-181-23/+20
|/
* Merge pull request #24595 from maclover7/jm-cleanup-2Rafael França2016-04-171-1/+1
|\ | | | | Specify that behavior will be deprecated in Rails 5.1
| * Specify that behavior will be deprecated in Rails 5.1Jon Moss2016-04-171-1/+1
| |
* | Merge pull request #24551 from bogdanvlviv/notice_for_tasksJeremy Daer2016-04-178-14/+130
|\ \ | | | | | | Added notice when a database is successfully created or dropped.
| * | Added notice when a database is successfully created or dropped.bogdanvlviv2016-04-178-14/+130
| | |
* | | Merge pull request #24582 from ↵Jeremy Daer2016-04-171-2/+2
|\ \ \ | | | | | | | | | | | | | | | | vipulnsward/stop-passing-unused-payloads-to-instrumentation Stop passing unused payloads to instrumentation block in cache
| * | | Stop passing unused payloads to instrumentation block in cacheVipul A M2016-04-171-2/+2
| | |/ | |/|
* | | Merge pull request #24592 from vipulnsward/properly-verify-expiresRichard Schneeman2016-04-172-2/+5
|\ \ \ | | | | | | | | Properly verify that cache accepts and uses `expires` value.
| * | | Properly verify that cache accepts and user `expires` value.Vipul A M2016-04-172-2/+5
| | | |
* | | | Merge pull request #24591 from vipulnsward/test-partial-name-with-unicodeAkira Matsuda2016-04-182-0/+5
|\ \ \ \ | |/ / / |/| | | Add render allows unicode text name in partials - 🍣
| * | | Add render allows unicode text name in partials - 🍣Vipul A M2016-04-172-0/+5
|/ / /
* | | Merge pull request #22911 from Envek/database_commentsJeremy Daer2016-04-1615-37/+280
|\ \ \ | | | | | | | | | | | | Add support for specifying comments for tables, columns, and indexes in database itself
| * | | Add support for specifying comments for tables, columns, and indexes.Andrey Novikov2016-04-1615-37/+286
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Comments are specified in migrations, stored in database itself (in its schema), and dumped into db/schema.rb file. This allows to generate good documentation and explain columns and tables' purpose to everyone from new developers to database administrators. For PostgreSQL and MySQL only. SQLite does not support comments at the moment. See docs for PostgreSQL: http://www.postgresql.org/docs/current/static/sql-comment.html See docs for MySQL: http://dev.mysql.com/doc/refman/5.7/en/create-table.html
* | | Merge pull request #24574 from y-yagi/donot_remove_cable.jsJeremy Daer2016-04-162-1/+15
|\ \ \ | | | | | | | | don't remove `cable.js` when a channel is removed
| * | | don't remove `cable.js`yuuji.yaginuma2016-04-162-1/+15
| |/ / | | | | | | | | | `cable.js` is required for other Channels.
* | | documentation for add_references index option [ci skip]Vipul A M2016-04-172-2/+12
|\ \ \ | |/ / |/| | documentation for add_references index option [ci skip]
| * | [ci skip] docs for add_references index optionAlex Handley2016-04-162-2/+12
| | | | | | | | | | | | | | | | | | - Add link for finding the addional options for index. - Add example for unique index as this is a common requirement. - Add link in guide for index options.
* | | Merge pull request #24565 from javiervidal/rails_update_taskKasper Timm Hansen2016-04-151-1/+1
|\ \ \ | | | | | | | | Add TIP about app:update task in 'A Guide for Upgrading Ruby on Rails'
| * | | Add a note about how to execute 'rails app:update' on 4.2 and earlier [ci skip]Javier Vidal2016-04-151-1/+1
| | | |
* | | | Merge pull request #24556 from vipulnsward/24542-changelogJeremy Daer2016-04-151-0/+6
|\ \ \ \ | | | | | | | | | | Add changelog for #24542
| * | | | Add changelog for #24542Vipul A M2016-04-151-0/+6
| | | | | | | | | | | | | | | | | | | | [ci skip]
* | | | | Merge pull request #24559 from vipulnsward/fix-ac-testsJeremy Daer2016-04-152-5/+3
|\ \ \ \ \ | | | | | | | | | | | | Fixed ActionCable::Connection::ClientSocketTest test
| * | | | | - Fixed ActionCable::Connection::ClientSocketTest that was overriding ↵Vipul A M2016-04-152-5/+3
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | ActionCable::Connection::StreamTest test name - Only add attr_readers for required attributes
* | | | | Merge pull request #24517 from estolfo/transform-keys-return-type-masterSean Griffin2016-04-152-1/+17
|\ \ \ \ \ | | | | | | | | | | | | Restore Hash#transform_keys behavior to always return a Hash instance
| * | | | | Restore Hash#transform_keys behavior to always return a Hash instanceEmily2016-04-122-1/+17
| | | | | |
* | | | | | Filter scalar values when params permit hashes or arraysSean Griffin2016-04-152-1/+14
| |_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | This brings the behavior more inline with other similar cases, such as receiving a hash when an array of scalars was expected. Prior to this commit, the key would be present, but the value would be `nil`
* | | | | Merge pull request #24560 from javiervidal/20160415प्रथमेश Sonpatki2016-04-151-1/+1
|\ \ \ \ \ | | | | | | | | | | | | Fix broken link in 'Ruby on Rails 4.0 Release Notes'
| * | | | | Fix broken link in 'Ruby on Rails 4.0 Release Notes' [ci skip]Javier Vidal2016-04-151-1/+1
|/ / / / /
* | | | | Merge pull request #24557 from y-yagi/update_example_to_specify_ac_mount_pathVipul A M2016-04-152-8/+9
|\ \ \ \ \ | |_|/ / / |/| | | | update example to specify the Action Cable mount path [ci skip]
| * | | | update example to specify the Action Cable mount path [ci skip]yuuji.yaginuma2016-04-152-8/+9
| | |_|/ | |/| | | | | | | | | | Follow up to 8b69f1e
* | | | Merge pull request #24549 from kamipo/fix_quoted_timeJeremy Daer2016-04-142-3/+12
|\ \ \ \ | | | | | | | | | | Should keep quoting behaivor of a time column value in sqlite3 adapter
| * | | | Should keep quoting behaivor of a time column value in sqlite3 adapterRyuta Kamizono2016-04-152-3/+12
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Follow up to #24542. In MySQL and PostgreSQL, a time column value is saved as ignored the date part of it. But in SQLite3, a time column value is saved as a string. We should keep previous quoting behavior in sqlite3 adapter. ``` sqlite> CREATE TABLE "foos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "start" time(0), "finish" time(4)); sqlite> INSERT INTO "foos" ("start", "finish") VALUES ('2000-01-01 12:30:00', '2000-01-01 12:30:00.999900'); sqlite> SELECT "foos".* FROM "foos"; 1|2000-01-01 12:30:00|2000-01-01 12:30:00.999900 sqlite> SELECT "foos".* FROM "foos" WHERE "foos"."start" = '2000-01-01 12:30:00' LIMIT 1; 1|2000-01-01 12:30:00|2000-01-01 12:30:00.999900 sqlite> SELECT "foos".* FROM "foos" WHERE "foos"."start" = '12:30:00' LIMIT 1; sqlite> ```
* | | | Merge pull request #24540 from sgrif/sg-actioncable-callbacksSean Griffin2016-04-142-5/+30
|\ \ \ \ | | | | | | | | | | Run Action Cable callbacks through the worker pool
| * | | | Run Action Cable callbacks through the worker poolSean Griffin2016-04-132-5/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Alternate implementation of #24162 with tests. The code had diverged too far on master to pull that implemenation directly. Fixes #23778 Close #24162 [Mattew Draper & Sean Griffin]
* | | | | Merge pull request #24454 from iangilfillan/masterVipul A M2016-04-144-13/+15
|\ \ \ \ \ | |_|/ / / |/| | | | MariaDB documentation [ci skip]
| * | | | MariaDB Documentationiangilfillan2016-04-144-13/+15
| | | | |
* | | | | Merge pull request #24542 from kamipo/add_quoted_timeJeremy Daer2016-04-133-1/+18
|\ \ \ \ \ | | | | | | | | | | | | Add `quoted_time` for truncating the date part of a time column value
| * | | | | Add `quoted_time` for truncating the date part of a time column valueRyuta Kamizono2016-04-143-1/+18
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Context #24522. TIME column on MariaDB doesn't ignore the date part of the string when it coerces to time. ``` root@localhost [test] > CREATE TABLE `foos` (`id` int AUTO_INCREMENT PRIMARY KEY, `start` time(0), `finish` time(4)) ENGINE=InnoDB; Query OK, 0 rows affected (0.02 sec) root@localhost [test] > INSERT INTO `foos` (`start`, `finish`) VALUES ('2000-01-01 12:30:00', '2000-01-01 12:30:00.999900'); Query OK, 1 row affected, 2 warnings (0.00 sec) Note (Code 1265): Data truncated for column 'start' at row 1 Note (Code 1265): Data truncated for column 'finish' at row 1 root@localhost [test] > SELECT `foos`.* FROM `foos`; +----+----------+---------------+ | id | start | finish | +----+----------+---------------+ | 1 | 12:30:00 | 12:30:00.9999 | +----+----------+---------------+ 1 row in set (0.00 sec) root@localhost [test] > SELECT `foos`.* FROM `foos` WHERE `foos`.`start` = '2000-01-01 12:30:00' LIMIT 1; Empty set (0.00 sec) root@localhost [test] > SELECT `foos`.* FROM `foos` WHERE `foos`.`start` = '12:30:00' LIMIT 1; +----+----------+---------------+ | id | start | finish | +----+----------+---------------+ | 1 | 12:30:00 | 12:30:00.9999 | +----+----------+---------------+ 1 row in set (0.00 sec) ```
* | | | | Merge pull request #24522 from vipulnsward/run-mariadb-on-travisJeremy Daer2016-04-133-4/+10
|\ \ \ \ \ | | | | | | | | | | | | Test against MariaDB 10.0
| * | | | | Include running mariadb on travisVipul A M2016-04-143-4/+10
| | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Specify we want to run on latest stable ruby for mariadb - change in runs of builds Make mariadb? method publicly available
* | | | | Merge pull request #24543 from prathamesh-sonpatki/fix-ap-changelogRichard Schneeman2016-04-131-2/+2
|\ \ \ \ \ | | | | | | | | | | | | [ci skip] Remove extra `so` from the Action Pack CHANGELOG
| * | | | | [ci skip] Remove extra `so` from the Action Pack CHANGELOGPrathamesh Sonpatki2016-04-141-2/+2
|/ / / / /
* | | | | Merge pull request #24533 from vipulnsward/nodoc-versionSean Griffin2016-04-131-1/+1
|\ \ \ \ \ | | | | | | | | | | | | :nodoc: version method.
| * | | | | :nodoc: version method.Vipul A M2016-04-131-1/+1
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reason: - Its not publicly used method. - Exposing it makes an assumption that other adapters support it based on its usage - ActiveRecord::Base.connection.version [ci skip]
* | | | | Merge pull request #24525 from tomkadwill/action-mailer-base-docs2Vipul A M2016-04-141-3/+3
|\ \ \ \ \ | | | | | | | | | | | | Update ActionMailer base documentation [ci skip]