Cookbook example in InstantRails

I’m trying to follow along with the code in the cookbook example
provided in
InstantRails. I can look at the php db structure through phpMyAdmin, but
I
cannot seem to find the .rb code that really does anything in this
example.
I’m looking in \rails_apps\cookbook… but cannot seem to find anything
other than some rb files of just a few lines; I’m trying to find some
real
code here so I can get a handle on this as a newbie (having just sat
through
a Java Server Faces presentation last night, I am totally convinced ruby
is
the way to do this!).

Can someone point me in the right direction here to actually look at
some
example code here that does something? Thanks, Ike

On Jul 13, 2006, at 9:15 AM, Ike wrote:

I’m trying to follow along with the code in the cookbook example
provided in
InstantRails. I can look at the php db structure through
phpMyAdmin, but I
cannot seem to find the .rb code that really does anything in this
example.
I’m looking in \rails_apps\cookbook… but cannot seem to find
anything
other than some rb files of just a few lines;

That’s the beauty part, you only need a few lines for basic stuff
like this example :slight_smile:

I’m trying to find some real
code here so I can get a handle on this as a newbie (having just
sat through
a Java Server Faces presentation last night, I am totally convinced
ruby is
the way to do this!).

Can someone point me in the right direction here to actually look
at some
example code here that does something? Thanks, Ike

You’ll probably find help on the rails mailing list: http://
lists.rubyonrails.org/mailman/listinfo/rails
or the IRC channel: #rubyonrails on irc.freenode.net

Try to be a bit more specific about your problem in either/both of
these places, and I’m sure you’ll find your answer.
-Mat

Mat S. wrote:

That’s the beauty part, you only need a few lines for basic stuff like
this example :slight_smile:

As as example, try looking in
\rails_apps\cookbook\app\controllers\recipe_controller.rb for a fairly
typical introduction to controller code.

You’ll probably find help on the rails mailing list:
http://lists.rubyonrails.org/mailman/listinfo/rails
or the IRC channel: #rubyonrails on irc.freenode.net

Is it just me, or are there suddenly more Rails questions popping up
here over the past few days?

Hi –

On Thu, 13 Jul 2006, Mat S. wrote:

On Jul 13, 2006, at 9:58 AM, Alex Y. wrote:
[snip: instant rails question]

Is it just me, or are there suddenly more Rails questions popping up here
over the past few days?

I’ve noticed a surge shortly after the Wired (I think. Didn’t read it.) and
Linux Journal coverage. I’m sure we’re gonna see more as Rails gains
popularity.

And the Slashdot review of “Ruby for Rails”, in the wake of which said
book is #1 in the Programming subcategory at Amazon. And we have 3 or
4 Ruby/Rails books in the top 25 or so (R4R, Pickaxe, Agile, Recipes).

David (disinterested third party :slight_smile:

[email protected] wrote:

Speaking of which … there’s a reason “Ruby for Rails” is the number
one. It’s the best Ruby/Rails programming book out there! As most of you
know, I’ve been programming a long time and have been a serious student
of the craft in general and programming languages for most of that time.
Given all of that experience, for some reason, I’ve really been
struggling with Ruby and Rails. This book is exactly what I needed to
be able to work with these technologies.

Don’t get me wrong … Pickaxe, AWDR and Recipes are all great … all
well written … all necessary … and all sitting on my hard drive. :slight_smile:
But “Ruby for Rails” has everything I need to know about the syntax
and semantics of these two rather intricate and intertwined
technologies. Thank you, DIsinterested David! :slight_smile:

On Jul 13, 2006, at 9:58 AM, Alex Y. wrote:
[snip: instant rails question]

Is it just me, or are there suddenly more Rails questions popping
up here over the past few days?

I’ve noticed a surge shortly after the Wired (I think. Didn’t read
it.) and Linux Journal coverage. I’m sure we’re gonna see more as
Rails gains popularity.
-Mat

Took you guys’ advice and went out and bought R4R.

Spent last night listening to a Java Server Faces talk, pros & cons vs.
Struts. Am completely cvonvinced Ruby on Rails is the way to go now.
Thanks
for all your input -Ike

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs