Matt Huggins
Matt Huggins
No worries, I'll take a look at this as soon as I have some free time at home. I'll add a test case for it too so it doesn't regress.
Yeah, that's the intention of the `:methods` option on the `inherits_from` call. I will say though that I created this gem for Rails 3.x, and the internals have changed quite...
With that said, I'm definitely open to updates on the gem to make it work, but it's not something I have time for or actually need right now to be...
Where is `training_completed_at` defined?
Okay, I can explain what is going on. The `give_date` method is properly being delegated to the `Employee` object, but then the `Employee` object tries to call `training_completed_at` on itself....
This sounds like something that can't (currently) be done in the approach you're taking, in that there's no existing method to access the child from the parent. Either this method...
Check out the last section of the README named "Methods": > When inheriting from another parent model, methods can optionally be called on the parent model automatically as well. To...
Can you include the whole stack trace?
If you include the relevant code where you call `.rows` along with full stack trace, I might be able to help take a look.
The error message also makes it sound like there might be an issue with the association on `Item` itself since [that is a Rails error](https://github.com/armstrjare/rails/blob/3-1-stable/activerecord/lib/active_record/associations/join_dependency.rb#L112). Instead of directly calling `invoice.rows`,...