Tags » Ruby On Rails

Integrating Omniauth for Github

Hey!

A good news for you! Our Github Editor is on its  way! In Today’s post, I am going to discuss integrating omniauth for Github using Devise gem in Ruby On Rails. 659 more words

Ubuntu - Display Current GIT Hub Branch Name in Terminal

Copy Below script and paste in .bashrc or .bash_profile file.
You can find these files at /home/

parse_git_branch() {
 git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/(\1)/'
}
if [ "$color_prompt" = yes ]; then
  PS1='${debian_chroot:+($debian_chroot)}\[\033\u@\h\[\033:\
   [\033\w\[\033$(parse_git_branch)\[\033\$'
else
  PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w$(parse_git_branch)\$'
fi
Ruby On Rails

Inspecting the code

There are many components that make up the CMS. To begin with there is the fact that I am required to use two sites to edit the cms. 345 more words

YEAR 3

Coding the website

The build of the website was very difficult, as I was using a language that I knew very little about. I had started previously about 3 months before with absolutely no knowledge in the area and had started to learn ‘on the job’ at a web design agency. 283 more words

YEAR 3

Day 42 - Finally Finished TDD

It feels good to be finally out of the TDD section. TDD is a huge thing in Rails, and I think the reasons for that are in part due to the availability of awesome Gems like RSpec, Capybara, and Factory Girl. 1,391 more words

Coding Dojo

Install and Use Redis Server

Sort Introduction

Redis is an extremely fast, atomic key-value store. It allows the storage of strings, sets, sorted sets, lists and hashes. Redis keeps all the data in RAM, much like Memcached but unlike Memcached, Redis periodically writes to disk, giving it persistence. 199 more words

RUBY ON RAILS DEVELOPMENT

Why rails method "redirect_to" ate up my 1-2 hours?

The best part of the Web Development Curriculum at Flatiron school is solving its labs. Though it’s really tough many times but it really gives you a hands-on experience, challenges to exercise your brain, and face-to-face with errors which might get when you program in the real world. 286 more words