similar to: Rails 3 - Translation of Error header doen't work

Displaying 20 results from an estimated 3000 matches similar to: "Rails 3 - Translation of Error header doen't work"

2014 Jun 11
0
my webpage does not send emails confimation/notification
Hello everybody I have a problem with my inquireis, when I want to contact and I send the message, I must receive two emails one of confirmation (client) and other of notification (admin of the web page) but it does not send. The webpage work in production environment. When I watch the log (production.log) I seed this: > > There was an error delivering an inquiry confirmation: > 503
2012 Oct 10
0
Setting locale directories for I18n
Rails 3.1.3 I would like to apply i18n for my application. Since there are many yml files in config/locales directory, I have made subdirectories so that the maintenance will be easier. For example, config/locales/devise/ date/ top/ ... Each subdirectories contain corresponding locale files that are applied when users change
2009 May 12
2
rails 2.3.2 is not generating environment.rb properly
problem: rails 2.3.2 is not generating config.action_controller.session_store = :active_record_store in environment.rb this is the code in environment.rb --------------------------------------------------------------------------- # Be sure to restart your server when you modify this file # Specifies gem version of Rails to use when vendor/rails is not present RAILS_GEM_VERSION =
2008 Dec 14
0
Newbee met problems when do some i18n on rails
1. I have download the zh-CN.yml file from http://github.com/svenfuchs/rails-i18n/tree/master/rails locale 2. I have put this zh-CN.yml in to my locales folder. 3. I have modified the enviorment.rb like follow: config.i18n.load_path << Dir[File.join(RAILS_ROOT, ''my'', ''locales'', ''*. {rb,yml}'')] config.i18n.default_locale =
2010 Aug 21
2
Rails 3: I18n.locale not set to I18n.default_locale in production
I have an application that uses I18n, but in the first deployment, I don''t want to enable different languages per user/request because there are very few users who all speak german). Therefore I have config.i18n.default_locale = :de in config/ application.rb. I have no code whatsoever to set/change I18n.locale in my app. In development environment, it works as expected: the
2011 Jun 01
4
missing these required gems: will_paginate
Hi EveryBody, I hope some one help me. I am new on ROR so might be problem is silly or Obvious. i had developed a project and i had use "WILL_PAGINATE" plugin in my app. It''s working well at localhost. But when deploying on HEROKU, ALL step is going well but when running $heroku rake db:migrate ERROR IS Missing these required gems: will_paginate You''re
2013 Mar 26
0
Pluralization with default_locale not working (Rails 4 Beta 1)
Hi, I am just trying to setup an application in Rails 4, Beta 1. The application is (exclusively) in German Language and therefore also the URLs should be German. I want to create a controller and model for an entity called "Region"; Rails pluralizes that to "Regions", but it should be "Regionen". What I did is: in config/application.rb uncomment this line:
2011 Sep 05
1
I18n.locale Setting invalid
I like this set of code: before_filter :set_language def set_language request_language = request.env[''HTTP_ACCEPT_LANGUAGE''] request_language = request_language.nil? ? nil : request_language[/[^,;]+/] I18n.locale = request_language if request_language && File.exist?("#{Rails.root.to_s}/config/locales/#{request_language}.yml") end if i setting
2003 Jun 19
3
sciViews
Bonjour, J'ai t?l?charg? SciViews Insider que je trouve tr?s convivial. Par contre, je n'arrive pas ? comprendre comment enregistrer un script R en type de fichier R justement. Mes programmes fonctionnent tr?s bien, mais SciViews me propose uniquement de les enregistrer au format txt sous un type de fichier "bloc notes". Comment les enregistrer avec l'extension .R comme le
2009 Jun 14
3
Rails I18n
Hi, I am trying to use i18n in rails. I want the language to be set first from params[:locale] (probably already in the url) then from the browser http header and lastly from the default_locale. Everything is fine. Now the problem starts, when I want to add a dropdown list to allow the user to change the locale. How do I force the page to reload with the new Locale? FYI, I tried using .js and
2010 Feb 23
1
how a js script can get the current locale from my rails app ?
I am not very fluent in JS, so I don''t see how to transfer the rails app current locale .. I have a JS script able to detect the default browser language .. running fine I can also modify the JS language, passing a global var .. // Create a JSON Object var myJSON = { "lang": "fr" }; // Pass it to the script immediately...
2012 Apr 23
1
[Bug 49088] New: MapsGL labels doen't render properly on nouveau
https://bugs.freedesktop.org/show_bug.cgi?id=49088 Bug #: 49088 Summary: MapsGL labels doen't render properly on nouveau Classification: Unclassified Product: Mesa Version: 8.0 Platform: x86-64 (AMD64) OS/Version: Linux (All) Status: NEW Severity: normal Priority: medium Component:
2011 Aug 20
2
hetlp_type text doen't work on Ubuntu
Hi, I' using Ubuntu 10.10/11.04 and on both of the systems help doesn't work unless I set options(help_type="html"). I hate to change context and help_type='html' distracts me. I want text based help inside console. Where should I look to fix this problem? -- Amol
2013 Apr 08
0
[Asterisk 1.6] Mysql cdr addon doen't write full channel infomation when disposition is Failed
Hi All, Currently i'm facing with a cdr issue, When i originate a call (outbound call) to uncorrect/unregistration user, asterisk inform me that call was failed but in mysl-cdr (cdr-csv also) records. Here are 2 samples +---------------------+------+-----+-----+----------+---------------------+------------+----------+-------------+-----------+ | calldate | clid | src | dst |
2010 Dec 22
3
[Bug 1847] New: SFTP doen't work well with IPV6 address
https://bugzilla.mindrot.org/show_bug.cgi?id=1847 Summary: SFTP doen't work well with IPV6 address Product: Portable OpenSSH Version: 5.6p1 Platform: All OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: sftp AssignedTo: unassigned-bugs at mindrot.org ReportedBy:
2015 Sep 14
6
[Bug 2467] New: point-to-point Tunnel doen't work since 6.8
https://bugzilla.mindrot.org/show_bug.cgi?id=2467 Bug ID: 2467 Summary: point-to-point Tunnel doen't work since 6.8 Product: Portable OpenSSH Version: 7.1p1 Hardware: amd64 OS: Linux Status: NEW Severity: major Priority: P5 Component: sshd Assignee: unassigned-bugs at
2009 Jan 23
0
NameError: uninitialized constant I18n
Just installed the plugin as described on the link below. http://factore.ca/on-the-floor/11-introducing-has-foreign-language-an-easy-database-internationalization-plugin If i fire up my console and then: I18n.default_locale = "en" i got the error message: NameError: uninitialized constant I18n from
2013 Jul 10
0
ActionView::Template::Error Not a directory vendor/assets/javascripts/ production
Hello, In production environment, I have this error ActionView::Template::Error Not a directory vendor/assets/javascripts/holder.js when in my template I have this line <%= image_tag "holder.js/150x200" %> My production.rb is : Libapp::Application.configure do # Settings specified here will take precedence over those in config/application.rb # Code is not reloaded
2013 Feb 11
5
split dates array with take_while does not work ?
I wonder why ruby core method ''take_while'' does not work as expected in the below Rails console example: irb(main):003:0> arr = [] => [] irb(main):004:0> arr << Date.today - 15.days => [Sun, 27 Jan 2013] irb(main):005:0> arr << Date.today - 25.days => [Sun, 27 Jan 2013, Thu, 17 Jan 2013] irb(main):006:0> arr << Date.today => [Sun, 27
2014 Apr 26
0
jquery_ujs.js 404
I am getting this annoying error which relates to jquery_ujs.js not being served. Any clues? This is the site link: http://test.kopy.com.br/home/index GET http://test.kopy.com.br/assets/jquery_ujs.js?body=1 404 (Not Found) index:11 GET http://ads.panoramtech.net/loader.js?client=tac net::ERR_BLOCKED_BY_CLIENT rev.js:4 Error in event handler for (unknown): Cannot read property 'state' of