# Getting 'block not supplied' with Rspec

**URL:** <https://www.ruby-forum.com/t/getting-block-not-supplied-with-rspec/119987>\
**Category:** RSpec\
**Created:** [November 12, 2007, 6:41pm UTC](https://www.ruby-forum.com/t/getting-block-not-supplied-with-rspec/119987 "2007-11-12T18:41:41Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![unknown](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/u/4bbf92/32.png) [@unknown](https://www.ruby-forum.com/u/unknown)\
**Post date:** [November 12, 2007, 6:41pm UTC](https://www.ruby-forum.com/t/getting-block-not-supplied-with-rspec/119987/1 "2007-11-12T18:41:41Z")

</div>

Hi,

I am usinh RoR w/ Oracle as my DB.

For one my example in spec I get 'block not supplied error:

Here is the sample code:

Engagements::Engagement.find(:first).project\_id

I tried to google but did not find any substantial result other than  
[http://www.nabble.com/Rspec-+-Oracle-t3756739.html](http://www.nabble.com/Rspec-+-Oracle-t3756739.html) where someone has  
faced  
such an issues.

Wonder what could be the work around.

Cheers,  
Amit

+=========================================================+  
This message may contain confidential and/or privileged  
information. If you are not the addressee or authorized to  
receive this for the addressee, you must not use, copy,  
disclose or take any action based on this message or any  
information herein. If you have received this message in  
error, please advise the sender immediately by reply e-mail  
and delete this message. Thank you for your cooperation.  
+=========================================================+

---

<div class="post-metadata">

**Author:** ![unknown](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/u/4bbf92/32.png) [@unknown](https://www.ruby-forum.com/u/unknown)\
**Post date:** [November 12, 2007, 6:43pm UTC](https://www.ruby-forum.com/t/getting-block-not-supplied-with-rspec/119987/2 "2007-11-12T18:43:27Z")

</div>

On Nov 11, 2007 7:47 PM, [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Hi,
> 
> I am usinh RoR w/ Oracle as my DB.
> 
> For one my example in spec I get 'block not supplied error:
> 
> Here is the sample code:
> 
> Engagements::Engagement.find(:first).project\_id

I think this is a rails question - have you tried the rails list?
