aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/errors.rb
Commit message (Expand)AuthorAgeFilesLines
* Better error message for calling columns_hashGuilherme Mansur2019-06-191-0/+4
* Replace “can not” with “cannot”.Samantha John2019-03-061-1/+1
* Fix the regex that extract mismatched foreign key informationRyuta Kamizono2019-02-171-12/+17
* Rename error that occurs when writing on a readEileen Uchitelle2018-12-071-0/+4
* Redact SQL in errorsGannon McGibbon2018-11-221-3/+7
* MySQL: Raise ActiveRecord::InvalidForeignKey for foreign-key constraint viola...George Claghorn2018-07-301-1/+2
* Fix frozen string concatenation by indicating that it's mutableRafael Mendonça França2018-02-161-2/+2
* Remove usage of strip_heredoc in the framework in favor of <<~Rafael Mendonça França2018-02-161-2/+2
* Add new error class `QueryCanceled` which will be raised when canceling state...Ryuta Kamizono2017-11-271-0/+4
* Rename `TransactionTimeout` to more descriptive `LockWaitTimeout` (#31223)Ryuta Kamizono2017-11-271-2/+2
* Merge pull request #27947 from mastahyeti/unsafe_raw_sqlMatthew Draper2017-11-141-0/+25
|\
| * allow Arel.sql() for pluckBen Toews2017-11-091-0/+25
* | Add new error class `StatementTimeout` which will be raised when statement ti...Ryuta Kamizono2017-11-131-2/+5
|/
* Add TransactionTimeout for MySQL error code 1205Gabriel Courtemanche2017-08-221-0/+5
* [ci skip] Postgres --> PostgreSQLRyuta Kamizono2017-08-081-1/+1
* Change http postgresql.org links to https [ci skip]yuuji.yaginuma2017-07-301-1/+1
* Use frozen-string-literal in ActiveRecordKir Shatrov2017-07-191-0/+2
* Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"Matthew Draper2017-07-021-1/+0
* Enforce frozen string in RubocopKir Shatrov2017-07-011-0/+1
* [ci skip] UNIQUE constraint affects not only INSERT but also UPDATERyuta Kamizono2017-06-061-1/+1
* Remove original_exception from ActiveRecord::StatementInvalidRafael Mendonça França2016-12-291-11/+1
* Translate numeric value out of range to the specific exceptionRyuta Kamizono2016-12-061-0/+4
* Merge pull request #25451 from kamipo/translate_not_null_violation_to_specifi...Sean Griffin2016-12-061-0/+4
|\
| * Translate NOT NULL violation to the specific exceptionRyuta Kamizono2016-12-061-0/+4
* | Should inherit `StatementInvalid` rather than `WrappedDatabaseException`Ryuta Kamizono2016-12-061-1/+1
|/
* Make pg adapter use bigserial for pk by defaultPavel Pravosud2016-12-051-0/+28
* Add missing `+` around a some literals.bogdanvlviv2016-10-271-1/+1
* applies remaining conventions across the projectXavier Noria2016-08-061-3/+0
* The problem isn't the detection but the deadlock itselfDavid Heinemeier Hansson2016-08-041-2/+2
* Merge pull request #25107 from Erol/introduce-new-ar-transaction-error-classesRafael Mendonça França2016-08-031-2/+12
|\
| * Introduce new ActiveRecord transaction error classesErol Fornoles2016-05-241-2/+12
* | `TransactionSerializationError` should inherit `StatementInvalid` for backwar...Ryuta Kamizono2016-08-021-1/+1
|/
* Add AR::TransactionSerializationError for transaction serialization failures ...Erol Fornoles2016-05-211-0/+10
* Merge pull request #23522 from kamipo/add_value_too_long_exception_classJeremy Daer2016-04-181-0/+4
|\
| * Add `ActiveRecord::ValueTooLong` exception classRyuta Kamizono2016-02-061-0/+4
* | Merge pull request #22170 from samphilipd/sam/properly_deallocate_prepared_st...Matthew Draper2016-03-021-0/+5
|\ \ | |/ |/|
| * Correctly deallocate prepared statements if we fail inside a transactionSam Davies2015-11-051-0/+5
* | Introduce ActiveRecord::IrreversibleOrderErrorBogdan Gusiev2016-01-271-0/+5
* | Remove legacy mysql adapterRyuta Kamizono2015-12-211-1/+1
|/
* Deprecate exception#original_exception in favor of exception#causeYuki Nishijima2015-11-031-4/+12
* applies new doc guidelines to Active Record.Yves Senn2015-10-141-18/+28
* Make ActiveRecordException descendants args optionalPavel Pravosud2015-09-071-15/+23
* uniqueness validation raises error for persisted record without pk.Yves Senn2015-08-201-3/+4
* Extra caller details added to ActiveRecord::RecordNotFoundSameer Rahmani2015-07-211-0/+9
* AR::RecordNotSaved & RecordNotDestroyed should include an error messageYuki Nishijima2015-05-011-2/+2
* Follow-up to #10776Robin Dupret2015-02-261-4/+2
* Extracted `ActiveRecord::AttributeAssignment` to `ActiveModel::AttributesAssi...Bogdan Gusiev2015-01-231-12/+4
* Fix a bug where AR::RecordNotSaved loses error messagesYuki Nishijima2014-11-271-2/+2
* various error classes: added newlines & removed :nodoc: flag from public attr...Recursive Madman2014-11-261-0/+2
* Add #record attribute to RecordNotFound and RecordDestroyed exceptions.Recursive Madman2014-11-261-0/+19