Thanks for the response Matt. I agree about the StatementInvalid exception.
In fact in my case it happened in a query on a collection, so exactly as
you described.
However it can happen on a individual object as well. Correct it if I am
wrong, but ActiveRecord::InvalidForeignKey will also be raise
> On Dec 1, 2016, at 6:07 PM, Wael Khobalatte wrote:
>
> Hey,
>
> It would be useful to inspect the record in question every time an
> ActiveRecord exception is raised. This is currently possible with some
> (ActiveRecord::RecordNotSaved for instance), but not others. Any idea what
> the ra
Hi,
I'd love some feedback on whether it would be a good idea to change the
default omission for the Rails "truncate" and "excerpt" helpers from three
full stops ("...") to a Unicode ellipsis ("…").
I like how this only uses one character instead of three. Depending on the
font, it can use up