Tutorials

Getting a bit frustrated with the documentation of RoR I ask you if you
can recommend a good tutorial that I’ve missed :slight_smile:

The current problem that I’m stuck with is forms and list and how to
display or not to display columns.

On 25 Aug 2006, at 15:26, Pål Bergström wrote:

Getting a bit frustrated with the documentation of RoR I ask you if
you
can recommend a good tutorial that I’ve missed :slight_smile:

The current problem that I’m stuck with is forms and list and how to
display or not to display columns.

Agile Web D. with Rails is as good as you’re going to get.
And very good it is too -

http://www.pragmaticprogrammer.com/title/rails/

Aside from that, there’s a few tutorials kicking around, just need to
do a search and hundreds will make their presence known.


Alastair M.
Standards compliant web development with Ruby On Rails, PHP and ASP
www.kozmo.co.uk
07738 399038

Search for “Rails tutorial example” in google and a bunch of good ones
will appear. Some are outdated, and need some updating love, but some
are based on Rails 1.1.x. Seek and you will find. There are plenty
out there!


(**********************************************************

Alastair M. wrote:

On 25 Aug 2006, at 15:26, Pål Bergström wrote:

display or not to display columns.

Agile Web D. with Rails is as good as you’re going to get.
And very good it is too -

It’s ok, but to much to get the overall picture. Mr. Neighborly’s Ruby
and Rails is way better, but unfortunately not complete.

Thanks.

On 8/25/06, Pål Bergström [email protected] wrote:

Getting a bit frustrated with the documentation of RoR I ask you if you
can recommend a good tutorial that I’ve missed :slight_smile:

The current problem that I’m stuck with is forms and list and how to
display or not to display columns.

You’ll be able to get better help if you can describe your problem in
more detail, including what you tried (source code), what it did, and
what you expected it to do.

You’ve basically said, “It’s broken,” which isn’t a whole lot to go on.

I see in a later email that you’ve read, or at least have looked at,
the Agile book. Modifying your views is covered pretty well in there,
which leads me to believe that you’re running into a Ruby problem
rather than something specific to Rails. Displaying a column, or not,
should be trivial assuming you know some basic Ruby.

Again, you haven’t really provided enough detail to give a good answer.

– James

Bill W. wrote:

HI PÃ¥l,

Pål Bergström wrote:

The current problem that I’m stuck with is forms
and list and how to display or not to display columns.

On it’s face, this is not a difficult problem. Why don’t you say more
and
post some code and see if we can’t help you through it?

Best regards,
Bill

  1. How do I display a column from a related table in a list?

  2. how do I display related info in an edit view?

HI PÃ¥l,

Pål Bergström wrote:

The current problem that I’m stuck with is forms
and list and how to display or not to display columns.

On it’s face, this is not a difficult problem. Why don’t you say more
and
post some code and see if we can’t help you through it?

Best regards,
Bill

http://ibloggedthis.com/2006/04/16/ruby-on-rails-an-extensive-roundup-of-resources-projects-books-links-and-more/

Bill W. wrote:

And how do I list the stuff I want, not everything â?? in a single table
and from a relation.

<% for column in Content.content_columns %>

<%= column.human_name %> <% end %>

Got one model called Content:

class Content < ActiveRecord::Base
belongs_to :page
end

and one called Page

class Page < ActiveRecord::Base
has_many :content
end