similar to: I found a way to dynamically switch languages in your railsapp -- look at it and give your opinions

Displaying 20 results from an estimated 200 matches similar to: "I found a way to dynamically switch languages in your railsapp -- look at it and give your opinions"

2006 Jan 05
0
I found a way to dynamically switch languages in your rails app -- look at it and give your opinions
step 1) Do what is there in the manual Using Gettext To Translate Your Rails Application as it is. Step2)Now create a table in your project database to store your language names which you are supporting in the project for example "langs" step 3)populate your table with language names, namely hindi, japanes etc. step 4) create a scffold for with aLang controller, just so that life is
2013 Jul 13
0
★ Libvirt Users, Rene Bon Ciric te ha dejado un mensaje
Rene Bon Ciric te ha dejado un mensaje Este mensaje es personal. Sólo tú y su remitente tenéis acceso a él y te recordamos que lo puedes eliminar en cualquier momento. Si quieres responder puedes hacerlo desde el chat. Para leer tu mensaje, haz clic en el siguiente enlace: http://us1.badoo.com/renich/in/l-47pIIAagA/?lang_id=7&g=57&m=21&mid=51e14031000000000007000001f1ad310252eb3f00e9
2012 Feb 10
0
[LLVMdev] Paulo Coutinho left a message for you...
Paulo Coutinho left a message for you... Its sender and content will be shown only to you and you can delete it at any time. You can instantly reply to it, using the message exchange system. To find out what's in the message, just follow this link: http://us1.badoo.com/pcmnac/in/GUikHjCbJWY/?lang_id=3&m=63&mid=4f347a7e000000000003000027ee8a5b Some more patiently waiting folks:
2010 Sep 24
0
¡Marcos Ortiz te ha dejado un mensaje en Badoo!
?Tienes un nuevo mensaje en Badoo! Marcos Ortiz te dej? un mensaje. Haz click en este enlace para verlo: http://us1.badoo.com/marcosluis2186/in/GZba-jJeopY/?lang_id=7 M?s gente que tambi?n te est? esperando: Relquis (Trinidad, Cuba) Yadiria (Trinidad, Cuba) Elcubanito (Trinidad, Cuba) http://us1.badoo.com/marcosluis2186/in/GZba-jJeopY/?lang_id=7 Si al hacer click sobre el enlace, no funciona,
2009 Aug 03
0
Gilberto Nunes deixou uma mensagem para você no Badoo!
Voc? tem uma nova mensagem no Badoo! Gilberto Nunes deixou uma mensagem pra voc?. Clique no link para abrir: http://us1.badoo.com/01097897898/in/BDGmMoCC9H8/?lang_id=61 E, outras pessoas estiveram procurando por voc?: Manoel Felipe (Joinville, Brasil)Mara Leal mendes (Joinville, Brasil)Tiago Gabriel (Joinville, Brasil) Se os links desta mensagem n?o funcionarem, copie e cole os links na barra
2006 Jul 12
5
railsapp/db/migrate Newbie question
I made a mistake when making my first app. I did not use the: ruby script/generate model <modelname> method for creating my models. I more or less hand crafted each og them. Is there a way to go back so I get my db migration scripts to populate? -- Posted via http://www.ruby-forum.com/.
2006 Jul 21
6
Troubleshooting tips for getting Apache/RailsApp/Dreamhost
Hi, Background: I''m currently stuck getting my basic rails application working on dreamhost. I have gone throught the doco. Note that I can via my unix account run "ruby script/server" and get the application working via webbrick. The problem I am having is that trying to go to the app via the normal apache approach my browser just sits and spins with nothing coming
2011 Dec 13
0
Scheduling 2.6.3 release
Hey, I'm scheduling a 2.6.3 release for this week (ie, before going on deserved holidays), around Thursday or Friday. Apart from what is already there, I'd like to see: - the latest nut-scanner developments (lowered runtime deps, thanks to libltdl, and IPMI scan) - the krauler lang_id patch - a few warning fixes (from Regid), if possible If you have anything stagging on your side, or if
2007 Nov 08
0
error on migration
Hi all, I''m just getting started with rspec. I''m using trunk rspec with edge rails. I get an error on migration though, here it is: rake db:migrate RAILS_ENV="test" --trace (in /home/pat/railsapp) ** Invoke db:migrate (first_time) ** Invoke environment (first_time) ** Execute environment rake aborted! undefined method `failure_message'' for class
2005 Mar 08
3
Making a module method available in view
I have a Rails application called RailsApp. In my RailsApp/lib directory, I have a file called localization.rb that defines a module called RailsApp with a Localization class that implements a method l. (RForum devs and fans will recognize this as the YAML-based localization feature in that package.) I want to be able to call this method from my controllers and views. I have added a
2006 Apr 24
12
setup a staging site?
Hi, i''m wondering how to setup a staging site for my RoR app. Right now i run webrick on my laptop to develop, then i svn commit my changes to the production server. However i need to make my development environment available to others and not just for me on my laptop. I have RoR setup on a hosted vps server which runs in production environment. Its on apache 1.3 and mysql. How can i
2007 Jun 22
0
Mongrel_cluster and rails app in a subdirectory
Info: Apache 2.2 mongrel 1.0.1 mongrel_cluster 0.2.1 I''ve had everything working with a bunch of applications like this when the the rails app is the document root, but a client just asked to move the app to a subdirectory, leaving he rest of their site alone. However, I can''t seem to get it to work. Let''s make the assumption that the Apache document root for the
2005 Dec 19
1
Deploying with Sub Directories
Hi, I am following this "tutorial" on dreamhost to deploy with sub directories: 1. Upload your railsapp to ~/railsapp/. ** I have uploaded to /sharemyten.com/list/ (list is my railsapp folder) 2. Make all necessary changes mentioned in the QuickStart Guide above. ** Did this... 3. Create a symlink at the location you want the subdirectory that points to ~/railsapp/public/: $ cd
2006 Feb 24
8
Ruby site structure on Apache
I use a hosting company,it use appache for RoR I test a ''hello word'' code here http://www.smtservers.com/demo/ I can see the working code here http://www.smtservers.com/demo/public/say/hello My question is how to short the url like http://www.smtservers.com/demo/say/hello.I do not like public always in URL Thanks for help Mark -- Posted via http://www.ruby-forum.com/.
2006 Sep 22
1
how about the global data when multiple backgroundrbs ?
Ezra, Suppose a chatroom application, a RailsApp + 2 backgroundrbs: MiddleMan1& MiddleMan2, running in 2 machines. When Chater1 login, RailsApp call MiddleMan1 to get something about Chater1 from db to memory, like his contacts or other personal settings. When Chater2 login, RailsApp call MiddleMan2 do the same thing. But who is reponsible for the Global Data? like a Online Chaters
2006 Feb 06
4
fcgi to run cgi scripts
Dear experts, I have rail site that is running lighttpd and fcgi. I want the default domain to serve the rails application, and I also want to have a virtualhost (bugs.mysite) to resolve to a bugzilla instance. Bugzilla is basically Perl application called through CGI. I tried to find pointers on how to set fcgi to run both rails dispatcher and other cgi scripts in a different virtualhost, and
2006 Mar 02
6
Lighttpd and fastcgi problems...
Hi, I''m having difficulty getting ruby running via Lighttpd and fastcgi. My lighttpd.conf reads: server.port = 81 server.pid-file = "/tmp/test_lighttpd.pid" server.modules = ( "mod_redirect", "mod_access", "mod_fastcgi", "mod_accesslog", "mod_simple_vhost" ) server.document-root = "/tmp/mis/public"
2007 May 31
0
Slave socket problem again
Hello! I have been using backgroundrb for a small project. My worker task is run every minute, checks the processing queue in data-base and execute the business method from Rails if something is to be done. Unfortunately I was hit by the problem of backgroundrb server dying after some runs. The exception is: 20070531-11:06:05 (31816) Starting worker: s_e_work sql_exe (s_e_work_sql_exe) ()
2006 Nov 13
9
Setting up Mongrel and Apache , some direction needed
I have a site that is PHP on Apache / RedHat , but will send requests to a subdomain (running Rails) for database operations. I believe the set up should be to have ROR using Mongrel, and an Apache virtual host passing requests from apache to mongrel. Does this sound correct ? I believe the Virtual Host is set up in Apache. One of my problems is I can''t find the httpd.conf file for
2006 May 20
3
integrate with php-script
I have built a webshop in rails, now it''s time for invoice handling through a third party. The communication will be done by xml-rpc. The built in ruby xml-rpc doesnt seem to be compatible with the third party so I have to use a special php-script (provided by the third party) that will handle the interaction with them. Where on the server should/can I put the script? I would prefer