similar to: NEED: Localization tool and Rails 2.0.2

Displaying 20 results from an estimated 30000 matches similar to: "NEED: Localization tool and Rails 2.0.2"

2008 Apr 02
9
application.html for website in 2 languages?
Hello, I''m a newbie on the rails environment. I''ve just created an application.html.erb to have the same layout on all pages but the site will be available in 2 different languages, then with 2 different layouts. Then I would like to have an application.html.erb with the layout in French and an application.html.erb with the layout in English. Thanks you for your help, --
2007 Oct 07
7
Ruby on Rails on WAMP
I am using WAMP(windows, Apache, mySQL and PHP) for my web development. So I have already MySQL and Apache working. Could any one tell me how to install Ruby on Rails on this environment? Can I just put ror in the root directory, www? A newbie needs your help. :-) -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because
2007 Sep 12
10
Need help refactoring a controller, perhaps add threading?
Good morning, I''ve been working on my first Rails app. I''m replacing an old Perl script that scrapes a bunch of data from an Oracle database, generates a bunch of charts then builds a static webpage with the charts. I''ve re-built it in Rails, with about 25% of the code it took to do in Perl and the users can now get dynamic charts instead of day old charts (or
2008 Aug 23
1
Simple localization in Rails 2.2
Does it works in Rails 2.1? http://almosteffortless.com/2008/07/21/simple-localization-in-rails-22/ If not, where I can get Rails 2.2 BETA to test this? -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email
2006 Sep 21
10
Can I use 2 DB connections in my app?
Hi there! How can i use 2 database connections in my rails application ( if it''s possible of course ): one for reading from DB and one for writing to DB? Thanks, Dmitry -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To
2007 May 15
4
Need help with singleton worker
We have a fairly expensive task that we''d rather not schedule too many instances of in parallel. Couldn''t get pool_size to limit the amount of workers, and I figure that''s hardly optimal anyway, so would like to have the work queued up for a single named worker instead, running as soon as possible. Using MiddleMan.schedule_worker() with :job_key does start off a
2007 Aug 29
12
ruby on rails search engine
He all, who can recommend me search engine(search for different models) for my web-site? ps: i know about ferret for example, but maybe there are some others? Thank you -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this
2006 Jul 20
4
SVN rails problem
My rails project is at version 52. I want to revert the whole app to version 50, effectively ignoring v 51+52 I ran "svn update -r 50" in my working copy. Success. I have done some work on version 50, but when i try commiting it tells me that the file im commiting is out of date. DOes anyone know the solution? Thanks Chris -- Posted via http://www.ruby-forum.com/.
2005 Nov 20
1
Just another localization thread
Hey all, I was playing w/ Thomas Fuch''s Localization module (thanks Thomas!), and just realized how hard is to localize an application in Rails :-) The Localization module works nice, but the problem is the error messages. Its not that good to keep the application in [your idiom] and the error messages in english. I saw the other threads about it, specially the ones that recommends
2007 May 21
7
How do I stop a column being updated by model.save?
One of my models has a column that is updated very frequently from a separate process, so it is important that when a record is saved in rails, this column should be left alone. In the update method of the controller I have: @record = MyModel.find(params[:id]) @record.update_attributes(params[:my_model]) params[:my_model] doesn''t have a reference to the column I''m talking
2006 Jun 09
12
Securing database from your provider?
Hi. If i had a RoR application dealing with very reserved personal informations about my customers, if my hosting provider would like to, i guess it would be easy for him to steal the data by simply peeking the username and password inside the database.yml file. Is there a way to hide the database password from indiscrete eyes ? Thanks, Marcus Ob. -- Posted via http://www.ruby-forum.com/.
2006 May 25
4
Driving Rails from disk instead of SQL.
Skipped content of type multipart/related-------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part Url : http://wrath.rubyonrails.org/pipermail/rails/attachments/20060525/eac5b0af/attachment.bin
2006 Dec 08
19
HABTM join table quirk
I''ve been bringing up a good basica framework for applications at work. To give decent security I''ve been implementing the Rails Recipie for Authorization of function calls modeled on the book''s implementation. (Changes for our environment were added..but are minor.) Since I initially let Rails create the join table between two data tables with a HABTM relationship....I
2006 May 19
7
AR transactions and isolation levels
I''m trying to create a sequence with no gaps in my db (contrived example, but should work out the same as my real one), and believe db-managed transactions are the way to go about this. It''s my first real ''go'' at transactions, so I may be mistaken about how things really work. Anyway.. Consider this example code: Class Invoice < ActiveRecord::Base def
2011 Dec 06
3
Riak on Camping
Good day, does anyone here have a clue on how to make use of the NoSQL database "Riak" with Camping? I am building my website and Riak seems like pretty much the ultimate database! This would probably ruin every little feature in ActiveRecord, I don''t think I''d be able to do any has_many''s or belongs_to but I''d LOVE to be proven wrong. As far as
2009 Feb 20
1
how can I disable the rails logging in development?
I can''t seem to disable rails logging when using Mongrel. Any fix for this? Also unanswered on the Rails forum: http://www.ruby-forum.com/topic/109422#784596 Re: how can I disable the SQL logging which occurs in develo Posted by Greg Hauptmann (Guest) on 29.05.2007 21:22 You''re exactly correct Isak! Thanks. The logging functionality worked as it should in webrick. Is seems
2006 Aug 08
11
When will rails support true prepared statements?
I''m in an Oracle shop, and it''s the 1 thing that gets on my bosses nerves. I wish they would support this. Anyone any idea if or when it will be supported? Thanks Chris -- Posted via http://www.ruby-forum.com/.
2013 Mar 04
4
sieve-filter ignoring separator
It seems like running sieve-filter from the console ignores the separator setting, thus not letting me filter into folder names containing dots. Normal delivery using lda handles it just fine, but not when using the sieve-filter command. Character not allowed in mailbox name: '.' Is there anyway to override this or is patching and recompiling the source my only option? # dovecot
2006 May 27
1
Localization of Helper Tags
I''m using the Localization plugin and I''m having trouble figuring out how to localize the values of a helper tag. For instance, how do I get Localization to work on this tag? <%= submit_tag ''Stuff in English'' %> I assumed it would be <%=_ submit_tag ''Stuff in English'' %> But that doesn''t work. I''ve tried a
2007 Aug 23
6
Saving ActiveRecord in PostgreSQL without id
I have a small table that is used to temporarily queue requests, as such it does not have an id field (or any other primary key), because it doesn''t make sense to have one. When I created an ActiveRecord class and tried to save it, I get: ActiveRecord::StatementInvalid: PGError: ERROR: relation "temp_requests_id_seq" does not exist It keeps looking for the id to auto