Archive for the 'installation' Category

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! ::-)


You are currently browsing the AtRails - The RoR (ruby on rails) fanweb weblog archives for the 'installation' category.

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

By label: