Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | removing freeze | Aaron Patterson | 2010-10-11 | 1 | -3/+3 |
| | |||||
* | No need to use inject here. | Emilio Tagua | 2010-09-22 | 1 | -5/+5 |
| | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | Missing the mysql2 gem here | Santiago Pastorino | 2010-09-22 | 1 | -1/+1 |
| | |||||
* | Error message should advice to use 'mysql2' gem. | Neeraj Singh | 2010-09-22 | 1 | -2/+2 |
| | | | | | | | | | | | | | If I create a new app using command rails new demo -d mysql then Gemfile contains 'mysql2' gem by default. However if mysql gem is missing then error message says raise "!!! Missing the mysql gem. Add it to your Gemfile: gem 'mysql', '2.8.1'" [#5569 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | updates return number of rows matched rather than number of rows affected | Aaron Patterson | 2010-08-19 | 1 | -0/+1 |
| | |||||
* | Bug Fix -- clean up connection after stored procedure [#3151 state:resolved] | Jeff Lawson | 2010-08-17 | 1 | -1/+1 |
| | |||||
* | Bug Fix -- clean up connection after stored procedure [#3151 state:resolved] | Jeff Lawson | 2010-08-17 | 1 | -0/+2 |
| | |||||
* | Deletes trailing whitespaces (over text files only find * -type f -exec sed ↵ | Santiago Pastorino | 2010-08-14 | 1 | -1/+1 |
| | | | | 's/[ \t]*$//' -i {} \;) | ||||
* | standarizes the use of the article "an" for "SQL" and "SQLite" | Xavier Noria | 2010-08-05 | 1 | -1/+1 |
| | |||||
* | ensuring that description does not exceed 100 columns | Neeraj Singh | 2010-08-02 | 1 | -1/+2 |
| | |||||
* | Fixed many references to the old config/environment.rb and Rails::Initializer | Benjamin Quorning | 2010-07-13 | 1 | -1/+1 |
| | |||||
* | Remove block definition from method, is not needed since yield is used inside. | Emilio Tagua | 2010-06-24 | 1 | -1/+1 |
| | |||||
* | MySQL: require 2.7 or later so we can rely on result.each_hash | Jeremy Kemper | 2010-06-05 | 1 | -49/+8 |
| | |||||
* | Revert "Don't carry default value when changing column for a binary type on ↵ | Jeremy Kemper | 2010-05-18 | 1 | -5/+1 |
| | | | | | | | | | | | | | | MySQL" Broke mysql tests. This reverts commit edec1afe25014749f0e2df86d27477b45586a9e3. Conflicts: activerecord/test/cases/migration_test.rb [#3234 state:open] | ||||
* | Don't carry default value when changing column for a binary type on MySQL ↵ | Elomar França | 2010-05-16 | 1 | -1/+5 |
| | | | | | | [#3234 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Better code formatting and proper line numbers for stack traces | Neeraj Singh | 2010-05-14 | 1 | -15/+15 |
| | | | | | | [#4596 state:resolved] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Revert "Revert "Add index length support for MySQL [#1852 state:open]"" | Pratik Naik | 2010-05-09 | 1 | -1/+14 |
| | | | | This reverts commit 6626833db13a69786f9f6cd56b9f53c4017c3e39. | ||||
* | Revert "Add index length support for MySQL [#1852 state:open]" | José Valim | 2010-05-08 | 1 | -14/+1 |
| | | | | | | | | | | | | | This commit breaks dumping a few tables, as the sessions table. To reproduce, just create a new application and: rake db:sessions:create rake db:migrate rake db:test:prepare And then look at the db/schema.rb file (ht: Sam Ruby). This reverts commit 5b95730edc33ee97f53da26a3868eb983305a771. | ||||
* | Add index length support for MySQL [#1852 state:resolved] | Emili Parreno | 2010-05-08 | 1 | -1/+14 |
| | | | | | | | | | | | | Example: add_index(:accounts, :name, :name => 'by_name', :length => 10) => CREATE INDEX by_name ON accounts(name(10)) add_index(:accounts, [:name, :surname], :name => 'by_name_surname', :length => {:name => 10, :surname => 15}) => CREATE INDEX by_name_surname ON accounts(name(10), surname(15)) Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | adds missing requires for Object#blank? and Object#present? | Xavier Noria | 2010-03-28 | 1 | -0/+1 |
| | |||||
* | Revert "primary_key now supports :limit for MySQL". Break Sam Ruby app. | José Valim | 2010-03-27 | 1 | -16/+10 |
| | | | | | | To reproduce, start a new application, create a scaffold and run test suite. [#876 state:open] This reverts commit faeca694b3d4afebf6b623b493e86731e773c462. | ||||
* | primary_key now supports :limit for MySQL | Rizwan Reza | 2010-03-27 | 1 | -10/+16 |
| | | | | Signed-off-by: wycats <wycats@gmail.com> | ||||
* | Revert "primary_key now supports :limit. [#876 state:resolved]" since it ↵ | José Valim | 2010-03-27 | 1 | -16/+10 |
| | | | | | | broke AR test suite. This reverts commit 41e5c7ed44fedb95636ef9b7a792c46ea03309bd. | ||||
* | primary_key now supports :limit. [#876 state:resolved] | Rizwan Reza | 2010-03-27 | 1 | -10/+16 |
| | | | | Signed-off-by: wycats <wycats@gmail.com> | ||||
* | Better MySQL Error message. [#3775 state:resolved] | Rizwan Reza | 2010-03-26 | 1 | -1/+1 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Add add_limit_offset! to adapters. | Emilio Tagua | 2010-03-25 | 1 | -0/+12 |
| | |||||
* | Silenced "SHOW FIELDS" and "SET SQL_AUTO_IS_NULL=0" statements from the ↵ | David Heinemeier Hansson | 2010-02-06 | 1 | -4/+8 |
| | | | | MySQL driver to improve log signal to noise ration in development [DHH] | ||||
* | Expose connections available in the connection pool. | José Valim | 2010-01-11 | 1 | -0/+2 |
| | |||||
* | Add support for Mysql column positioning via #add_column and #change_column | Ben Marini | 2009-12-03 | 1 | -0/+15 |
| | | | | | | | | | | | | | | add_column and change_column in the Mysql adapter now accept some additional options: :first => true # Put the column in front of all the columns :after => column_name # Put the colmn after 'column_name' add_column :new_col, :string, :first => true add_column :another_col, :integer, :default => 0, :after => :new_col [#3286 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Merge commit 'rails/master' | Emilio Tagua | 2009-09-21 | 1 | -1/+4 |
|\ | |||||
| * | Enable use of MySQL stored procedures by default. | Justin Bailey | 2009-09-17 | 1 | -1/+4 |
| | | | | | | | | | | | | [#3204 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | | Merge commit 'rails/master' | Emilio Tagua | 2009-09-14 | 1 | -1/+2 |
|\| | |||||
| * | Ruby 1.9 compat: corrected instance_methods check | sdsykes | 2009-09-13 | 1 | -1/+2 |
| | | | | | | | | | | | | [#3156 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | | Merge commit 'rails/master' | Emilio Tagua | 2009-08-10 | 1 | -8/+17 |
|\| | | | | | | | | | | | | | Conflicts: activerecord/lib/active_record/calculations.rb activerecord/lib/active_record/connection_adapters/mysql_adapter.rb activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb | ||||
| * | raises exception (ActiveRecord::ConfigurationError with message) on habtm ↵ | Jaime Bellmyer | 2009-08-09 | 1 | -0/+10 |
| | | | | | | | | | | | | association creation if join table contains a primary key Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
| * | AR should respect default values for MySQL BINARY and VARBINARY columns. | Jatinder Singh | 2009-08-09 | 1 | -2/+2 |
| | | | | | | | | | | | | [#1273 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
| * | No longer require database name for MySQL to allow cross database selects. | Tristan Dunn | 2009-08-09 | 1 | -6/+1 |
| | | | | | | | | | | | | [#1122 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
| * | Allow connect_timeout, read_timeout and write_timeout settings for MySQL ↵ | Matt Conway | 2009-08-09 | 1 | -0/+4 |
| | | | | | | | | | | | | [#2544 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | | Merge commit 'rails/master' | Emilio Tagua | 2009-06-30 | 1 | -0/+13 |
|\| | | | | | | | | | Conflicts: activerecord/test/cases/adapter_test.rb | ||||
| * | Make sure the wrapped exceptions also have the original exception available. | Michael Koziarski | 2009-06-26 | 1 | -2/+2 |
| | | | | | | | | [#2419 state:committed] | ||||
| * | Translate foreign key violations to ActiveRecord::InvalidForeignKey exceptions. | Michael Schuerig | 2009-06-26 | 1 | -0/+2 |
| | | | | | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> | ||||
| * | Translate adapter errors that indicate a violated uniqueness constraint to ↵ | Michael Schuerig | 2009-06-26 | 1 | -0/+11 |
| | | | | | | | | | | | | ActiveRecord::RecordNotUnique exception derived from ActiveReecord::StatementInvalid. Signed-off-by: Michael Koziarski <michael@koziarski.com> | ||||
* | | Removed unused methods. | Emilio Tagua | 2009-06-23 | 1 | -12/+0 |
| | | |||||
* | | Refactors to work with latest Arel implementation. | Emilio Tagua | 2009-06-02 | 1 | -0/+1 |
| | | |||||
* | | Merge commit 'rails/master' | Emilio Tagua | 2009-05-18 | 1 | -0/+1 |
|\| | | | | | | | | | | | | | | | Conflicts: activerecord/lib/active_record/base.rb activerecord/lib/active_record/migration.rb activerecord/test/cases/helper.rb | ||||
| * | Cherry-pick core extensions | Jeremy Kemper | 2009-05-13 | 1 | -0/+1 |
| | | |||||
* | | construct_finder_sql now use Arel | Emilio Tagua | 2009-04-24 | 1 | -1/+1 |
|/ | |||||
* | Mysql#reconnect is set according to the 'reconnect' key in the connection spec. | Dov Murik | 2009-01-27 | 1 | -2/+5 |
| | | | | | | | | | | | | The 'reconenct' boolean option is read from the connection specification and is used to set the reconnect attribute of Mysql. The default is false in order not to change existing application behaviour. Also, reconnect is set AFTER real_connect is called, so its value sticks (the mysql gem sets reconnect to false inside real_connect). Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1797 state:committed] | ||||
* | Merge branch 'master' into savepoints | Jeremy Kemper | 2009-01-10 | 1 | -15/+26 |
|\ | |||||
| * | Inline code comments for class_eval/module_eval [#1657 state:resolved] | Xavier Noria | 2008-12-28 | 1 | -11/+13 |
| | | | | | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> |