Frederick

Could you please elaborate "helper :currency?" Can you give an example?

Thanks
Rod

Frederick Cheung wrote in post #1135734:
> On Wednesday, February 5, 2014 7:29:41 PM UTC, Ruby-Forum.com User
> wrote:
>>
>> Frederick,
>>
>> Thanks. I am glad you agree with me. By the way, do you recommend
>> setting this option to false as good practice on every fresh project?
>> Looks like your idea solves the issue, but of course, will force you to
>> dump stuff like you said, in application.rb.
>>
>>
> I always do. It doesn't force you to dump stuff in
> application_helper.rb,
> it just makes that the path of least resistance.
>
>
>>
>> def blabla
>> end
>>
>>
> Personally I'd rather write
>
> helper :currency
>
> in application controller (or whatever is the appropriate subset of
> controllers).
>
> Fred

-- 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/af6c1125e39401948016983f09d2cd78%40ruby-forum.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to