similar to: Multiple language support

Displaying 20 results from an estimated 100 matches similar to: "Multiple language support"

2005 Jan 29
4
format question
how can I get a float to always print two decimal places? Thanks, Jamie
2005 Jul 04
1
Localization problems with leeding html escaped ÅÄÖ
Hi All. When translating a string to in swedish, using HTML codes for å,ä,ö i have a minor problem. Eg: (se.yaml) ui_core_over: Över All I get when calling l(''ui_core_over'') in my view is "Ouml;ver" The leeding & is missing, making the page look silly. The HTML characters works fine as long as it''s not used as the first letter in the string.
2006 May 10
1
acts_as_ferret choking
Hi all, I''ve ran into a problem with Ferret on my rails app, and I don''t really have a clue about why. When running the unit tests, I get the following error output: > Exception raised: > Class: <NoMethodError> > Message: <"You have a nil object when you didn''t expect it!\nThe > error occured while evaluating nil.version"> >
2005 Nov 19
1
Rails as SOAP client with .NET web service
Hi For an application we need to obtain data from a .NET based web service. I''ve been "playing" with some sample code to invoke web services as a soap client. They work ok with services that offer a .wsdl link. However, .NET based services are called with "*.asmx?WSDL". The wsdlDriver (I guess SOAP4R) barfs on this. Anybody have practical experience and willing/able
2005 Sep 17
1
Export to Excel
I need to export some data to an Excel file and found a reference in the HowTo section of the Rails Wiki. Followed it to the letter: added "export" action to controller, copied export.rxml and changed in accordance to model. When I call the export action I keep getting "undefined method `content_columns'' for #<Employee". The ActiveRecord mention content_columns
2005 Dec 15
2
Error: [Object]Controller: missing default helper path [controller]_helper
Hello, I seem to have run into a problem that I can''t seem to make any headway on. I''ve searched the mailing archives, google''d for the appropriate keywords and have checked up with the folks on IRC but I can''t seem to find a solution. My problem is as such. I have a web application that has various controllers which work fine. I''ve added a
2006 Aug 16
6
modeling ''phony'' fields.
Hi, I have a user model with an e-mail field. When a user registers for the site, I want them to confirm their email address by typing it in again. If they change their email address, I want them to confirm their email address by typing it in again. However, the user might change things on their account not related to their email address, such as their phone number, and they should not have
2006 May 09
3
validations erasing the form
Hi there I have a for with a couple of text_fields. I''m doing some validation via the model and when the validation "works" I get there was an error on blah blah the problem is the form is erased and I have to fill up the form again! I saw that scaffold keeps the form filled when the validation "works" but I dont know exactly what''s making it happen! I would
2006 Feb 10
1
Bizarre ActiveRecord::Errors/validation problem
I could be going mad and missing something really obvious here but I''m getting an unexpected result from the following. The schema: create_table :services, :force => true do |t| t.column :id, :primary_key t.column :name, :string, :ilmit => 5, :null => false t.column :port, :integer, :null => false t.column :status, :string end The model: class Service <
2003 Nov 13
2
Apache leaks sensitive info in PHP phpinfo() calls
Hi, I wanted to get some opinions on this subject before I submit a PR about it. I don't know if there are any pitfalls with the 'fix' I suggested and though it best to run it past people here before submitting. If there's a better place to post this please let me know (freebsd-ports?). The send-pr output I was about to send explains everything so I'll just paste it here:
2008 Jun 02
5
validate - message in the flash[:error]
Hi, I want to show the validate - message in the flash[:error] - field but I can''t find any options. An example: class UserPermission < ActiveRecord::Base validates_presence_of :name, :message => "Please insert a name" ... | end V flash[:error] = "Error - " Has anybody a solution for this
2009 Apr 02
3
error_messages_for does not display the error
Hi all I''ve approached Rails since a couple of months to develop a quick application for my company. Fantastic framework. As every noob, I do have some gaps to cover. The one which is giving me a little frustration, generated by my lack of knowledge is as follows. I need to make sure the region object is not deleted if there are countries associated with it. I solved this by putting a
2007 Oct 03
2
Providing HTML in an error message generated by validation
All, I have some validation that I''m doing in a model. As part of the error message, I would like to provide an HTML link. What is the best approach to handling this? APPROACH 1: One way is to include ActionView::Helpers::UrlHelper include ActionView::Helpers::TagHelper in my model so that I can use link_to to generate my link (obv. I could hard code HTML as well). But anyway that
2007 Jun 13
4
subdir disappeared
I have an installation that sometimes acts strangely: Jun 12 11:28:00 mail dovecot: imap-login: Login: user=<nadia>, method=PLAIN, rip=10.10.10.103, lip=10.10.10.254 Jun 12 11:53:59 mail dovecot: IMAP(nadia): inotify_add_watch(/var/spool/mail/nadia/new) failed: No such file or directory Jun 12 11:53:59 mail dovecot: IMAP(nadia): stat(/var/spool/mail/nadia/new) failed: No such file or
2008 Jul 31
0
[LLVMdev] [Patch] Ocaml fix for g++ 4.2
Hi all, The test suite was not passing the Ocaml bits when using gcc/g++ 4.2.3. The following change suggested by Olivier Andrieu fixed the failing test by telling ocamlc to use "gcc -lstdc++" instead of the g++ compiler. Cheers, Erik Index: test/Makefile =================================================================== --- test/Makefile (revision 54250) +++ test/Makefile (working
2005 Mar 10
4
error messages, loops and saves, actionmailer and finaly authentication
Thanks to everyone who responded to my first set of questions. Not only did I get my questions answered but I improved my code and learned a couple new things. I think I prefer the mailing list over IRC... easier to follow :-) I have some more questions if you don''t mind. Some are Rails related and some are Ruby related. 1) This is concerning displaying error messages. I am assuming
2007 Sep 23
1
can''t seem to activate the ''-d'' option..
hi. apologies if this has been asked before... my configs: ruby -v 1.8.5 mongrel 1.0.1 rails 1.2.3 i do a mongrel_rails start -e production -p 4000 -d it''ll say: ''** Ruby version is not up-to-date; loading cgi_multipart_eof_fix'' but that shouldn''t be the problems, since i see that all the time and my clusters work.. ( oh yeah, does it matter i have other
2009 Jan 05
1
X11 on Dell D830 with latest 7.1-PRERELEASE
Hi, I've got a Dell Latitude D830 running 7.1-PRERELEASE/amd64 which I've just csup'd to the -STABLE as of 5-Jan-2009, and after going thru' the std build+install; XOrg now comes up with a blank screen, sometimes interspersed with green dots. I did test out X prior to doing an installworld, and that came up with no problems. However, after doing an installworld, X is now broken.
2005 Feb 09
85
Introduce yourself and your project -- Round 2
On December 14th, 2004 David Heinemeier Hansson sent this to the mailing list: I''m seeing a lot of new names on the list. Could we perhaps do a round of introductions? That would also be a great first post, if you haven''t had a chance to contribute yet. The basics should include your name, your organization, your country and city, and the project you''re
2007 Sep 11
1
Asterisk on NGINX Server?
Hi. Was the AGI Server to write dialplans in any programming language in Asterisk assumed to be configured for the apache web server? Or should it not matter what web server you have (in my case NGINX)? - Dominic The ability to simplify means to eliminate the unnecessary so that the necessary may speak. -Hofstadter's Law