Displaying 20 results from an estimated 1300 matches similar to: "Globalize plugin, now I have two classes with the same name"
2006 Apr 18
2
Implementing Globalize
Hello all,
I was wondering if any of you know some good documentation that
points out how to implement the Globalization plugin in your existing
application.
Also some text on how to use a cms like system with Globalization
(how to handle the population of the translated texts per item for
example)
With kind regards,
Gerard de Brieder.
Govannon.
tel : +31624739047
2006 Apr 04
1
Apache, SSL, Mongrel and File upload question...
Not sure, but this might have something to do with Net::HTTP being broken
in Ruby 1.8.4. See:
http://shnoo.gr/articles/2006/04/03/ruby-1-8-4-breaks-net-http
Josh
http://shnoo.gr
--- rails@lists.rubyonrails.org wrote:
But
now, alas, I try to upload a file. Attempting to upload a file gives me
a ''bad content body'' error at line 981 of cgi.rb, in the read_multipart method.
2006 Feb 26
5
Plugins? Components?
Hi,
Newbie here :)
Can someone help explain the difference between "plugins" (put in the
/vendor/plugins directory) and "components" (put into the /components
directory)?
Is it just that "plugins" have an init.rb file that is automatically loaded?
Also, how can I dynamically find out which files/controllers are
available in the /components directory?
Thanks,
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/.
2005 Dec 21
10
Globalize plugin
Is there any working example on using the Globalize plugin?
It could help alot
Thanks in advance
--
Alexander Antonakakis
email: alexis-+Saq9+MPrF0@public.gmane.org
2006 Jun 05
0
Failed to install Globalize plugin
My envrionment is Rails 1.1.2, Ruby 1.8.4, MySQL 5.0.21 on WinXP. When I
run ''rake migrate'' after pulling the lastest 1.1 branch of Globalize
plugin, I get the following error message:
(in C:/Rails/Application/medicalmind)
== GlobalizeMigration: migrating
==============================================
-- create_table(:globalize_countries, {:force=>true})
-> 0.2110s
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 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 Feb 08
7
DRY methodology
because I am a grasshopper...
Now that I can sort my ''list''...is there a logical way of not repeating
myself to having essentially the same list view with multiple sorts?
i.e.
def list_cl
# ordered by clients last name
@placement_pages, @placements = paginate(
:placements,
:include => [:client],
:order_by =>
2006 Feb 13
10
Clearing browser history?
Hello everyone,
I''ve got an app where, when a user logs out, I want the browser
history to be cleared so no-one can go back and see what the user was
doing.
I remember seeing info on how to do this before - can''t find it in
Google (the search terms "clear", "browser" and "history" aren''t that
great!), which means I can''t remember
2006 Feb 15
9
Liquid - form helpers? multiple liquid templates?
Hi,
Its taking me a long time to get my head around the Liquid plugin. I
have a couple of questions which hopefully someone can help me with...
- How difficult would it be to add some kind of Filter or Tag which
would allow other Liquid templates to be included into the current
Liquid template (eg. similar to render(:file => "filename")
- How difficult would it be to add
2006 Feb 06
3
linked table confusion
placement.rb
has_one :client
has_one :case_manager
client.rb
belongs_to :case_manager
has_many :placements
case_manager.rb
has_many :clients
has_many :placements
I am trying to create a view file for placements.
I can pull columns from clients table in this view by using...
<%= @placement.client.wholename %>
but if I use
<% @placement.case_manager.wholename %>
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 Feb 13
9
Please e-mail (not only post) the Forum Instructions URL
Am I just blind, or are there no links to the instructions, e.g. the
Search syntax or how to get back to a thread I started on RoR?
Or do those links, buttons, whatever only show / work in IE?
Thanks for any help; sorry if I can''t figure out something I should be
able to.
jandjharris (at) gmail.com
--
Posted via http://www.ruby-forum.com/.
2006 Feb 02
8
How to get all selected rows in the mutli-selection listbox?
Hi,
I have created a multiple selection listbox with
rails, when I try to get the rows selected by user,
rails send back only the first one, how can I get the
other selected rows????
I created the listbox with the following function:
select_tag("form__list1",
options_for_select(["A","B","C","D"], selected = "A"),
html_options =
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 Jan 18
15
Anyone got Globalize working???
Hi all
In another thread I complain about an error I get after trying to get
Globalize working.
http://www.ruby-forum.com/topic/51988#new
Now I want to ask you, if anybody of you has ever got Globalize working?
I have done exactly what''s written in the (absolutely much too short)
tutorial of its wiki...
http://globalize.diluvia.net/wiki
...and I''m very frustrated that no
2006 Feb 22
3
Reading files from dir
I have gif files in my public/images/posticons directory, I want to read
their filenames without the extension to list the files as a set of
radio buttons in the form:
[code]<%= radio_button("thread", "posticon", imgname) %>
<img src="/images/posticons/<%= imgname%>.gif" alt="" />[code]
Would I be saving myself a lot of time and server
2006 Feb 13
3
Multi language
Hello,
I''m pretty new to RoR, and I''m stuck on implementing multi language support
with RoR. I''m interested how do you handle this situation.
Does RoR have support for XSLT ?
Thanks in advance.
2006 Feb 23
3
Decimal comma instead of decimal point (i18n issue)
Hello,
What is the easiest way which enables usage of decimal comma "," instead
of decimal point (".") . I would like to force all RoR views to display
float numbers with comma instead of decimal point and also to allow
insertion of float numbers with comma in forms.
Thanks in advance,
Karel
--
Posted via http://www.ruby-forum.com/.