Skip to content

to_hash method on BankAccount #8

@tdenovan

Description

@tdenovan

Hi

Should line 24 of bank_account.rb have an each, e.g. currently it is

    self.class.attributes {|attribute| value = send(attribute); hash[attribute] = value if value}

Should it instead be:

    self.class.attributes.each {|attribute| value = send(attribute); hash[attribute] = value if value}

Cheers

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions