e x p r e s s i c a

ruby on rails, business and technicalities

Archive for the ‘rails’ Category

The view helper method capture provides this functionality to wrap a section of the view template in a variable and can be used multiple times in the view. Usage : You can earn a lot, if you use your brain! to know more! Advantage: If its needed to render a  [ Read More ]

I participated in August Rails Hackfest which was a great experience. You can see the missing August 2007 from the Post Archives. I didn’t post anything last month as I was busy in submitting rails patches. I submitted a lot of patches out of which I got one patch committed  [ Read More ]

Hey Everyone, Vinsol is proudly taking charge to spread Rubyism in delhi and to grow the Ruby & Rails communities here in New Delhi, India. We are organizing delhi.rb meetups around once every month, the meetup is all about ruby and rails as well. The meetup was on 19th July  [ Read More ]

It was ruining all my mood and concentration when i was trying some sample ruby code in irb and again and again i had to retype the things because the arrow keys were not working there. I searched the problem on net and found that i need to have readline  [ Read More ]

While installing RMagick on Linux, if you are getting errors like this “GraphicsMagick-config… no configure: error: Can’t install RMagick. Can’t find Magick-config or GraphicsMagick-config program. …”, below is the solution for this error. RMagick requires ImageMagick and which further requires loads of dependencies already available to get installed and work  [ Read More ]

Hi all, I found an answer(a tweak) to the question which was pinging my mind while working on my current project that How to validate one or more specific attribute of the model(field of the table i mean)?, as the requirement was to save a record after validating the model’s  [ Read More ]

Simple Captcha 1.0

Update: SimpleCaptcha 1.2.2 is up!! Major Changes… FileSystem Usage Removed Works Perfectly with Multiple Clustered Servers Read Here for more details on implementation, usage and examples.

Simple Captcha 1.0 released If you are using an older revision of SimpleCaptcha then it is strongly recommended that update it to the Simple Captcha version 1.0, coz there were certain bugs in the previous release viz. update_attribute, which has been fixed in this release. Bugs Fixed and Features update_attribute  [ Read More ]

I have provided the source code of the ajax based drag drop tree in rubyonrails in one of my previous posts. I found some of the people are getting problems to incorporate the code into their running applications so i am providing a sample rails application in which all the  [ Read More ]

Sponsors