Join the social network of Tech Nerds, increase skill rank, get work, manage projects...

Using friendly_id gem or slugged id in rails

What friendly gem can do? Friendly_Id is the "Swiss Army bulldozer" of slugging and permalink plugins for Active Record. It lets you create pretty URLs and work with human-friendly strings as if they were numeric ids.   Ra...

Text Editor in ruby on rails application

In this article I will guide you to use the tinymce-rails gem to add text editor functionality.  TinyMCE is a rich text editor that outputs HTML, makes it easy to add content in rails application.   First you need to add...

Rating Gem in Ruby on Rails

How to setup a rating feature in rails application.   The best and simple way of doing so is by using RAILS GEM ratyrate by following simple steps.   Step 1: Include GEM in your gem file gem 'ratyrate'   Step...

attr_accessible in Rails 4

Before going into the details of attr_accessible, the best thing would be to understand why it was needed. It was basically needed to avoid the Mass-assignment Attack. For that we need to know about Mass-assignment :- Mass-assignmen...
Sign In

Sign up using

Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: