Skip to content

Pluralize isn't working #21

@roseaboveit

Description

@roseaboveit

When I attempt to run rake -T to see the list of rake tasks that I now have with timecapsule included, I get the following error.

NoMethodError: undefined method `pluralize' for "ability":String
/Users/whitneylevis/.rvm/gems/ruby-2.1.7@places2be/bundler/gems/timecapsule-845d6fa1a427/lib/timecapsule/tasks.rb:6:in `block (2 levels) in <top (required)>'
/Users/whitneylevis/.rvm/gems/ruby-2.1.7@places2be/bundler/gems/timecapsule-845d6fa1a427/lib/timecapsule/tasks.rb:4:in `each'
/Users/whitneylevis/.rvm/gems/ruby-2.1.7@places2be/bundler/gems/timecapsule-845d6fa1a427/lib/timecapsule/tasks.rb:4:in `block in <top (required)>'
/Users/whitneylevis/.rvm/gems/ruby-2.1.7@places2be/bundler/gems/timecapsule-845d6fa1a427/lib/timecapsule/tasks.rb:1:in `<top (required)>'
/Users/whitneylevis/NIRD/places2be/Rakefile:3:in `require'
/Users/whitneylevis/NIRD/places2be/Rakefile:3:in `<top (required)>'
/Users/whitneylevis/.rvm/gems/ruby-2.1.7@places2be/bin/ruby_executable_hooks:15:in `eval'
/Users/whitneylevis/.rvm/gems/ruby-2.1.7@places2be/bin/ruby_executable_hooks:15:in `<main>'
(See full trace by running task with --trace)

Poking around in irb, it seems that pluralize isn't working there, but it does work in rails console.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions