Ruby on Rails (Demo)

Ruby Tip8: No Method Overloading Supported in Ruby

As per design, Method overloading is not supported in Ruby. If you try the below example, you will get “`foobar’: wrong number of arguments...
Neelkanth Ram
13 sec read

Eager loading and Lazy loading in Rails ActiveRecord

Eager loading loads the full objects tree that is the associated records of the objects. Consider we have two models Post and Comment and...
Surendran Sukumaran
1 min read

Jammit installation issue (no such file to load —…

In one of m project I am using Jammit which provides both the CSS and JavaScript concatenation, compression and also provides built-in JavaScript template...
Surendran Sukumaran
36 sec read

Ruby Singleton Methods and Singleton Classes

What is a Singleton method ? A method which belongs to a single object rather than to an entire class and other objects. Before...
Surendran Sukumaran
49 sec read

ShareYourByte: Presentations available on JQuery and Rails3

With reference to our previous blog post “Open Invitation – Presentation on JQuery and Rails3“, we have kept the copy of the presentations at...
Balaji D Loganathan
12 sec read

Open Invitation – Presentation on JQuery and Rails3

As part of our “ShareYourByte” program, this week we are giving interactive presentations on following topics JQuery by Alok Swain Rails3 Introduction by Surendran...
Balaji D Loganathan
16 sec read

Ruby(RoR) Tip7: Installing Rails3 : File not found: lib

If you are facing the below error while installing Rails3 on Windows or Linux C:\Users\username>gem install rails --pre Successfully installed rails-3.0.0.rc2 1 gem installed...
Balaji D Loganathan
12 sec read

Ruby(RoR) Tip6: Install Mysql Gem on Ubuntu

While installing mysql gem on Ubuntu for Ruby on Rails, if you get the error Insecure world writable dir /usr/local/sbin in PATH, mode 040777...
Balaji D Loganathan
1 min read

Graphical representation of data using HighCharts.

In the recent railscasts, Ryan Bates has shown us the usage of Highcharts and some other open-source client-side JavaScript libraries to generate beautiful charts...
Allan
1 min read

Ruby(RoR) Tip5: Install jrails; Avoid Plugin Not Found in…

If you are using MinGW version of Ruby and trying to install plugins like jrails or paperclip, then you might face with the problem...
Neelkanth Ram
30 sec read

Ruby(RoR) Tip4: Install rcov on Windows

If you are one of the victim who got the below error on your Windows machine… Building native extensions. This could take...
Balaji D Loganathan
43 sec read

Integrate Google Map Events with Flex and Rails

I was exploring the way to integrate GoogleMap on Flex with Rails as backend. My main focus was to detect the user events happening...
Surendran Sukumaran
1 min read