What I Did:
-Added include FactoryBot::Syntax::Methods to solve for NoMethodError: undefined methodcreate' for main:Object` error (Ref: FactoryBot docs)
Corrected creation of friendships (changed follower_id to follower and followee_id to followee)
Tests:
[x] Ran RSpec, 100 examples, 0 failures
[x] Checked Postico development database
Roadblocks:
Was not able to seed locally or on Heroku
Include FactoryBot in seeds file allows seeding locally; hopefully solves ability to seed on Heroku
Notes:
All events are created to be anywhere from 1..10 days in the future
What I Did: -Added
include FactoryBot::Syntax::Methods
to solve forNoMethodError: undefined method
create' for main:Object` error (Ref: FactoryBot docs)follower_id
tofollower
andfollowee_id
tofollowee
)Tests:
Roadblocks:
Notes: