[Rails] Rails string formatting

2010-11-15 Thread Alex P
Hi, I have a helper that include JS file contents into my view (for per- view JS injections). For some reason (render :file => "inject/#{filename}.js") % [ "foo" ] combined with string formatting, assuming there's a replacement pattern %s in {filename}.js, replaces all double quotes that were m

[Rails] Re: Generator Documentation

2010-05-28 Thread Alex P
or built in actions, the Rails ones, etc. Rails templates are what I'm > actually trying to build. > > JamesOn Thu, May 27, 2010 at 6:47 PM, Alex P > wrote: > > if you enter script/generate –help you get a list of possible > > generators. > > > for example,

[Rails] Re: A few questions before i start to programm

2010-05-28 Thread Alex P
7, 2:40 pm, Roelof Wobben wrote: > Alex P wrote: > > Actually, the goal is trivial. > > Check outhttp://guides.rubyonrails.org/getting_started.html > > > Install ruby, gem, rails, and start developing, ask questions as you > > go along. There's no such thin

[Rails] Re: A few questions before i start to programm

2010-05-27 Thread Alex P
Actually, the goal is trivial. Check out http://guides.rubyonrails.org/getting_started.html Install ruby, gem, rails, and start developing, ask questions as you go along. There's no such thing as tutorial for a menu or working space. Checking whether a team has already played the game is a matter

[Rails] Re: Generator Documentation

2010-05-27 Thread Alex P
if you enter script/generate –help you get a list of possible generators. for example, script/generate model –help gives you help on the model generator On May 27, 10:16 am, James Nelson wrote: > Hi, > > I'm new to this list so sorry if i'm posting in the wrong place. > > I've just been looking