Christopher David Yudichak

Results 6 comments of Christopher David Yudichak

Migration: ``` t.integer :invitation_limit, :default => 0 ``` Schema: ``` t.integer "invitation_limit", :default => 0 ``` Console: ``` irb(main):001:0> User.invitation_limit.class => Fixnum irb(main):002:0> User.first.invitation_limit.class User Load (18.7ms) SELECT "users".* FROM...

I've got 5 set in the initializer, 0 set on all users in db. The plan is to not allow invites unless I set the limit to nil on a...

Interestingly, it's fine from the console: ``` irb(main):004:0> User.first.has_invitations_left? User Load (4.9ms) SELECT "users".* FROM "users" LIMIT 1 => false irb(main):005:0> User.first.invitation_limit User Load (8.3ms) SELECT "users".* FROM "users" LIMIT...

Any chance you got this working? I'm having a similar problem.

Just an update, I've since copied the contents of the Resources directory to my project, and I'm past this error. Hopefully, that's of help to someone. hehe

It's been quite a while, but I believe I just copied the `tessdata` directory that's part of this repo's `resources` directory into the `resources` directory of my project. But that...