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

"milestones" method not working for projects #12

Open
stiang opened this issue Aug 27, 2012 · 0 comments
Open

"milestones" method not working for projects #12

stiang opened this issue Aug 27, 2012 · 0 comments

Comments

@stiang
Copy link

stiang commented Aug 27, 2012

There appears to be something wrong with the "milestones" methods for individual projects:

>> p.milestones
ArgumentError: expected an attributes Hash, got "1"
    from /Library/Ruby/Gems/1.8/gems/activeresource-3.0.14/lib/active_resource/base.rb:1217:in `load'
    from /Library/Ruby/Gems/1.8/gems/activeresource-3.0.14/lib/active_resource/base.rb:965:in `initialize'
    from /Library/Ruby/Gems/1.8/gems/activeresource-3.0.14/lib/active_resource/base.rb:889:in `new'
    from /Library/Ruby/Gems/1.8/gems/activeresource-3.0.14/lib/active_resource/base.rb:889:in `instantiate_record'
    from /Library/Ruby/Gems/1.8/gems/activeresource-3.0.14/lib/active_resource/base.rb:885:in `instantiate_collection'
    from /Library/Ruby/Gems/1.8/gems/activeresource-3.0.14/lib/active_resource/base.rb:885:in `collect!'
    from /Library/Ruby/Gems/1.8/gems/activeresource-3.0.14/lib/active_resource/base.rb:885:in `instantiate_collection'
    from /Library/Ruby/Gems/1.8/gems/activeresource-3.0.14/lib/active_resource/base.rb:857:in `find_every'
    from /Library/Ruby/Gems/1.8/gems/activeresource-3.0.14/lib/active_resource/base.rb:777:in `find'
    from /Library/Ruby/Gems/1.8/gems/lighthouse-api-2.0/lib/lighthouse/project.rb:55:in `milestones'

Do you have a quick fix for this? If not, I can do some investigating on my own.

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

1 participant