aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/errors.rb
Commit message (Expand)AuthorAgeFilesLines
* 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
* Merge pull request #17019 from yuki24/add-class-name-to-unknown-attr-errorYves Senn2014-10-201-1/+1
|\
| * AR::UnknownAttributeError should include the class name of a recordYuki Nishijima2014-10-151-1/+1
* | AR::UnknownAttributeError should include the class name of a recordYuki Nishijima2014-10-201-1/+1
|/
* s/variable supplied/value supplied [ci skip]Zachary Scott2014-06-131-2/+1
* Reword PreparedStatementInvalid example, and use values instead ofZachary Scott2014-06-131-4/+3
* Copy edits and code font wrap for Active Record [ci skip]Zachary Scott2014-06-131-15/+19