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

WIP #18

Open
wants to merge 19 commits into
base: master
Choose a base branch
from
Open

WIP #18

wants to merge 19 commits into from

Conversation

nlegg
Copy link

@nlegg nlegg commented Oct 21, 2015

I think this is mostly done. There is no styling of any kind so the UI is rather plain. I suspect there are large swaths of tests that could be added.

P. S. I had to run rake db:seed RAILS_ENV=test before the rspec suite would run successfully due to the way I did authentication.

@jaybobo @mikegee


private
def make_short_url
self.short_url = SecureRandom.hex(4) if self.short_url.nil? || self.short_url.empty?
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ActiveSupport adds a blank? method to all objects which helps a bit here.

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.

2 participants