January 31

10 Must Have Ruby Gems

Below are the 10 must have gems in your Ruby on rails app;

gems

1. DEVISE (AUTHENTICATION)

2. CANCAN (AUTHORIZATION)

3. HAML (BETTER VIEWS)

4. COMPASS (BETTER CSS)

5. WILL PAGINATE (PAGINATION)

6. PAPERCLIP (FILE ATTACHMENTS)

7. META WHERE (ACTIVERECORD QUERY EXTENSIONS)

8. DELAYED_JOB (BACKGROUND JOB SCHEDULING)

9. HAS SCOPE (COLLECTION FILTERING)

10. RACK SSL ENFORCER (HTTPS REDIRECTION)

January 31

What is gems in Ruby

RubyGems is a package manager for the Ruby programming language that provides a standard format for distributing Ruby programs and libraries (in a self-contained format called a “gem”), a tool designed to easily manage the installation of gems, and a server for distributing them. Basically it is a essentially a Ruby plugin. Before digging into gems though, let’s look at some history.

 

One of the most obvious reasons relates to code reuse. If you find yourself implementing the same feature over and over again across projects, there’s a good chance that you’ve found the need for a gem.

January 27

List of commands to install and run Ruby on Rails

ROR

In this article we will se how to install Ruby on Rails on Ubuntu operating system.

Kindly find the below commands which are used in installation of ROR (Ruby On Rails):

Download Ruby

 – sudo apt-get install ruby-full build-essential

You can install all the necessary packages with this command:

 – sudo aptitude install ruby build-essential libopenssl-ruby ruby1.8-dev

Rails Installation

Continue reading

January 9

10 Differences Between HTML4 & HTML5

1. HTML5 Is a improving day by day

2. Simplified Syntax

3. The New <canvas> Element

4. The <header> and <footer> Elements

5. New <section> and <article> Elements

6. New <menu> and <figure> Elements

8. New <audio> and <video> Elements

8. New Forms

9. Kiss <b> and <font> Goodbye!

10. No More <frame>, <center>, <big>

Category: HTML5 | LEAVE A COMMENT