30 Jul '16, 7am

Learn how to add social login from Facebook to your Ruby on Rails application

Add required model code (app/models/user.rb): devise :database_authenticatable, :registerable, :recoverable, :rememberable, trackable, :validatable, :omniauthable, omniauth_providers: [:google_oauth2, :facebook] def self.find_for_google_oauth2(auth, _signed_in_resource = nil) # Find user that already exists by provider and uid user = User.where(provider: auth.provider, uid: auth.uid).first unless user # Find user that already exists by email user = User.where(email: auth.info['email']).first unless user # User doesn't exist so create a new user logger.info auth.to_json user = User.create( uid: auth.uid, first_name: auth.info.first_name, last_name: auth.info.last_name, name: auth.info.name, gender: auth.extra.raw_info.gender, email: auth.info.email, password: Devise.friendly_token[0, 20], provider: auth.provider, image_url: auth.info.image) logger.info("Creating New User: #...

Full article: http://www.ibm.com/developerworks/cloud/library/cl-build-...

Tweets

Social Media Manager: I am a full time firefigh...

forums.seochat.com 29 Jul '16, 9pm

I am a full time firefighter with a small web design company with about 15 customer which we mostly build website and do o...

A list of killer courses, screencasts, and book...

johnathanlyman.com 31 Jul '16, 11am

I’ve been meaning to write this post for a while and kept getting distracted. This evening I sat down and finally hammered...

Why Learn Ruby On Rails?

Why Learn Ruby On Rails?

manchesterdigital.com 26 Jul '16, 8am

Airbnb , Basecamp , Disney , GitHub , Hulu , Kickstarter , Shopify , Twitter , and the Yellow Pages . There’s also a healt...

Time-saving social media tips for small businesses

123-reg.co.uk 29 Jul '16, 11am

So, if you want to determine whether your social media efforts are paying off or not, pick a few metrics that directly imp...

Learn how to optimize GC configuration for your #Ruby App

Learn how to optimize GC configuration for your...

blog.rubyroidlabs.com 28 Jul '16, 9pm

If you ever coded with Ruby on Rails, you probably are already aware that Garbage Collector is its Achilles’ heel. Though ...

New Job Alert: Social platform for financial se...

freelancer.com 27 Jul '16, 11am

wordpress ephoto theme remove browse category , business plan financial platform , legal services financial institutions ,...

Rails web app by davidmavr

freelancer.com 29 Jul '16, 5am

looking business partner build app , web theme business app , convert access app web , integrating iphone app web site , w...

Execute ruby method within Javascript - Ruby on...

devbattles.com 31 Jul '16, 11pm

Execute ruby method within Javascript - Ruby on Rails App Ruby 0 DP 314 0 Upon completing watching a video on JWPlayer, I ...

Social media: look before you leap

Social media: look before you leap

searchenginewatch.com 28 Jul '16, 12pm

Hashtag fails : using the wrong hashtag can be a mistake, but jumping on trends without context will confuse or even offen...

Build an Online Store by russellgray

freelancer.com 30 Jul '16, 9am

We have more then 8 years of experience in contributing to Developing Managing Web and Mobile Application Development for ...

Ruby on Rails Developer

jobview.monster.com 29 Jul '16, 5pm

You love developing elegant solutions to complex problems. You are a seasoned developer who enjoys coding and find yoursel...

Trump That: Social Media Lessons From The US Presidential Campaigns

Trump That: Social Media Lessons From The US Pr...

searchenginepeople.com 27 Jul '16, 12pm

Social media is playing a transformative role in this presidential election. Donald J. Trump and Hillary Clinton are heavi...

The Weekly Measure: Overlooked Aspect of Content Strategy, Maintaining Brand Integrity on Social Media & Upco...

The Weekly Measure: Overlooked Aspect of Conten...

verticalmeasures.com 29 Jul '16, 3pm

Vertical Measures caps off the week with the Weekly Measure, a roundup of internet marketing news from around the web. We ...

Active Launches New Social Workout App

Active Launches New Social Workout App

running.competitor.com 26 Jul '16, 8pm

Workout apps have become the new gym. It’s convenient, you can do it within the comforts of your own home or on your own s...