Archive for the ‘Rails’ Category

Getting up & running on RailsPlayground

RailsPlayground has some excellent and fast customer support, but this time, I wanted to deploy my app without any of it being used – that means I had to debug the weirdo “Application Error – Rails application failed to start properly” error myself. The RailsPlayground staff had managed it the last time for me… The [...]

Another login controller…

Since login/logout functionality was so common in almost all rails apps that a gem had to exist for an “out-of-the-box” support – ask google and you’ll soon be reading LoginGenerator. Setting it up using migrations is super easy and once you go through the code, using it is almost as easy. Upon a successful login, [...]

Ruby Meetup – 10th Oct, Atlanta

Ruby Meetup, 10th Oct 07 – Atlanta Leftmost – Zundre in white and Bob next to him Where am I? (think green! wink wink )

Writing a solid Login controller/action

First step to Wadda (the unofficial name as for now) was to write a login controller that interacts with the Drupal instance. It wrote it last week but was unhappy the way it turned out to be. Lots of conditionals/booleans, clumsy code & unstable. So yesternight, I threw away all the code (so called prototype) [...]

How to effectively serialize a WWW::Mechanize object

Last 3 days, I was almost pulling apart my hair, trying to figure out how can I serialize a WWW::Mechanize object to the database. The problem started surfacing when I was trying to store a Mechanize instance into the session & oddly enough Rails was throwing the “We’re sorry, but something went wrong” error at [...]

Monkeying around with IRB

Fancy tab completion in IRB? Try Wirble Want a whacky prompt for IRB? irb(main):005:0> IRB.CurrentContext.prompt_c “%N(%m):%03n:%i* ” irb(main):006:0> IRB.CurrentContext.prompt_i “%N(%m):%03n:%i> ” irb(main):007:0> IRB.CurrentContext.prompt_n “%N(%m):%03n:%i> ” irb(main):008:0> IRB.CurrentContext.prompt_s “%N(%m):%03n:%i%l ” irb(main):009:0> IRB.CurrentContext.prompt_i = “makuchaku>>” “makuchaku>>” makuchaku>>

Cooking up Project DRailed!

Cannot give much details now, but configuring Drupal is so freaking nice – you have plugins for everything you can ever imagine! I just wish it was written in Rails or had a rails connector of some sort – so that I could interface my stuff without any hesitation I’m almost at the stage where [...]

Back from Denver – hot on Rails!

What a week it was! 3 days of some awesome Rails coverage – & I am all set to write my app Class notes from the training are here -they are kinda cryptic so might not be all usefull but just in case If you plan to get into indeapth stuff, try the second edition [...]

Rails Studio – Day 1

Notes are here …gotta run!

From the Rails studio…

Good morning I am in Denver right now, the Rails Studio is about to start in 30 minutes… I was waiting for this training from past 2 months now – good to be here. And gues what? Each one’s got a cool Rails T-shirt – which’s going to be one helluva source of evny for [...]