Skip to content

Conversation

@pschambacher
Copy link
Contributor

I think this call was missed when moving the on_shard method out of AR::Base and making the default not_sharded.

/cc @bquorning @grosser @jacobat

Copy link
Contributor

@grosser grosser left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tests would be great :D

@jacobat
Copy link
Contributor

jacobat commented Dec 11, 2017

I agree, tests would be great. How do we test rake tasks?

@grosser
Copy link
Contributor

grosser commented Dec 11, 2017 via email

@pschambacher
Copy link
Contributor Author

What I tend to do is write what I need in lib and simply make a method call in the rake task. Basically avoiding any logic in the rakefile.

@pschambacher
Copy link
Contributor Author

It's more complicated than anticipated since environment is not a defined task...

@jacobat
Copy link
Contributor

jacobat commented Dec 13, 2017

Basically avoiding any logic in the rakefile.

💯

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants