[Rails] want to get original url from short(i.e tiny,bit.ly etc) url

2010-07-29 Thread Preksha Patel
Hi all, I am using Expurrel gem to get the original url from the short url for all the url shortener services.It works good on the script/console and irb but it is throughing me error like URI::InvalidURIError in KeywordsController#create in my application after giving some no. of original url

[Rails] Re: bundler 1.0.0 RC makes me crazy

2010-07-29 Thread Matias Käkelä
We are stuck with following error thrown at us by passenger: git://github.com/odorcicd/authlogic.git (at rails3) is not checked out. Please run `bundle install` (Bundler::PathError) We have exactly the same problem with slightly different server config. Somehow Bundler, Passenger or whatever

[Rails] Re: bundler 1.0.0 RC makes me crazy

2010-07-29 Thread Yehuda Katz
We have seen a number of reports of this error (git://git/repo (at branch) is not checked out. Please run `bundle install`. This is a serious issue and we're actively investigating it (by actively, I mean it's what we're going to be working on tomorrow). Please hang on. We should have another RC

Re: [Rails] whyhtml.erb generate a html structure not like it should be?

2010-07-29 Thread Michael Pavling
On 29 July 2010 04:19, Zhenning Guan li...@ruby-forum.com wrote: the HTML.ERB like this, and then it generate a html, it. the table indent not it shoud be, and the second tr also indent not the noraml. why it generate a html like that? Your Ruby code is indented (it has some whitepace infront)

[Rails] Re: Google map integration

2010-07-29 Thread Rifki Fauzi
Tushar Gandhi wrote: Hi, I am doing a google map integration using geokit and YM4R/GM plugin. Whenever I am passing the area name the it is ,marking that in google map properly. But my client wants whenever user adds the IT Companies in India then GMap should mark all locations of india

[Rails] Help Please

2010-07-29 Thread Simon D
Hello, One of my friends paid a fair share of money for a website and the company that developed his site just left him and told him they would no longer host his site because he didn't want to pay $150/mo for hosting. I have never worked with Ruby before, but manage to transfer his website to

[Rails] Re: db:fixures:load does not call Model.save()

2010-07-29 Thread isyairazu
Thankyou Fernando and Marnen! I forget fixtures. I will learn Machinist. Thankyou very much! -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to this group, send email to rubyonrails-t...@googlegroups.com. To unsubscribe from this

[Rails] Rspec + Callbacks Classes

2010-07-29 Thread Abhishek shukla
Hello Friends, I am using rspec for testing my model, and I have used callbacks in my model as things are working as expected on the front end. but when I try to test the application it throws an error. My code. * * class MyModel ActiveRecord::Base after_create CreateProfileCallBacks end

[Rails] Re: how to update a single table cell using ajax

2010-07-29 Thread Eric Yen
You can alwaus just do the following: td id=descPlaceholder -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to this group, send email to rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to

[Rails] Migration: updating a column

2010-07-29 Thread Eric Yen
Hi, Is there a way to update a column? Here's what I mean: I have a column name item in table products of type integer Now I want to update the column to have the option :null = false So far, the only way I have found is to remove it and re-add it, but obviously that is quite dumb. -- You

[Rails] Re: Migration: updating a column

2010-07-29 Thread Ar Chron
Have you tried change_column in a migration? http://api.rubyonrails.org/classes/ActiveRecord/Migration.html -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to this group, send email to

Re: [Rails] Re: Re: Re: Re: Memcache

2010-07-29 Thread Jeffrey L. Taylor
Prachi, I can't help you there, I've used memcache only for caching HTML fragments. There are several fine tutorials on using memcache on the Web, including using it to cache database records. Try railscasts.com, their screencasts are excellent. Jeffrey Quoting Prachi Tripathi

[Rails] Re: Re: Dynamic Google Maps

2010-07-29 Thread Pale Horse
Marnen Laibow-Koser wrote: Pale Horse wrote: [...] Installing the plugin from that port causes an error: script/plugin install http://github.com/queso/ym4r-gm + ./opensearch.xml Plugin not found: [http://github.com/queso/ym4r-gm;] You may need to tack .git on to the end of that URL.

[Rails] Query builder UI

2010-07-29 Thread edoardoz
My ror app need a query builder UI + backend hooks to generate simple reports (excel-like). Anybody know a gem/plugin to do so? Regards. -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to this group, send email to

[Rails] Why no meta charset=utf-8 / in application.html.erb?

2010-07-29 Thread johnny
I'm reading Dive into html5 and in http://diveintohtml5.org/semantics.html#encoding , it says every page should contain meta charset=utf-8 /, otherwise it's subject to security vulnerabilities (http:// code.google.com/p/doctype/wiki/ArticleUtf7). I don't see meta charset=utf-8 / being generated

[Rails] Re: Why no meta charset=utf-8 / in application.html.erb?

2010-07-29 Thread Frederick Cheung
On Jul 29, 10:08 am, johnny jklem...@gmail.com wrote: I'm reading Dive into html5 and inhttp://diveintohtml5.org/semantics.html#encoding , it says every page should contain meta charset=utf-8 /, otherwise it's subject to security vulnerabilities (http://

[Rails] connection_pool with_connection strange behaviour - ActiveRecord 2.3.8

2010-07-29 Thread Karl Baum
I noticed some strange behaviour with connection_pool.with_connection and it's probably because I am not understanding the proper usage. If I call with_connection, it seems to me that the connection within the block is not used with the ActiveRecord methods. First a simple == comparison.

[Rails] Re: Help Please

2010-07-29 Thread Frederick Cheung
On Jul 29, 12:05 am, Simon D simpr...@gmail.com wrote: Hello, One of my friends paid a fair share of money for a website and the company that developed his site just left him and told him they would no longer host his site because he didn't want to pay $150/mo for hosting. I have never

[Rails] Re: Migration: updating a column

2010-07-29 Thread Eric Yen
Thanks. I was under the impression that change_column was only for renaming. On Jul 29, 9:19 am, Ar Chron li...@ruby-forum.com wrote: Have you tried change_column in a migration? http://api.rubyonrails.org/classes/ActiveRecord/Migration.html -- Posted viahttp://www.ruby-forum.com/. --

[Rails] Tags not being saved into the database

2010-07-29 Thread Pale Horse
Why am I encountering this situation? I'm using the following code in my article form: % form_for [:admin, @article] do |f| % %= f.error_messages % p %= f.label Tags %br / %= select_tag tags, optionValue 1/optionoptionValue 2/optionoptionValue 3/optionoptionValue

[Rails] Re: No more @controller.expects in Test::Unit?

2010-07-29 Thread Fernando Perez
In my functional tests it was convenient to use: @controller.expects(:admin?).at_least_once.returns(true) to simulate requests which come from an admin user. But it seems that in Rails 2.3.8 it's gone away. What replaces it now? Up, it's important. Nobody uses functional tests here? --

[Rails] Re: Capistrano - override default, get/copy source from local

2010-07-29 Thread khagimoto
Glad that helped, and thanks for the simpler script! I'll definitely try it on my deploy, too. -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to this group, send email to rubyonrails-t...@googlegroups.com. To unsubscribe from

[Rails] Version Hell

2010-07-29 Thread Dis Tec
Version hell...I have the latest version of gems installed and gems -v proves this, but somewhere an old copy is hanging about - how do I get rid of this old version? This is driving me nuts! I seem to be getting conflicted installations of gems: For example $ ruby script/generate model

Re: [Rails] Version Hell

2010-07-29 Thread Leonardo Mateo
On Thu, Jul 29, 2010 at 12:46 PM, Dis Tec li...@ruby-forum.com wrote: Version hell...I have the latest version of gems installed and gems -v proves this, but somewhere an old copy is hanging about - how do I get rid of this old version? This is driving me nuts! I seem to be getting

[Rails] Re: Version Hell

2010-07-29 Thread Nicolas Blanco
You installed Rubygems using apt-get which is... a very bad idea! You should NEVER do this :D. Just install rubygems using the source. Nicolas Blanco http://www.nicolasblanco.fr http://twitter.com/slainer68 Dis Tec wrote: Version hell...I have the latest version of gems installed and gems -v

[Rails] Re: Version Hell

2010-07-29 Thread Fernando Perez
Did you install anything by mistake in ~/.gem ? -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to this group, send email to rubyonrails-t...@googlegroups.com. To unsubscribe from this

[Rails] Re: Version Hell

2010-07-29 Thread Dis Tec
Fernando Perez wrote: Did you install anything by mistake in ~/.gem ? yep - that is all deleted now. -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to this group, send email to

[Rails] Re: datetime_select 12 hour display? (AM/PM)?

2010-07-29 Thread John Ranaudo
Ben Johnson wrote: I have been looking all through the documentation and can't find anything to display the time in 12 hours format with an AM/PM option. Is there an option for datetime_select to do this? Or a plugin? Thanks! Ben, Any luck on a solution to your post? I'm also having the

[Rails] Re: Version Hell

2010-07-29 Thread Dis Tec
Thanks - I have now update the version.That seems to have done the trick! Thanks! Leonardo Mateo wrote: On Thu, Jul 29, 2010 at 12:46 PM, Dis Tec li...@ruby-forum.com wrote: $ ruby script/generate model product br...@ubuntu:~/RoR/Apps/OpenBenefit/depot$ gem -v 1.3.5 The weird thing is gem

[Rails] Re: Version Hell

2010-07-29 Thread Dis Tec
Now need to get MySQL installed. I am having the following trouble installing sudo gem install mysql -- --with-mysql-config=/usr/bin/mysql_config ERROR: Error installing mysql: ERROR: Failed to build gem native extension. /usr/bin/ruby1.8 extconf.rb

[Rails] order by not working on all

2010-07-29 Thread Mark Horrocks
Car.all.order(make) generates an error like undefined method `order' for #Array:0x7fd314476e38 Is this a bug? It seems that it should work. Rails 3.0.0rc. -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk

[Rails] Re: No more @controller.expects in Test::Unit?

2010-07-29 Thread Frederick Cheung
On Jul 29, 3:53 pm, Fernando Perez li...@ruby-forum.com wrote: In my functional tests it was convenient to use: @controller.expects(:admin?).at_least_once.returns(true) to simulate requests which come from an admin user. But it seems that in Rails 2.3.8 it's gone away. What replaces it

[Rails] Re: Version Hell

2010-07-29 Thread Dis Tec
mysql_config exists and mysql is up and running! No idea why this sometimes works and sometimes breaks. Before I managed this fine. Now its not working and I cannot re-install the mysql gems! -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to

Re: [Rails] order by not working on all

2010-07-29 Thread Greg Donald
On Thu, Jul 29, 2010 at 11:15 AM, Mark Horrocks li...@ruby-forum.com wrote: Car.all.order(make) generates an error like undefined method `order' for #Array:0x7fd314476e38 Is this a bug? It seems that it should work. Rails 3.0.0rc. Car.order(make).all -- Greg Donald destiney.com |

[Rails] Re: No more @controller.expects in Test::Unit?

2010-07-29 Thread Fernando Perez
Hi Fred, Here is some code: -- require 'test_helper' class Admin::OrdersControllerTest ActionController::TestCase def setup @controller = Admin::OrdersController.new @request= ActionController::TestRequest.new @response = ActionController::TestResponse.new

[Rails] how to deal with gender

2010-07-29 Thread bingo bob
Appreciate this is a path well travelled probably. What's the best way of to deal with gender. i.e. a Person is either Male or Female (generally and fot my purposes I'll stick with that rule). So is it best to go Person with an attribute gender, or, I guess it's best to do something like this -

[Rails] Re: Version Hell

2010-07-29 Thread Frederick Cheung
On Jul 29, 5:16 pm, Dis Tec li...@ruby-forum.com wrote: mysql_config exists and mysql is up and running! No idea why this sometimes works and sometimes breaks. Before I managed this fine. Now its not working and I cannot re-install the mysql gems! it's saying that you're missing mkmf, which

[Rails] Re: Tags not being saved into the database

2010-07-29 Thread Frederick Cheung
On Jul 29, 3:53 pm, Pale Horse li...@ruby-forum.com wrote: Why am I encountering this situation? I'm using the following code in my article form: % form_for [:admin, @article] do |f| %   %= f.error_messages %   p     %= f.label Tags %br /     %= select_tag tags, optionValue

[Rails] getting mysql running

2010-07-29 Thread Dis Tec
Now need to get MySQL installed. I am having the following trouble installing sudo gem install mysql -- --with-mysql-config=/usr/bin/mysql_config ERROR: Error installing mysql: ERROR: Failed to build gem native extension. /usr/bin/ruby1.8 extconf.rb --with-mysql-config=/usr/bin/mysql_config

[Rails] Re: paperclip, authlogic and callback issue

2010-07-29 Thread NewForge
Just speculating, but what if we rephrase the problem: the User after_save callbacks are expensive. Would it be possible to move whatever attributes the callbacks modify to another model? your User.rb after_save callbacks to another model? On Jul 27, 8:06 pm, badnaam asitkmis...@gmail.com wrote:

[Rails] Re: order by not working on all

2010-07-29 Thread Mark Horrocks
Greg Donald wrote: Car.order(make).all -- Greg Donald destiney.com | gregdonald.com Thank you! :) It seems odd considering that Car.where(blah blah).order('make') works. Mark Horrocks -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the

[Rails] Re: how to deal with gender

2010-07-29 Thread Ar Chron
Might just be me, but I've always thought of gender as an attribute of a person in your context. I'm not sure where a gender model comes into all of this, but you may be thinking of something I'm not. -- Posted via http://www.ruby-forum.com/. -- You received this message because you are

Re: [Rails] how to deal with gender

2010-07-29 Thread David Kahn
To populate from a static array or from AR I had the same quandry and ended up doing it the 'rails' way as you describe below. Although as you said, it is such a static thing that might as well use a constant array. The other question is to store M/F in Person.gender or store an integer.

Re: [Rails] getting mysql running

2010-07-29 Thread Greg Donald
On Thu, Jul 29, 2010 at 11:28 AM, Dis Tec li...@ruby-forum.com wrote: /usr/bin/ruby1.8 extconf.rb --with-mysql-config=/usr/bin/mysql_config extconf.rb:10:in `require': no such file to load -- mkmf (LoadError)  from extconf.rb:10 This error means you are missing ruby development libraries

[Rails] Re: how to deal with gender

2010-07-29 Thread bingo bob
Thanks chaps. It's now got me thinking. This stuff is not as easy as it looks. Ive given up on gender when I realised that a name can belong to both genders! In English my app is a baby name chooser A baby can have many proposed names but only one surname. A name can be of many types,

[Rails] Re: how to deal with gender

2010-07-29 Thread Robert Walker
David Kahn wrote: To populate from a static array or from AR I had the same quandry According to the way I think, a model object is something you CURD (create, update, read, or delete). Unless you're God you're not going to be creating or deleting genders. I'd go with a static

Re: [Rails] Re: how to deal with gender

2010-07-29 Thread bill walton
On Thu, 2010-07-29 at 19:01 +0200, Ar Chron wrote: Might just be me, but I've always thought of gender as an attribute of a person in your context. It's not just you. -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to this

[Rails] Re: order by not working on all

2010-07-29 Thread Robert Walker
Mark Horrocks wrote: Greg Donald wrote: Car.order(make).all -- Greg Donald destiney.com | gregdonald.com Thank you! :) It seems odd considering that Car.where(blah blah).order('make') works. If I understand it right you don't need the all part at all: Car.order(make) The way I

[Rails] Re: getting mysql running

2010-07-29 Thread Fernando Perez
ERROR: Error installing mysql: ERROR: Failed to build gem native extension. sudo aptitude install libmysqlclient15-dev (or whatever version the libmysqlclient is at for your system) -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the

[Rails] Progress bar for a form containing a file

2010-07-29 Thread Lily ^_^
Hi, I have a form that contains a file field. Since the file can be rather big, I would like to display a progress bar after the user clicks the submit button on the page, so he can see the progress of the upload. I've no idea how to do that, so I search on Google but lots of plugins seem very

Re: [Rails] Re: Migration: updating a column

2010-07-29 Thread Colin Law
On 29 July 2010 15:42, Eric Yen e...@ericyen.com wrote: Thanks. I was under the impression that change_column was only for renaming. Please don't top post on this list. Thanks. rename_column is for renaming, change_column is for changing the attributes of the col. Column On Jul 29, 9:19 

Re: [Rails] Re: how to deal with gender

2010-07-29 Thread Alan Gutierrez
bingo bob wrote: Thanks chaps. It's now got me thinking. This stuff is not as easy as it looks. Ive given up on gender when I realised that a name can belong to both genders! In English my app is a baby name chooser A baby can have many proposed names but only one surname. A name can be

[Rails] Re: contract work, San Francisco area

2010-07-29 Thread Matt Jones
On Jul 27, 8:22 pm, Fearless Fool li...@ruby-forum.com wrote: Craig White wrote: On Wed, 2010-07-28 at 01:27 +0200, Fearless Fool wrote: Thanks! nobody can PM you since you didn't give a PM address Craig Craig: Try clicking on the fearless_fool link at the top of the

[Rails] Re: Progress bar for a form containing a file

2010-07-29 Thread Fernando Perez
in FF 3.6 it's more or less easy. Search for firefox drag drop file upload -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to this group, send email to rubyonrails-t...@googlegroups.com.

[Rails] Re: No more @controller.expects in Test::Unit?

2010-07-29 Thread Frederick Cheung
On Jul 29, 5:23 pm, Fernando Perez li...@ruby-forum. class Admin::OrdersControllerTest ActionController::TestCase   def setup     @controller = Admin::OrdersController.new     @request    = ActionController::TestRequest.new     @response   = ActionController::TestResponse.new    

Re: [Rails] how to deal with gender

2010-07-29 Thread Cesar Sanz
I would use the gender attribute instead of creating a new entity in my model... But it depends on your model design -original message- Subject: [Rails] how to deal with gender From: bingo bob li...@ruby-forum.com Date: 07/29/2010 10:25 Appreciate this is a path well travelled probably. What's

[Rails] Re: Help Please

2010-07-29 Thread Ethan
The log entry you have posted is for a successful attempt, which did happen under certain circumstances while I was fiddling with your site. If the error is making it to the logs you should see an entry that returns code 500 rather than '302 Found'. With any luck it is accompanied by a large stack

[Rails] default_scope in rails 3 with lambda

2010-07-29 Thread Daniel Alejandro Gaytán Valencia
Hello, i am trying to set a default scope so I can pass a proc as argument. This is the code: default_scope lambda { where(language = ?, I18n.locale.to_s) } When I try to get the values, the following error is raised: NoMethodError: undefined method `includes_values' for #Proc:0xb6d85b9c

[Rails] Re: Progress bar for a form containing a file

2010-07-29 Thread Lily ^_^
Fernando Perez wrote: in FF 3.6 it's more or less easy. Search for firefox drag drop file upload Thanks for your reply. Well, in the best world, customers would all use FF (and linux and ogg format :p). Of course, most of them prefer Internet Explorer :S In any case, I need solutions that

[Rails] Stupid question about blocks in before_validation for eg

2010-07-29 Thread Fernando Perez
Hi, I'm hitting a wall in my ruby knowledge. When I have: before_validation { |object| object.permalink = object.title.parameterize } What's that { |object| ...} thing? It's a block, ok, but when does it get executed? When and where does object come from? I tried digging in the Rails source

[Rails] Re: Re: Re: Re: Rails 3 RC

2010-07-29 Thread Afterschool Carl
Look, let's just point out the elephant in the room. Most people think Jeremy is kind of a dick. He wrote a dickish post. We're all still alive. Get over it. -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups Ruby on

[Rails] How does Rails respond to Ajax with JSON?

2010-07-29 Thread winter heat
In Ruby on Rails, why = render :json = array_data shows nothing (as seen in Firebug, the GET in the console), but - response.content_type = application/json = render :text = array_data.to_json shows the data array? -- Posted via http://www.ruby-forum.com/. -- You received this

[Rails] Simple View Template Question

2010-07-29 Thread Eddie Du
I'm trying to render a list of div's with ids item1, item2, item3, etc.. Trying to do it like this: % for i in 0...@items.size % div id=item%= i % .. blah blah .. /div % end % Pretty sure the syntax is wrong. I couldn't find the answer after googling for a bit - perhaps I'm too new and dont

Re: [Rails] Simple View Template Question

2010-07-29 Thread Angel Robert Marquez
% @items.each do |item| % div class=item%= item.id % %= item.record-name % /div % end % I think it goes model.method action |table| tuple.relvar. I took the logic from here http://guides.rails.info/getting_started.html#rest http://guides.rails.info/getting_started.html#restand applied the

[Rails] Re: testing authentication with basic_auth

2010-07-29 Thread anywho
Thanks but that didn't help. I've followed the documentation here: http://api.rails.info/classes/ActionController/HttpAuthentication/Basic.html#M000214 I don't understand why authorize broke, but nothing else I try seems to work either. Help is appriciated. On Jul 8, 4:57 pm, Bala Paranj

[Rails] Re: testing authentication with basic_auth

2010-07-29 Thread anywho
I should probably mention that this is with rails3 and the file you refer to doesn't exist in rails3 On Jul 29, 8:27 pm, anywho eydai...@gmail.com wrote: Thanks but that didn't help. I've followed the documentation here: http://api.rails.info/classes/ActionController/HttpAuthentication/Bas...

[Rails] Re: order by not working on all

2010-07-29 Thread Mark Horrocks
Robert Walker wrote: Car.order(make) The way I understand it all is a special method designed to get all records in a similar way as all was in the old syntax. In other words: Car.find(:all, :order = 'make') not the same as Car.all Ah yes, that would take advantage of the lazy

[Rails] Re: I'm trying to get started with AJAX and having a problem..

2010-07-29 Thread Bob Smith
Found the answer. I was making it much too complicated.. $(search).focus(); did just fine Bob On Jul 23, 6:15 pm, Bob Smith bsm...@gmail.com wrote: I'm trying to set the focus to the first (and only} field on a search form and having no luck. From searching with google, I came up with:

[Rails] Re: testing authentication with basic_auth

2010-07-29 Thread anywho
here we go... I filed this ticket: https://rails.lighthouseapp.com/projects/8994-ruby-on-rails/tickets/5246 On Jul 29, 8:31 pm, anywho eydai...@gmail.com wrote: I should probably mention that this is with rails3  and the file you refer to doesn't exist in rails3 On Jul 29, 8:27 pm, anywho

[Rails] Re: Ruby ORM and other tools for CUBRID Database System

2010-07-29 Thread CUBRID
Hello Matt, I have pushed CUBRID gem to the Rubygems.org, so now you can install Ruby driver for CUBRID using gem install cubrid command. Right now I have tested with Ruby 1.8.7, later today I will test for 1.9.1 and push the gem. If you have any questions, I will be glad to know your opinion.

[Rails] Re: Rspec + Callbacks Classes

2010-07-29 Thread Abhishek shukla
Friends any clue still struggling. :( On Thu, Jul 29, 2010 at 6:04 PM, Abhishek shukla bettera...@gmail.comwrote: Hello Friends, I am using rspec for testing my model, and I have used callbacks in my model as things are working as expected on the front end. but when I try to test the

Re: [Rails] Re: Rspec + Callbacks Classes

2010-07-29 Thread Angel Robert Marquez
anObjectNotAmethodStringOrBlock=CreateProfileCallBacks.new On Thu, Jul 29, 2010 at 10:27 PM, Abhishek shukla bettera...@gmail.comwrote: Friends any clue still struggling. :( On Thu, Jul 29, 2010 at 6:04 PM, Abhishek shukla bettera...@gmail.comwrote: Hello Friends, I am using rspec for