ConsultingMD / activerecord5-redshift-adapter

Other
45 stars 155 forks source link

ArgumentError: wrong number of arguments on Rails 5.2.2 #23

Open andyklimczak opened 5 years ago

andyklimczak commented 5 years ago

Rails 5.2.2 Activerecord 5.2.2 Ruby 2.5.1

Was working with activerecord4-redshift-adapter. Thinking it's a config value issue, but not sure

 ArgumentError: wrong number of arguments (given 3, expected 2)
/usr/local/bundle/gems/activerecord5-redshift-adapter-1.0.1/lib/active_record/connection_adapters/redshift/schema_definitions.rb:57:in `create_column_definition'
/usr/local/bundle/gems/activerecord-5.2.2/lib/active_record/connection_adapters/abstract/schema_definitions.rb:422:in `new_column_definition'
/usr/local/bundle/gems/activerecord-5.2.2/lib/active_record/connection_adapters/abstract/schema_definitions.rb:366:in `column'
/usr/local/bundle/gems/activerecord-5.2.2/lib/active_record/connection_adapters/abstract/schema_definitions.rb:232:in `block in string'
/usr/local/bundle/gems/activerecord-5.2.2/lib/active_record/connection_adapters/abstract/schema_definitions.rb:232:in `each'
/usr/local/bundle/gems/activerecord-5.2.2/lib/active_record/connection_adapters/abstract/schema_definitions.rb:232:in `string'
/usr/local/bundle/gems/activerecord-5.2.2/lib/active_record/internal_metadata.rb:37:in `block in create_table'
/usr/local/bundle/gems/activerecord-5.2.2/lib/active_record/connection_adapters/abstract/schema_statements.rb:305:in `create_table'
/usr/local/bundle/gems/activerecord-5.2.2/lib/active_record/internal_metadata.rb:36:in `create_table'
/usr/local/bundle/gems/activerecord-5.2.2/lib/active_record/migration.rb:1188:in `initialize'
/usr/local/bundle/gems/activerecord-5.2.2/lib/active_record/migration.rb:1036:in `new'
/usr/local/bundle/gems/activerecord-5.2.2/lib/active_record/migration.rb:1036:in `up'
/usr/local/bundle/gems/activerecord-5.2.2/lib/active_record/migration.rb:1011:in `migrate'
/usr/local/bundle/gems/activerecord-5.2.2/lib/active_record/tasks/database_tasks.rb:172:in `migrate'
/usr/local/bundle/gems/activerecord-5.2.2/lib/active_record/railties/databases.rake:60:in `block (2 levels) in <main>'
/usr/local/bundle/gems/secondbase-2.1.6/lib/second_base/databases.rake:37:in `block (4 levels) in <main>'
/usr/local/bundle/gems/secondbase-2.1.6/lib/second_base/on_base.rb:23:in `on_base'
/usr/local/bundle/gems/secondbase-2.1.6/lib/second_base/databases.rake:37:in `block (3 levels) in <main>'
/usr/local/bundle/gems/secondbase-2.1.6/lib/second_base/databases.rake:143:in `block (2 levels) in <main>' 
gupsydaisys commented 5 years ago

You need to talk to IT about having past employees getting these notifications. This is a privacy concern for Grand Rounds and might require infosec!

On Mon, Dec 17, 2018 at 11:00 AM Andy Klimczak notifications@github.com wrote:

Rails 5.2.2 Ruby 2.5.1

Was working with activerecord4-redshift-adapter. Thinking it's a config value issue, but not sure

ArgumentError: wrong number of arguments (given 3, expected 2) /usr/local/bundle/gems/activerecord5-redshift-adapter-1.0.1/lib/active_record/connection_adapters/redshift/schema_definitions.rb:57:in create_column_definition' /usr/local/bundle/gems/activerecord-5.2.2/lib/active_record/connection_adapters/abstract/schema_definitions.rb:422:innew_column_definition' /usr/local/bundle/gems/activerecord-5.2.2/lib/active_record/connection_adapters/abstract/schema_definitions.rb:366:in column' /usr/local/bundle/gems/activerecord-5.2.2/lib/active_record/connection_adapters/abstract/schema_definitions.rb:232:inblock in string' /usr/local/bundle/gems/activerecord-5.2.2/lib/active_record/connection_adapters/abstract/schema_definitions.rb:232:in each' /usr/local/bundle/gems/activerecord-5.2.2/lib/active_record/connection_adapters/abstract/schema_definitions.rb:232:instring' /usr/local/bundle/gems/activerecord-5.2.2/lib/active_record/internal_metadata.rb:37:in block in create_table' /usr/local/bundle/gems/activerecord-5.2.2/lib/active_record/connection_adapters/abstract/schema_statements.rb:305:increate_table' /usr/local/bundle/gems/activerecord-5.2.2/lib/active_record/internal_metadata.rb:36:in create_table' /usr/local/bundle/gems/activerecord-5.2.2/lib/active_record/migration.rb:1188:ininitialize' /usr/local/bundle/gems/activerecord-5.2.2/lib/active_record/migration.rb:1036:in new' /usr/local/bundle/gems/activerecord-5.2.2/lib/active_record/migration.rb:1036:inup' /usr/local/bundle/gems/activerecord-5.2.2/lib/active_record/migration.rb:1011:in migrate' /usr/local/bundle/gems/activerecord-5.2.2/lib/active_record/tasks/database_tasks.rb:172:inmigrate' /usr/local/bundle/gems/activerecord-5.2.2/lib/active_record/railties/databases.rake:60:in block (2 levels) in &lt;main&gt;' /usr/local/bundle/gems/secondbase-2.1.6/lib/second_base/databases.rake:37:inblock (4 levels) in <main>' /usr/local/bundle/gems/secondbase-2.1.6/lib/second_base/on_base.rb:23:in on_base' /usr/local/bundle/gems/secondbase-2.1.6/lib/second_base/databases.rake:37:inblock (3 levels) in <main>' /usr/local/bundle/gems/secondbase-2.1.6/lib/second_base/databases.rake:143:in `block (2 levels) in <main>'

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ConsultingMD/activerecord5-redshift-adapter/issues/23, or mute the thread https://github.com/notifications/unsubscribe-auth/AFT4xfSSO0Az7MFKlX4fd8KZacst_MINks5u5-nigaJpZM4ZW8lY .

soonahn commented 5 years ago

@gupsydaisys so 1) This project is actually public and many people outside of GR use it. I believe OP is a non GR employee who has an actual issue with the repo. 2) It's a lot easier to just ignore the emails, or just reply to them hilariously once in a while.

gupsydaisys commented 5 years ago

Yup, my bad. Unsubscribed. Thanks.

On Mon, Dec 17, 2018 at 4:21 PM Justin Ahn notifications@github.com wrote:

@gupsydaisys https://github.com/gupsydaisys so

  1. This project is actually public and many people outside of GR use it. I believe OP is a non GR employee who has an actual issue with the repo.
  2. It's a lot easier to just ignore the emails, or just reply to them hilariously once in a while.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ConsultingMD/activerecord5-redshift-adapter/issues/23#issuecomment-448049375, or mute the thread https://github.com/notifications/unsubscribe-auth/AFT4xQPhGC_jhmosQbf8J5LdMgMxZEwIks5u6DUDgaJpZM4ZW8lY .