Remarkable active record association

10 views
Skip to first unread message

Awlad Hossain

unread,
Nov 18, 2012, 12:26:27 PM11/18/12
to remarka...@googlegroups.com
'm using gem Remarkable activerecord for association. i've installed remarkable and remarkable activerecrod both gem. i've added both gem in my Gemfile. i've added "remarkable_activerecord" as required in spec_helper.rb.

                describe Authentication do
                 FactoryGirl.build(:authentication).should belong_to(:user) 
                end
i got error: Authentication Failure/Error: it { should belong_to(:user) } NoMethodError: undefined method `belong_to' for #. i can't get access in any activerecord methods or validations.

what should be done now..?? thanks in advance
Reply all
Reply to author
Forward
0 new messages