similar to: Failed to install Globalize plugin

Displaying 8 results from an estimated 8 matches similar to: "Failed to install Globalize plugin"

2006 Apr 13
0
Globalize not with Rails 1.1.2
Does anybody have the latest Globalize (r184) working with Rails 1.1.2? I can''t seem to get a very simple example to work: ----- ruby test/unit/news_item_test.rb Loaded suite test/unit/news_item_test Started F. Finished in 0.10109 seconds. 1) Failure: test_add_content_translations(NewsItemTest) [test/unit/news_item_test.rb:49]: <"US Title"> expected but was
2006 Sep 05
0
rake craziness with Migrate as a dependency
Hi everyone, For one of our projects we have a need to deploy and maintain a demo. As a result I''ve attempted to setup a set of rake tasks for the job. My goal is have one rake task called "deploy_demo" which purges the database, migrates to the current schema, and loads the db from a set of fixture files in a specified location. I''ve written two new tasks the perform
2006 Jan 27
3
Formatting Data in rhtml
Is there a simple way to format your data in the .rhtml file? I come from a PHP/Smarty background, and in the templates, I''ve used what is called "modifiers" to format data. {$price|currency_format} # displays in currency format {$description|truncate:"100"} # Truncates the description after 100 characters It seems like the template (rhtml) would be the ideal
2007 Aug 07
4
Execute additional commands after creating database?
I''m writing some code that accesses some lagacy database on PostgreSQL. Since the old database had some really ughly and weird naming conventions (like CamelCase). To work around this I created a second schema (named rails) in the same database and gave the tables and fields some rails-friendly names. The database user that Rails uses has its search_path set to the rails schema. That way
2006 Feb 17
4
Need Help with Globalize Plugin
Hi everyone, I''ve been playing around with the Globalize plugin for some days now but I can''t seem to make it work properly with my models. I''m currently using Postgres 8.0 for the database and needed to make some modifications with my migration file that was posted by Jake Morrison in the Globalize wiki...
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
2006 Nov 04
0
Globalize & caching
Currently only the translated keys are being cached, those that have no translation are not. I believe a form of caching should be done for the keys/strings that do not have (yet) a translation, because right now the application keeps trying to find a translation that is not there. A mundane way would be to cache a predefined value for strings that did not have a translation, and return the
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 <