Archive for January, 2007

It can be quite annoying working on your Ruby on Rails project on your PC and having to upload the edited files to the host-server everytime you change something. It gets even harder if you work on different PCs or in a team.
As far as I am aware of, there are only two solutions to […]

To post code samples I installed iG:Syntax Hiliter v3.5 for wordpress, which supposedly supports ruby. Now let's try it out:
PLAIN TEXT
RUBY:

def login

case @request.method

when :post

if @session['user'] = User.authenticate(@params['user_login'], @params['user_password'])

 

flash['notice']  = "Login successful"

redirect_back_or_default :controller => "moneyger", :action => "index"

else

@login    = @params['user_login']

@message  = "Login unsuccessful"

end

end

end

Excellent! ::-)

I am seriously considering adding few code samples to atrails with live demos. For this purpose I setup a new subdomain called samples.atrails.com which will run on a ruby server.
Following the Dreamhost wiki manual, my default host, I'll proceed with RoR installation on this subdomain. My PC at home has the default webrick server running, [...]


You are currently browsing the AtRails - The RoR (ruby on rails) fanweb weblog archives for January, 2007.

Longer entries are truncated. Click the headline of an entry to read it in its entirety.

By label: