Tags » Ruby On Rails

Blocking unsupported requests on nginx

Recently I have been observing a lot of traffic of bots, crawlers and malicious users on a project I am working on. It is a rails application. 250 more words


Adding factoryGirl to Rspec

Hello Everyone! In this post we’ll talk about adding FactoryGirl flavor to our Rspec Example.
In my recent post, we talked about adding rspec to rails project. 408 more words


A Very Short List of Criticisms

Hey there, my name is Ching. I’m on week 8 of Bloc’s Full-Stack Web Development course. This week I’m (STILL!!) working on Blocmarks. In this post I’m going to discuss some changes I would love to see in Bloc’s program or additional features they could implement. 498 more words


Postgres in Yosemite

I have just updated to Yosemite and my worst fears have come true. The first problem that I have faced so far is running postgres. As soon as I try to start rails server, I get this error: … 223 more words


Diffrence between path and url routes helper rails [For Beginners]

Difference between path and url routes helper rails

about_path -> '/about'
about_url  -> 'http://localhost:3000/about'

Note that about_url is the full URL http://localhost:3000/about (with localhost:3000 being replaced with the domain name, such as example.com, for a fully deployed site). 56 more words

Ruby On Rails

Autocomplete in Rails App

Today, I added autocomplete to the search box I talked about in my last post. There are gems for doing it, but I found using jquery, its easier. 95 more words

Ruby On Rails

How to show Google Analytics dashboard in a Ruby on Rails application?

I was researching on importing GA dashboard in my rails application.

Putting together steps involved in it and the reference links here

1. Understand Google Analytics dimensions and metrics… 153 more words

Ruby On Rails