Displaying 20 results from an estimated 1000 matches similar to: "Translate to one language: Globalize is overkill?"
2006 Mar 28
2
Typo 2.6.0 broken with Rails 1.1
Updated today, got Typo 2.6.0 broken with Rails 1.1 (Ruby 1.8.4) --
WEBrick does not start.
Is there any workaround except "svn co" with Typo trunk?
--
Yaroslav Markin
yaroslav at markin dot net
2006 Mar 05
1
encoding: utf8 in database.yml causes error
Hi
Using ruby 1.8, rails 1.0, mysql 4.1.11
in database.yml:
adapter: mysql
encoding: utf8
database: myproject_development
username: user
password: password
socket: /var/run/mysqld/mysqld.sock
but when I start the error I get:
Can''t initialize character set utf8 (path: /usr/share/libmysqlclient/charsets/)
Can anyone tell me what file it''s looking for, and how I
2006 Mar 21
4
activerecord - mysql blobs...
I''m struggling with activerecord and mysql blobs (uploading files)...
blobs over 400K-ish cause the below exception...
ActiveRecord::StatementInvalid in File#upload
Mysql::Error: Lost connection to MySQL server during query:
I''ve tried blob, mediumblob, and longblob...
I''m using windows xp for development - and have not installed the mysql
gem...
simlar google
2006 Mar 28
5
Your RoR 1.1 Adoption Prediction?
What is the likelyhood that major inexpensive webhosts like godaddy,
bluehost, etc. will upgrade to RoR 1.1? Is this going to be like PHP 5
where it has to percolate for a year or more before it becomes widly
available? Your thoughts?
Along the same lines... is it possible to adopt some of the new improved
Ajax / javascript capabilities without actually upgrading the ruby
installation?
2006 Jan 30
8
Translating a validtion flash
I''m a belgian Rails user (Dutch is my native language). I wondered if
it is possible to translate error messages (generated by validators).
I know how to create my own error messages:
def method
content
rescue
logger.error(...)
flash[:notice] = ''My own error message"
redirect_to(...)
But where can I find the validator''s .rb files, so I can change them?
2006 Mar 30
13
need an Ruby on Rails IDE
Hello everybody,
I''m a new member on Ruby on Rails.
I''m friendly on using Microsoft Visual Studio (VS) IDE.
The VS IDE supports for Intellisense coding (that mean it will
automatically display a list of member variables or functions for a
class, struct, union, or namespace; the names and types of parameters
required by a function or attribute; and the complete declaration for
2006 Mar 16
21
RadRails 0.6 out
Since RadRails 0.6 is out (see http://www.radrails.org/ ), I have made a
"celebratory illustrated tutorial" on how to use the Eclipse update function
to do the upgrade from within Eclipse (I found the process a tad confusing):
http://wiki.awebfactory.com.ar/awebfactory/published/UpdateRadRails
saludos,
Victor Kane
awebfactory.com.ar
-------------- next part --------------
An HTML
2006 Mar 30
10
Problems upgrading to Rails 1.1
Hi All,
I just tried to upgrade to Rails 1.1 on my Linux server and had the following
issue when running the second part of the upgrade.
[root@localhost ~]# rake rails:update
rake aborted!
No Rakefile found (looking for: rakefile, Rakefile, rakefile.rb, Rakefile.rb)
/usr/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake.rb:1635:in `load_rakefile''
(See full trace by running task with
2006 Feb 27
2
Read IMAP
Hello,
I have a question about IMAP : I want read a IMAP mailbox in my
application.
I have found 2 pages about this :
http://wiki.rubyonrails.org/rails/pages/HowToReceiveEmailsWithActionMailer/versions/203
http://www.codefetch.com/search?qy=login&lang=ruby
But, Rails don''t want use ''net/imap''. So I can''t =(
Thank you for your help
pmt
--
Posted via
2006 Mar 30
1
Globalize DB translate not working in Rails 1.1.0
It seems there have been some changes to ActiveRecord between Rails
1.1.0 RC and 1.10 Final that cause Globalize to fail; 1.10 RC was
working fine. When retrieving records from the DB only the base language
version is fetched, even when the locale has been set differently. The
SQL in the log confirms that Globalize is ignored and a regular find()
is performed.
2006 Mar 19
38
Macbook for Rails Development
Hi All,
I''ve finally got fed up of struggling with Windows and am on the verge
of splashing out on a Macbook for Ruby/Rails development. I''ve seen
DHH''s post about it on loudthinking but I wondered if anyone else has
any more wisdom...
Is it worth it over a powerbook? Any tips on good OSX apps for Rails
dev (textmate, i know already)? Anything not working well on
2018 Jun 06
1
minor problem in XML package
[The package XML is labelled ORPHANED and a comment says the CRAN team
maintains it. I am not sure what address to send this to.]
In package XML version 3.98.1.11, RUtils.c registers the C function
RS_XML_xmlNodeChildrenReferences twice. The registration information is
identical but this could cause maintenance problems if the routine were
changed.
% grep -n RS_XML_xmlNodeChildrenReferences
2008 Mar 11
1
Rtools and GCC4 problem
>>
I am trying to compile rseries from Whit Armstrong and a colleague of mine found
a problem with using GCC4
I get the following error when compiling rseries
g++-sjlj -Ic:/R/include -O2 -Wall -c Rutils.cpp -o Rutils.o
Rutils.cpp: In function 'double* getColPointer(SEXPREC*, int)':
Rutils.cpp:406: warning: deprecated conversion from string constant to 'char*'
2006 Jan 18
1
Globalize: :select option not allowed on translatable models
Hi all
I got the following error after trying to get the Globalize plugin to
work:
:select option not allowed on translatable models
What could be the problem? I just created a plain new Rails app,
installed Globalize through SVN, migrated the DB schema, created a
scaffold for Product, and edited the Product model like the following:
class Product < ActiveRecord::Base
translates :name,
2006 Apr 20
2
Globalize : how to detect if a translated text is available ?
Hi all,
I was wondering how one can detect if a translated text is available
when using the globalize plugin.
If this is possible , then I would like to make the following :
For example, in your view you have :
<%@menu.each { | item | %>
<%=item.t%>
<%}%>
Now what I would like to happen is , when the menu item has no
translation available , and when a admin is logged in
2006 Feb 06
2
Globalize plugin, now I have two classes with the same name
Hi, newbie here.
I''m using the Globalize plugin, which defines a model with the same
name as one of my existing models. We both use a model called
Country. The Globalize Country model (within vendors/...) is wrapped
in module like this...
module Globalize
class Country < ActiveRecord::Base
...
end
end
And this is my Country model (within app/models)...
class Country <
2008 May 31
2
Exec format error during globalize plugin install
While trying to install the globalize plugin (website down? --
http://www.globalize-rails.org/globalize/) for Rails, all the files
seem to be transferred and placed properly, but I get the following
error when install.rb attempts to run:
Exec format error - rake -f C:/clients/MyClient/code/vendor/plugins/
globalize/../../../Rakefile globalize:upgrade_schema_to_1_dot_2 &&
exit 1
I see
2006 May 03
1
Globalize app example anywhere?
Hi!
Is there anywhere tutorial how to create working application using
globalize plugin?
I need to create a site in 3 different languages and i was suggested to
use globalize plugin. I''ve read a bit on globalize wiki page and pdf
from the presentation available on the same page, but i still can''t
figure out how to use it.
1. Can i translate names of models and columns
2006 Jan 23
7
Globalize - Wiki down, docs down, status?
Hi,
Currently the wiki entry for Globalize
http://wiki.rubyonrails.org/rails/pages/Globalize+Plugin
http://globalize.diluvia.net is down,
--
Posted via http://www.ruby-forum.com/.
2006 Feb 11
1
problem with globalize
Hi,
Somehow the date translation example in globalize doesn''t work for me.
Loading development environment.
>> Locale.set("es-ES")
=> #<Globalize::Locale:0x254df78 @code="es-ES", @language=nil, @country=nil>
>> Time.now.localize("%d %B %Y")
=> "11 February 2006"
>>
Any ideas??
Thanks!
Jeroen