This project is archived and is in readonly mode.

#3830 ✓committed
Subba

Removing , from WrappedDatabaseException constructor method

Reported by Subba | February 1st, 2010 @ 04:58 AM

When i am looking through the rails activerecord base code i observerved ,= statement as shown below. at line 85 of activerecord/lib/active_record/base.rb

class WrappedDatabaseException < StatementInvalid

attr_reader :original_exception

def initialize(message, original_exception)
  super(message)
  @original_exception, = original_exception
end

end

I am submitting patch to remove the comma.

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>

Attachments

Referenced by

Pages