Have you looked a Comma, http://redartisan.com/2009/3/10/comma-intro ?
Eifion
http://asciicasts.com
Twitter: @eifion
On 19 Mar 2009, at 17:55, Dhaval Phansalkar wrote:
>
> hi all,
>
> is there any method/way to generate a csv from an object directly?
> e.g.
> @object.to_csv that will create a
It looks from your code as if you're returning a list of user galleries
rather than a single one, so the list you get won't have a photos method.
Does your code work if you change the third line in your method to
@gallery = @user.galleries.first
Eifion
http://asciicasts.com
Twitter: @eifion
O
Have you looked at the Railscast on subdomains?
http://railscasts.com/episodes/123-subdomains
Eifion
http://asciicasts.com
Twitter: eifion
On Wed, Feb 11, 2009 at 3:59 PM, Heinrich Beck wrote:
>
> This is more an architectural question
>
> I am looking to create a domain that sells widgets
Are you sure that you have the sqlite3 gem installed on your machine? Is it
listed if you type 'gem list' at the command line?
Eifion
http://asciicasts.com
On Mon, Jan 12, 2009 at 11:12 PM, technology wrote:
>
> I'm on OS X 10.5.6 and am trying to run the blog demo app at
> http://guides.rub
You could always have two terminal windows open, one with script/
console open and another with script/server. Any db calls you make
will appear in the script/server window.
Eifion
On 12 Dec 2008, at 07:10, Greg Hauptmann wrote:
> is there a way in ./script/console to get the SQL debugging
5 matches
Mail list logo