Re: Spaces in Ruby on Rails and how to avoid them!

Mark Bush
Sat, 15 Mar 2008 23:23:40 -0000

AzamSharp wrote:
> Let''s say I have a model named "Product". How would I
know what
> methods it supports? Like I know I can do this:
>
> Product.content_columns
>
> but how would I know that the content_columns exists without
> intellisence?

An "intelligent" IDE is no substitute for an API reference and
learning
the framework you intend to use.

In Rails, if you have an ActiveRecord model, then information about what
methods it supports starts here:

http://api.rubyonrails.com/classes/ActiveRecord/Base.html

--
Posted via http://www.ruby-forum.com/.