Displaying 20 results from an estimated 10000 matches similar to: "[3.1.0.rc4] MultiJson::DecodeError with alternative I18n Backends"
2011 May 30
3
Alternative I18n convention for namespaced models
https://github.com/rails/rails/issues/1402
Can we expect support for that in Rails 3.1.0 ?
Robert Pankowecki
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group.
To post to this group, send email to rubyonrails-core@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-core+unsubscribe@googlegroups.com.
For
2011 Jun 14
3
[3.1.0.rc4] plugin installation
rails plugin install https://github.com/delynn/userstamp.git
/usr/lib/ruby/gems/1.8/gems/railties-3.1.0.rc4/lib/rails/commands/
plugin.rb:277: Commands is not a module (TypeError)
from /usr/lib/ruby/gems/1.8/gems/activesupport-3.1.0.rc4/lib/
active_support/dependencies.rb:237:in `require''
from /usr/lib/ruby/gems/1.8/gems/activesupport-3.1.0.rc4/lib/
active_support/dependencies.rb:237:in
2011 Jun 10
0
Rails 3.1 RC4 with jruby-1.6.2 and stream-renderer missing constant Fiber
I just followed the railscast http://asciicasts.com/episodes/266-http-streaming
to have streaming. calling the http://localhost:3000/users ends up
with following error:
[INFO] NameError (uninitialized constant
ActionView::StreamingTemplateRenderer::Fiber):
[INFO] /home/kristian/projects/sandbox/rails3.1/rails3.1-test5/
target/rubygems/gems/actionpack-3.1.0.rc4/lib/action_view/renderer/
2011 Aug 20
1
Asset Pipeline (Rails 3.1.0.rc4)
Hey all,
I''ve got an issue trying to figure out this asset pipeline stuff... So
in my application layout, I have:
<%= stylesheet_link_tag "application" %>
which translates the URL to /assets/application.css in the HTML output.
The problem is that it can never find it -- I can see the file under
app/assets/stylesheets/application.css . I''ve tried moving it
2011 Jun 09
1
Rails 3.1 RC4 has broken migrations
Rails 3.1 RC4 has broken migrations
$ jruby -v
jruby 1.6.2 (ruby-1.8.7-p330) (2011-05-23 e2ea975) (Java HotSpot(TM)
64-Bit Server VM 1.6.0_24) [darwin-x86_64-java]
$ jruby -S rails -v
Rails 3.1.0.rc4
$ jruby -S rails new myapp -d jdbcpostgresql
[...]
$jruby -S rake db:create
[...]
$ jruby -S rails g model user name:string
invoke active_record
create
2011 Sep 05
1
I18n.locale Setting invalid
I like this set of
code:
before_filter :set_language
def set_language
request_language = request.env[''HTTP_ACCEPT_LANGUAGE'']
request_language = request_language.nil? ? nil :
request_language[/[^,;]+/]
I18n.locale = request_language if request_language &&
File.exist?("#{Rails.root.to_s}/config/locales/#{request_language}.yml")
end
if i setting
2010 Jun 18
0
i18n routes and resource names problem
Hi,
I recently tried to adopt localized resource names usage, in
particular using the http://github.com/kwi/i18n_routing plugin, but
faced a problem with HTML escaped non ANSI characters in route names.
I''ve created a ticket to track this down:
https://rails.lighthouseapp.com/projects/8994-ruby-on-rails/tickets/4896
The problem was introduced with
2004 Sep 15
0
well-known groups and i18n
I'm confused with group mappings. I have a win2k pt_BR server in
native mode. After joining the domain (samba-3.0.7) and configuring
winbind, I have these standard groups:
# getent group
(...)
MYDOMAIN\Computadores do dom?nio:x:16777216:
MYDOMAIN\Controladores de dom?nio:x:16777217:
MYDOMAIN\Administradores de esquemas:x:16777218:MYDOMAIN\Administrador
MYDOMAIN\Administra??o de
2011 Sep 03
0
Nightmare! - an nginx alternative for unicorn
This is a slow client buffering layer which may be used instead
of nginx to protect Unicorn from slow clients.
Nightmare! will _never_ beat nginx in raw throughput nor
performance. It /may/ be easier to setup than nginx and a
suitable alternative to Rainbows! for users who do not wish to
maintain a thread-safe/async-safe Rack application.
Code changes to the existing Unicorn codebase are
2020 Nov 22
1
Dovecot alternatives with good i18n support?
Hello!
I?m interested in exploring alternative IMAP servers that have good
support for internationalised email, such as support for SMTPUTF8, IDN
mail domains, Unicode local-part, etc. etc.
If you used to use Dovecot, and found an alternative that does such
things well, I would very much like to hear it.
Thank you,
--
David
2011 Jun 22
2
Rails 3.1.rc4 problem with loading stylesheet
Hello
In any project in rc4 i can''t load style in stylesheet_link_tag, and
interested is that in html link tag too.
All style don''t work. Have anybody this problem too ? Is a problem
with current version or something other ?
Michal
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group.
To post to this group, send
2009 Dec 29
1
undefined method `alias_method_chain' for I18n::Backend::Simple:Class
Hi,
We are running RE:
ruby 1.8.7 (2009-06-12 patchlevel 174) [sparc-solaris2.10], MBARI
0x8770, Ruby Enterprise Edition 2009.10
I tried a simple web app with a controller rendering a text and is
working in my PC but on the server I get:
Error message:
undefined method `alias_method_chain'' for
I18n::Backend::Simple:Class
Exception class:
NoMethodError
Application root:
2011 Jul 22
2
ActiveSupport not including i18n?
Went to use ActiveSupport in a gem today and got an error on account of not
having i18n installed. Either bundler should be installing i18n along with
activesupport or docs need to be updated.
quick repro: https://github.com/softwaregravy/repro_active_support_i18n
bundle exec irb
require ''active_support/all''
detailed steps and error:
1) add to Gemfile
require
2008 Feb 27
8
ActiveRecord validation messages not I18N-friendly and enforces grammar
ActiveRecord validation messages are currently not I18N-friendly.
Specifically, I''m referring to the fact that it enforces a certain
grammar, namely the beginning of the message must consist of the field
name. For example:
validates_presence_of :name, :message => "can''t be blank."
...generates the message "Name can''t be blank". This grammar
2010 Aug 21
2
Rails 3: I18n.locale not set to I18n.default_locale in production
I have an application that uses I18n, but in the first deployment, I
don''t want to enable different languages per user/request because
there are very few users who all speak german).
Therefore I have config.i18n.default_locale = :de in config/
application.rb.
I have no code whatsoever to set/change I18n.locale in my app.
In development environment, it works as expected: the
2013 Jun 08
1
ActiveSupport::Concern support Module#prepend?
I''ve monkey patched this behavior into a gem and I was wondering if core
would be interested in a PR to add Module#prepend support to
ActiveSupport#Concern. I''ll add tests of course.
The code is here:
https://github.com/dockyard/easy_auth/blob/master/lib/easy_auth/active_support/concern.rb
My monkey patch work for what I''m trying to do but I suspect a better
2006 Aug 23
11
i18n friendly, plugable Rails Core
In my work with a simple localization plugin, i''m running into a lot of
places in the Rails core, where text and other localization specific
information is hardcoded.
I''ve included some examples in the bottom of this post.
It''s hard for an outsider to know, if the hardcoded values are a result
of inconsistency in code, or "by design". I hope that we can have
2006 May 05
0
Updating Squirrelmail-i18n dependency
Because of a folder display problem caused by certain character encodings used
in some email headers we had previously updated to squirrelmail-1.4.6-1 and
installed squirrelmail-i18n-1.4.6-1 to cope. Yum is now trying to update our
installation with the latest offical Centos release but there does not seem to
be a corresponding squirrelmail-i18n rpm available in any of the repositories
which is
2009 Jun 24
3
I18N: allocator undefined for Proc
Hello all,
I''m trying to translate my application using the I18N feature and it was
working fine until I added a couple of new entries to the en.yml files.
Now in every action in my application I always get the following error:
TypeError in Account#login
Showing app/views/account/login.rhtml where line #2 raised:
allocator undefined for Proc
Extracted source (around line #2):
1:
2:
2009 Jan 17
2
active_scaffold + i18n
Hello all,
I have a project where I''m using active_scaffold and would also like to use
i18n over it.
While the i18n works fine if I just ignore the active_scaffold, I couldn''t
get it running with it.
I searched through its docs and googled quite a bit. Can I use i18n with
active_scaffold?
thanks
cheers
--
gallois
aka Felipe Gallois
blog: www.gallois.com.br/blog
fanglib