02 Oct '12, 8pm

[recovery mode] Простейшая free-lance доска на Ruby on Rails

class SessionsController < ApplicationController require 'net/http' require 'json' def create openid_data = params[:token] openid_data = Net::HTTP.get(URI.parse("http://loginza.ru/api/authinfo?token=#{params[:token]}")) openid_data = JSON.parse openid_data user = User.find_or_create_by(openid_identity: openid_data['identity']) if user.status != 'banned' user.openid_data = openid_data user.save session[:user_id] = user.id redirect_to root_url, :notice => "Logged in!" else redirect_to root_url, :notice => "You blocked!" end end def destroy session[:user_id] = nil redirect_to root_url, :notice => "Logged out!" end end

Full article: http://habrahabr.ru/post/153257/

Tweets

ссылка на блог. себе на заметку ~

ссылка на блог. себе на заметку ~

rougedeluxe.blogspot.com 12 Oct '12, 1pm

Nothing says Christmas is coming quite like Lush ! This year's holiday collection is a dazzling visual treat of wonderfull...

d&eacute;veloppeur ruby on rails &quot;FREELANC...

freelancer.com 08 Oct '12, 7am

Freelancer.com (formerly GetAFreelancer) is the world's largest outsourcing and crowdsourcing marketplace for small busine...

Ruby on Rails za žene #Događaji #IT #računala #mobi

Ruby on Rails za žene #Događaji #IT #računala #...

bug.hr 01 Oct '12, 3pm

Rails Girls je inicijativa osnovana 2010. u Helsinkiju. Održavaju radionice programiranja s namjerom poticanja interesa za...

#Clustrix and Bluebox team on Ruby-on-Rails ben...

clustrix.com 02 Oct '12, 3pm

Ruby on Rails Performance Benchmark is described in a white paper available on the Clustrix website. I'm going to go throu...

Ruby on Rails Guides: Začínáme s Rails:

Ruby on Rails Guides: Začínáme s Rails:

guides.rubyonrails.cz 01 Oct '12, 12pm

Pokud pracujete na Windows, mějte na paměti, že drtivá většina Rails vývojářů používá systémy na bázi Unixu. I když samotn...

僕が参考にしている Ruby, Rails の情報源まとめ(海外ブログ編) - willnet.in

english.wordbuff.jp 02 Oct '12, 7am

僕が参考にしている Ruby, Rails の情報源まとめ(海外ブログ編) - willnet.in 昨日 @bekkou68 さんに「前島さんってどうやってRubyやRails関連の情報を収集しているんですか?」って聞かれたのでまとめてみます...

Zes voordelen van Ruby on Rails

Zes voordelen van Ruby on Rails

inspire.nl 03 Oct '12, 3pm

Inspire werkt met Ruby on Rails. Een betrouwbare, efficiënte en toekomstgerichte programmeeromgeving. Inspire-programmeurs...

Moving from Ruby on Rails to the JVM at Twitter...

java-tv.com 03 Oct '12, 12pm

This video explains why Twitter is moving more and more code from Ruby on Rails to the JVM. The move to Scala and Java at ...

Hiring: Senior Ruby on Rails Developer (Durham,...

raleigh.craigslist.org 30 Sep '12, 12pm

THIS IS A FULL TIME DIRECT HIRE PERMANENT JOB WITH STOCK OPTIONS. Salary Range : $100K Location: Durham, NC Our client is ...

How to deal with 404 error in Ruby on Rails?: H...

stackoverflow.com 01 Oct '12, 6am

AssociationTypeMismatch Error on Ruby on Rails app ruby on rails nil.to_sym error How are the error messages displayed in ...

Ruby on Rails Tutorial 2nd Edition | Wow eBook Blog

Ruby on Rails Tutorial 2nd Edition | Wow eBook ...

wowebook.be 30 Sep '12, 9pm

Using Rails, developers can build web applications of exceptional elegance and power. Although its remarkable capabilities...

UK [contract] Ruby on Rails Developer at ✔ #jobs

contractjob.net 29 Sep '12, 5pm

A blue chip publishing company based in the heart of Central London are currently seeking an addition Ruby On Rails contra...

Ruby on Rails Jobs #SanDiego #Jobs

catalyst.climber.com 29 Sep '12, 9pm

Join the Climber.com Development Team! Position Summary: As a full time Senior Web Developer you will primarily be respons...

Boss guide to installing Ruby on Rails:

Boss guide to installing Ruby on Rails:

fngtps.com 28 Sep '12, 2pm

Every once in a while my boss asks me for help getting a Rails project running on his shiny new MacBook Pro. I’ve made him...

Did you miss this one? Ruby on Rails 101 with Ryan O’Boyle -

Did you miss this one? Ruby on Rails 101 with R...

Veracode.com 28 Sep '12, 2pm

Ruby on Rails 101 with Ryan O’Boyle Posted by Neil DuPaul in ALL THINGS SECURITY, September 28, 2012 | Comments (0) Veraco...