Recent Posts
The Hitchhiker’s Guide to Ruby On Rails Galaxy
Return To Blog Listing
My tech blog Web Development using Ruby On Rails
Recent Posts Tagged With 'tips'
How to parse a tweet text from Twitter using Ruby to parse-out ‘@’ and ‘#’
Well lot of us love @twitter and also Ruby, and some time work on both And often we need to do the folowing with a tweet Well I had to do the following quite often:- Take out the ‘@’ (i.e. @replies )and ‘#’ (i.e. hashtags ...
Using ERB as a dynamic template to create a file whose contents are dynamic
The following code will create a temporary file for say attaching a vcard file to email.The following code is dynamic to use ERB as a template to create the file dynamically every time with the variable “telephone”,”location”,...
Model name in RubyOnRails should ALWAYS be singular!!!
Model names in RubyOnRails should be Singular. This will create Table name as corresponding Plural names. You have got to remember that about model naming conventions in rails. . I know this is a very basic concept in RubyOnRails but sometimes ...
