Closed Hampei closed 8 years ago
+1
Same problems here when you have a simple ruby object with e.g. a date
method getting called:
class Foo
def initialize
date 'foo', 'bar'
end
def date(a, b)
...
end
end
... would get you Unhandled exception in YARD::Handlers::Ruby::ActiveRecord::Fields::FieldHandler: in 'app/models/foo.rb':3:
Could you try installing the plugin from the field-handler-issue
branch?
# Gemfile
...
gem 'yard-activerecord', github: 'theodorton/yard-activerecord', branch: 'field-handler-issue'
Works like a charm for me, thanks! ;-)
Anything preventing the merge of #26 into master? If yes, can I help in any way?
@mherold I'm merging this and pushing to Rubygems later today. I'll let you know.
@mherold merged, tagged as 0.0.16 and pushed to rubygems. sorry for the wait
@theodorton great, thanks! :heart:
I'm getting a whole bunch of exceptions in the output from active_interaction classes, since this plugin is trying to parse the files that are ActiveModelable. Can I specify files to be excluded/included for this plugin?
active_interaction classes look like: