-
Notifications
You must be signed in to change notification settings - Fork 21
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
Panda Level: add a preview and an outcome to the page #12
base: master
Are you sure you want to change the base?
Conversation
Regarding a preview: it should be a couple of words so you can make a choice. If the full page text is
Then a preview could be
|
@jwo updated with Eagle. |
@@ -5,7 +5,7 @@ def self.starting_point | |||
end | |||
|
|||
def options | |||
Page.where(:parent_id => id).limit(2) | |||
Page.find(option_a_id, option_b_id) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good use of find with an array :)
Most excellent submission! |
Hi @jwo,
I want to submit just panda right now since I'm not entirely clear on what you mean by
Preview
. It's capitalized in the readme so I wasn't sure if you were implying to create a new class or not. I looked and didn't see a reason for a new class. Am I missing something?