Yep, that solved it. Thanks!
On Mon, Jun 22, 2009 at 3:02 PM, David Chelimsky wrote:
> On Mon, Jun 22, 2009 at 2:57 PM, Peer Allan
> wrote:
> > Thanks David, I completely missed that in your first response.
>
> No problem. Let me know if it helps :)
>
> > Peer
> >
> > On Mon, Jun 22, 2009 at 2:3
On Mon, Jun 22, 2009 at 2:57 PM, Peer Allan wrote:
> Thanks David, I completely missed that in your first response.
No problem. Let me know if it helps :)
> Peer
>
> On Mon, Jun 22, 2009 at 2:31 PM, David Chelimsky
> wrote:
>>
>> On Mon, Jun 22, 2009 at 2:07 PM, Peer Allan
>> wrote:
>> > Still h
Thanks David, I completely missed that in your first response.
Peer
On Mon, Jun 22, 2009 at 2:31 PM, David Chelimsky wrote:
> On Mon, Jun 22, 2009 at 2:07 PM, Peer Allan
> wrote:
> > Still having trouble, here is my code.
> > Code:
> > class MyFormBuilder < ActionView::Helpers::FormBuilder
> >
On Mon, Jun 22, 2009 at 2:07 PM, Peer Allan wrote:
> Still having trouble, here is my code.
> Code:
> class MyFormBuilder < ActionView::Helpers::FormBuilder
> def custom_select(field_name, *args)
> field_name ||= :salutation
> salutations =
> Lookup.for_type_and_column('Contact','salutati
Still having trouble, here is my code.
Code:
class MyFormBuilder < ActionView::Helpers::FormBuilder
def custom_select(field_name, *args)
field_name ||= :salutation
salutations =
Lookup.for_type_and_column('Contact','salutation').map{|lookup|
lookup.description}
select(field_name, sa
On Mon, Jun 22, 2009 at 12:53 PM, Peer Allan wrote:
> Hello all,
> In a bit of a conundrum here. I have a custom form builder I am trying to
> test and can't seem to get it to work. I found this
> http://www.pathf.com/blogs/2007/12/rspec-and-rails/
Things have changed a bit since Dec 07. The hel