
Featured
-
How Regression Testing Detects Integral Errors In Business Processes
Humans are forever changing and evolving and so to
by kristina.rigina -
Get Display Banner Advertising Opportunity on FindNerd Platform
“Do you have a product or service that nee
by manoj.rawat -
Android O Released with Top 7 New Features for App Developers
Android was founded by Andy Rubin, Rich Miner, Nic
by sudhanshu.tripathi -
Top 5 Features That Make Laravel the Best PHP Framework for Development
Laravel is a free open source Web Framework of PHP
by abhishek.tiwari.458 -
Objective C or Swift - Which Technology to Learn for iOS Development?
Swift programming language is completely based on
by siddharth.sindhi
Tags
Numeric Validator in Rails
Hi Friends,
Thanks for viewing my previous blogs, hope you liked them. As we were previously talking about validations starting with Format validations in Rails, lets continue with that with a new validation helper numericality. As its name rep...
Format Validators in Rails
Hi Friends,
Hope you are doing well with your work. Today I am here with one of the most common topics in Rails that is format validators in rails. Lets start with defining validation.
"Validations are used to avoid the invalid data to get sto...
Difference between hash and hashwithindifferent Acess
The Hash class in Rubys core library retrieves values by doing a standard == comparison on the keys. This means that a value stored for a Symbol key (e.g. :my_value) cannot be retrieved using the equivalent String (e.g. my_value). On the other ha...
Getting the current absolute URL in Ruby on Rails
Recently I was working on rails 4 application and there was a need to get current absolute URL. So I noticed that as rails evolved, this is also getting changed and thought to pen down these ways for all the rails versions.
For Rails 3.2 or Ra...
Top 5 ruby gems most helpful in application
Devise(https://github.com/plataformatec/devise): It represents authentication mechanism. Very powerful, flexible and also it allows to integrate Outh authentication system with minimal effort.
FriendlyId(https://github.com/norman/friendly_id...
Active record rails
Earlier when programmer used to build a web application, they required the skills to code in both business logic language and database language. However now, back-end frameworks are using Object-Relational Mapping (ORM). It helps programmer st...
In app notification using pusher app
Now days web application do need to have real time notifications. Most of us does have taken note of it while using application like facebook, twitter etc. There are various ways of achieving it but pusher app has taken all the pain of developer ...
Scraping using nokogiri in rails
We usually want to scrap some data from one site or other . For this rails have provided us with a well known gem Nokogiri . It is a library which has been written for scrapping data and any rails developer can scrap data with the use of followi...
Things to take care while creating API- Some Important Tips
Some Important Tips While Creating an API
While creating a web project we do need to create API which can be used by any third party like iPhone,Android etc. Below is a link of an article which can help you in keeping thins in mind while creat...
Minimum security features which a developer must take of while coding in rails
My last post was on How one should take care of app complexity before refactoring it
Below is the list of minimum security features one should take care while making an application using ROR :
14 Bare Minimum Security Checks Before Releasi...
How one should take care of app complexity before refactoring it
All developers who are working on big projects usually think on refactoring the code-base. But before moving ahead with it a developer must take care of the following app complexity
How To Score Your Rails App's Complexity Before Refactoring
...
Upload image in ruby on rails through AJAX
Upload image in ruby on rails through AJAX
This is HTML and JavaScript code.
<% remote_form_for(:image_upload_form, :url => "/meeting/save_image/", :html => { :method => :post, :id => 'imgForm', :multipart => true }) do |f...
Installing RVM and Creation of Gemsets Part 2
In the last tutorial we learnt how to install RVM. In this one we will take one step further by creating Gemsets.
Note - Gemsets are used to eliminate Gem clutter and version mismatches. Also by creating Gemsets we can install multiple version...
Installing RVM and Creating of Gemsets Part 1
Installing RVM and creating Gemsets can be difficult at times. Frown not because in this tutorial we will learn the basics of installing RVM and in part 2 of the tutorial we will be creating Gemsets.
Quick Revision
RVM helps to manage multi...
Use pik in Windows
Managing multiple versions of Ruby on Windows can be a harrowing task since RVM is not present for Windows environment. And suppose you want to install different projects which require different version of Ruby and Rails on Windows.
Can be a ...
Using Bundler in Rails 2.3.x app
Managing Gems in Rails can be infuriating at times especially when Bundler is not present. That is what happens when you use Rails version lower than 3 as it does not come bundled with Bundler.
A quick fresh up though as why we use Bundler -
...