# Working more efficiently in RoR

**URL:** <https://www.ruby-forum.com/t/working-more-efficiently-in-ror/140078>\
**Category:** Rails\
**Created:** [June 10, 2008, 5:25pm UTC](https://www.ruby-forum.com/t/working-more-efficiently-in-ror/140078 "2008-06-10T17:25:14Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Elizabeth\_B](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/edb3f5/32.png) [@Elizabeth\_B](https://www.ruby-forum.com/u/Elizabeth_B)\
**Post date:** [June 10, 2008, 5:25pm UTC](https://www.ruby-forum.com/t/working-more-efficiently-in-ror/140078/1 "2008-06-10T17:25:14Z")

</div>

This may be a useful tool to better understand & find RoR concepts:

[http://www.yoyobrain.com/cardboxes/preview/863](http://www.yoyobrain.com/cardboxes/preview/863)

Add flashcards to your studies then click on cram with the learning  
wizard…

We’re building this site to improve learning, so feedback on  
improvements and how to get this into the hands of developers is much  
appreciated. Feel free to email me too.

Best,

Elizabeth

---

<div class="post-metadata">

**Author:** ![Elizabeth\_B](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/edb3f5/32.png) [@Elizabeth\_B](https://www.ruby-forum.com/u/Elizabeth_B)\
**Post date:** [June 10, 2008, 5:51pm UTC](https://www.ruby-forum.com/t/working-more-efficiently-in-ror/140078/2 "2008-06-10T17:51:08Z")

</div>

I guess there are many ways of learning and it may depend on a  
developers individual preferences, which way he may like. But  
I’m sorry to say, that I really don’t see much in this concept  
of repetitive memorizing of singular facts.

This may be a wonderful tool for students who have to prepare  
for tests, where such questions are likely to be asked, but everyday  
learning as you have to do as a developer works different

(my humble opinion)

minor technical issue:  
If the answer text doesn’t fit in the frame, it’s not possible to  
scroll  
it, since you’re bound to keep the mouse over the flip button.

---

<div class="post-metadata">

**Author:** ![Elizabeth\_B](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/edb3f5/32.png) [@Elizabeth\_B](https://www.ruby-forum.com/u/Elizabeth_B)\
**Post date:** [June 10, 2008, 5:57pm UTC](https://www.ruby-forum.com/t/working-more-efficiently-in-ror/140078/3 "2008-06-10T17:57:40Z")

</div>

Hi Thorsten,

I appreciate your feedback. Some background- the idea for  
[yoyobrain.com](http://yoyobrain.com) came from Will Bunker ([match.com](http://match.com)) who built the site to  
help him switch from .net to web 2.0, because drilling with the  
flashcards allowed him to work more efficiently so he didn’t have to  
look things up all the time… This method may work for some  
developers, may not? I agree, the scrolling is important- we’re going  
to work on that. The key feature of the site is the learning wizard  
that will drill you on flashcards, but people seem to not find it when  
they’re on the site. Any suggestions on improving that usability  
aspect?

Thank you much,

Elizabeth

---

<div class="post-metadata">

**Author:** ![Elizabeth\_B](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/edb3f5/32.png) [@Elizabeth\_B](https://www.ruby-forum.com/u/Elizabeth_B)\
**Post date:** [June 10, 2008, 6:52pm UTC](https://www.ruby-forum.com/t/working-more-efficiently-in-ror/140078/4 "2008-06-10T18:52:58Z")

</div>

On Jun 10, 5:56 pm, Elizabeth B. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

> Hi Thorsten,
> 
> I appreciate your feedback. Some background- the idea for  
> [yoyobrain.com](http://yoyobrain.com) came from Will Bunker ([match.com](http://match.com)) who built the site to  
> help him switch from .net to web 2.0, because drilling with the  
> flashcards allowed him to work more efficiently so he didn’t have to  
> look things up all the time… This method may work for some  
> developers, may not?

Yes, I agree. As mentioned I can speak only for myself and out of  
practical experience.

> I agree, the scrolling is important- we’re going  
> to work on that.

It’s a minor issue. Allowing to click the flip button and fix the card  
would do.

> The key feature of the site is the learning wizard  
> that will drill you on flashcards, but people seem to not find it when  
> they’re on the site. Any suggestions on improving that usability  
> aspect?

Only to add a very large text at top of the page 🙂

I just played around with it and came up with some points:

The questions are very short. It sometimes happened to me, that I  
didn’t get the idea out of the question, but found that I would have  
known the answer.  
Maybe the questions could be enhanced with some real code  
examples, where the part that has to be answered is replaced  
with question marks.

The answers are often not very helpful. Just stating syntax or  
commands won’t make anybody a developer. The answers should  
explain the usage and maybe link to further documentation.  
(and some code examples)

example:  
question: How do you search for a record by field value in table?  
answer: TableName.find\_by\_fieldname(‘value’)

I often answered questions here in this forum that way. Only  
to find, that people (mainly beginners) don’t get it. The unavoidable  
next question is:  
I typed TableName.find\_by\_fieldname(‘value’) in my code and got  
this or that error, because they copied exactly that code.  
You must explain, that TableName must be replaced by the name  
of the model in use and fieldname by the name of the field  
(Really! 😉  
By the way the answer isn’t accurate, it should be  
Model.find\_by\_fieldname(‘value’)  
since tablenames are plural and lowercase while models  
are named singular and uppercase

Another example: Questions about Model relationship.  
It’s nice to know, that belongs\_to defines a relation.  
But there should be some info, how to set up the database tables  
for that  
Or maybe questions could be chained?  
Q: How define a many-to-one relationship?  
A: :belongs\_to / has\_many  
Q2: What column does the many side need?  
A2: modelname\_id  
Q3: If defined Login belongs\_to Client, how can you get all records  
belonging to @client?  
A3: @client.logins  
…

Best feature would be:  
Take a real world oss project that makes use of as much  
rails features as possible and base your questions/answers on  
that and then let the answer point to a place in the code where this  
feature is used in context.
