Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unused mandatory method argument 'should_type_cast' #5

Open
ohaddahan opened this issue Sep 6, 2018 · 1 comment
Open

Unused mandatory method argument 'should_type_cast' #5

ohaddahan opened this issue Sep 6, 2018 · 1 comment

Comments

@ohaddahan
Copy link

def write_attribute_with_type_cast(attr_name, value, should_type_cast)

def write_attribute_with_type_cast(attr_name, value, should_type_cast)
        @attributes[attr_name.to_sym] = value
      end

The argument should_type_cast is a mandatory method argument, but it's not used.

@Paxa
Copy link
Owner

Paxa commented Nov 29, 2018

write_attribute_with_type_cast is used in rails, but light_record don't do type casting at all.
This just overrides method to skip type casting. I don't want to call that method

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants