Create Locale.current
Reported by Bernat Foj Capell | June 14th, 2010 @ 11:01 AM | in 0.8 (closed)
This was discarded in the first version of ubiquo_i18n to better maintain the MVC pattern, but in the end the programmer would benefit from it, and we break some other principles by not including it (like DRY since we have to remember manage it in the controllers) so I think we should add this method.
Comments and changes to this ticket
-

Ramon Salvadó June 17th, 2010 @ 11:57 AM
- → State changed from open to resolved
(from [2729ec999f9ece7ce9343959cf072b1e3ae455d1]) Added Locale.current method, called on create [#319 state:resolved] http://github.com/gnuine/ubiquo_i18n/commit/2729ec999f9ece7ce934395...
-

Ramon Salvadó June 17th, 2010 @ 11:57 AM
(from [9ec4498a98f3191c5f5b6040e2f215470869fdad]) Now on update the correct instance is retrieved if Locale.current is set [#319] http://github.com/gnuine/ubiquo_i18n/commit/9ec4498a98f3191c5f5b604...
-

Ramon Salvadó June 17th, 2010 @ 11:57 AM
(from [d96977df58c5dd9c2517972821f8e61a8107a1ea]) Set Locale.current in UbiquoAreaController [#319] http://github.com/gnuine/ubiquo_i18n/commit/d96977df58c5dd9c2517972...
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
Ruby on Rails based application framework.
Check the ubiquo website.
Source available from github
Ubiquo plugins can be found at http://github.com/gnuine
Check out the development master (Edge ubiquo):
gem install ubiquo
ubiquo --edge myapp
Creating or reviewing a patch
See the contributor guide.
Creating a feature request
If you want a new feature in Ubiquo it's best to implement it yourself.
Creating a bug report
When creating a bug report, be sure to include as much relevant information as possible. Post the code sample that causes the problem. Preferably, alter the unit tests and show through either changed or added tests how the expected behavior is not occuring.
People watching this ticket
Tags
Referenced by
-
#319 Create Locale.current
(from [2729ec999f9ece7ce9343959cf072b1e3ae455d1])
Added L...
-
#319 Create Locale.current
(from [9ec4498a98f3191c5f5b6040e2f215470869fdad])
Now on ...
-
#319 Create Locale.current
(from [d96977df58c5dd9c2517972821f8e61a8107a1ea])
Set Loc...