Dani Dani wrote:
> Thanky you both Marnen & Anubhaw.
> 
> I did run the depot example application and even used debugger to see 
> things from "inside", but still felt like someone who types in what he 
> was told. The feeling is still there, if I had to do it myself, there 
> are things I wouldN't know even they exist if they were not mentioned in 
> the book. That is what I ment when I ask - where is the collection of 
> all the methodes, helpers, ... of rails. I'll go to those sites you both 
> have mentioned. I'm sure I'll come with further questions.
> I do apprciate your quick answer and your motivation to help. Thank you 
> !.
> Dani.

So start your own project. On something you already know, so your not 
focused on "what data do I need", or "who are the users", or "how is the 
data organized" - you know, all those domain knowledge questions that 
are usually the most important things, and can instead focus on "how do 
I do this in Rails".

One of the most useful things I did early on was to scaffold a 
rudimentary application for a person's information, then read through 
and look at all the scaffolded routines, etc to see how rails wants to 
work.

rails myapp -d mysql
ruby script/generate scaffold person first_name:string last_name:string 
age:integer

Then go peruse the generated files and 'grok' how the Rails framework 
works.

Many books dive in with an application that fits how that author builds 
rails apps. Sure, one would suppose that an author is an authority on a 
subject, but read 5 Rails books and you'll get 5 different perspectives 
on how to build an app, how to define your views, etc, etc.

I wouldn't use a scaffolded application for a releasable product, but as 
an instructional tool, it's virtually free.
-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to