Skip to content

Panda,tiger and eagle - #11

Open
noahpatterson wants to merge 4 commits into
RubyoffRails:masterfrom
noahpatterson:master
Open

Panda,tiger and eagle#11
noahpatterson wants to merge 4 commits into
RubyoffRails:masterfrom
noahpatterson:master

Conversation

@noahpatterson

Copy link
Copy Markdown
Contributor

No description provided.

Comment threadlib/place.rb

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

You can set a default value for a hash.fetch -- so you could do the following. If there's a name, it'll use it. Otherwise, use an address.

p.name=options.fetch(:name,address)

@jwo

jwo commented Jan 27, 2014

Copy link
Copy Markdown
Member

Superb job!

Comment threadspec/spec_helper.rb

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

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

I don't know if you edit videos post production, but I was beginning to hit some Query limits when running tests and the benchmark. I had to make these stubs to get it to work.

Sign up for freeto 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

@noahpatterson@jwo