16 useful gem for Rails — 5 web application

Goal: A list of rails gem useful for newbie rails developer

Mansura H.
Web Application Development
1 min readSep 29, 2016

--

Lets appreciate all lovey dovey rails gem.

Make link active dynamically (1)

<li><%=link_to 'Dashboard',customer_user_path %></li>

Not helpful enough. Once I hit the link the css need to be changed . Is there any gem for it ? Oh yea here comes the active_link_to

gem 'active_link_to'

Styles (3)

  • Need Sass + Bootstrap +Font- Awesome
gem 'sass-rails', '~> 5.0'
gem "font-awesome-rails"
gem 'bootstrap-sass', '~> 3.3.1'

Calendar widget (2)

Need a super stylish and accessible calendar widget for time input. What could be better than bootstrap date time picker.

gem 'momentjs-rails', '>= 2.8.1'
gem 'bootstrap3-datetimepicker-rails', '4.7.14'

Dialogue (1)

No time for design another modal widget , rather use bootstrap one.

gem 'bootstrap-modal-rails'

Filter Search Result (3)

Like a life saver (oops sorry) time saver, filterrific is no less than terrificly brilliant. It also need will_paginate gem for result pagination

gem 'filterrific'
gem 'will_paginate'
gem 'will_paginate-bootstrap'

Upload file (2)

Need asynchronous drag and drop file uploader, here comes the dropzone.

gem "paperclip", "~> 4.2"
gem 'dropzonejs-rails'

Authentication (1)

gem 'bcrypt', '~> 3.1.11'

Mysql (1)

gem 'mysql2', '>= 0.3.18', '< 0.5'

List of Countries for input (1)

gem 'country-select', github: 'stefanpenner/country_select'
#https://github.com/stefanpenner/country_select

Most welcome to add AngularJs (1)

gem 'angularjs-rails'
#https://github.com/hiravgandhi/angularjs-rails

--

--

Mansura H.
Web Application Development

Platform Architect @ IBM; Author of Hybrid Cloud Infrastructure and Operations Explained ..