On 26 nov, 00:28, Diego Carrion <[EMAIL PROTECTED]> wrote:
> Hi,
>
> i think _all can be a better namespace than global-attributes, good
> idea (:
>
> Does everybody thinks the same?


Hello,
what about using 'default' ?

By the way I have an issue with your plugin:
>> >> Page.human_attribute_name 'created_at'
won't work for example.

It seems I have problems with default already defined to the
column_name
humanized, and with the scope [:activerecord, :attributes]

I pasted a gist of a version which seems to be working :
http://gist.github.com/30002
It certainly is really ugly, I'm checking the scope and if the default
option is
equal to the humanized column name, but it seems to be working.
The second rev of this gist is cleaner but the default was lost.

PS: Sorry if this message is sent twice, my first mail may be lost in
spam

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"rails-i18n" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rails-i18n?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to