# :or?

**URL:** <https://www.ruby-forum.com/t/or/116908>\
**Category:** Rails\
**Created:** [October 11, 2007, 12:41am UTC](https://www.ruby-forum.com/t/or/116908 "2007-10-11T00:41:41Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jables](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/58956e/32.png) [@Jables](https://www.ruby-forum.com/u/Jables)\
**Post date:** [October 11, 2007, 12:41am UTC](https://www.ruby-forum.com/t/or/116908/1 "2007-10-11T00:41:41Z")

</div>

Can anyone tell me what the :or option does or what is required to use  
it. I am trying to integrate the beast forum and it is littered with  
statements such as submit\_tag ‘Submit’, :or =\> link\_to(somewhere  
else).

Any ideas would be appreciated,  
JB

---

<div class="post-metadata">

**Author:** ![Jables](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/58956e/32.png) [@Jables](https://www.ruby-forum.com/u/Jables)\
**Post date:** [October 11, 2007, 7:31am UTC](https://www.ruby-forum.com/t/or/116908/2 "2007-10-11T07:31:51Z")

</div>

Jables wrote:

> Can anyone tell me what the :or option does or what is required to use  
> it. I am trying to integrate the beast forum and it is littered with  
> statements such as submit\_tag ‘Submit’, :or =\> link\_to(somewhere  
> else).
> 
> Any ideas would be appreciated,  
> JB

It’s an option custom to Beast:

[http://svn.techno-weenie.net/projects/beast/trunk/app/helpers/application\_helper.rb](http://svn.techno-weenie.net/projects/beast/trunk/app/helpers/application_helper.rb)

–  
Michael W.
