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

Test console factory girl #169

Merged
merged 2 commits into from Mar 5, 2015

Conversation

dirkkelly
Copy link
Contributor

When loading the console on Heroku the lack of FactoryGirl caused a missing library exception.

This adds an environmentally conditional require around the factorygirl library in the console rake command.

This has been merged on BetaNYC#44 and is running at https://citygram-nyc-codeforamerica.herokuapp.com/new-york

@bigfleet
Copy link
Contributor

bigfleet commented Mar 3, 2015

@dirkkelly I'm likely to merge this, but can you clue me in on when you're using this and how?

@dirkkelly
Copy link
Contributor Author

@bigfleet I'm using the console locally to add publishers, an example: BetaNYC#41 (comment)

local$ bundle exec rake console
> Publisher.count

@bigfleet
Copy link
Contributor

bigfleet commented Mar 5, 2015

Psh, no brainer then.

bigfleet added a commit that referenced this pull request Mar 5, 2015
Enables rake console in dev environment
@bigfleet bigfleet merged commit 92be0e3 into codeforamerica:master Mar 5, 2015
@dirkkelly dirkkelly deleted the test-console-factory-girl branch July 19, 2015 22:45
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

Successfully merging this pull request may close these issues.

None yet

3 participants