similar to: [PATCH] Upgrading the server to work with Rails 2.3.4.

Displaying 20 results from an estimated 700 matches similar to: "[PATCH] Upgrading the server to work with Rails 2.3.4."

2010 Jul 05
1
[PATCH] gettext initiation problem Thanks to Thibault Deloffre <tdeloffre@linagora.com>
From: root <root at ovirt.admin.virt.par.lng> Signed-off-by: root <root at ovirt.admin.virt.par.lng> --- src/app/controllers/application_controller.rb | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/src/app/controllers/application_controller.rb b/src/app/controllers/application_controller.rb index 4c4666e..c7f8431 100644 ---
2008 Jun 03
1
Rails 2.1 and default setting of Partial updates
I just updated to 2.1 and created a new, empty project. According to the docs I''ve seen, including: http://ryandaigle.com/articles/2008/4/1/what-s-new-in-edge-rails-partial-updates The file config/initializers/new_rails_defaults.rb has the default setting for partial updates and just needs to be edited: "Note: There''s currently a config/initializers/new_rails_defaults.rb
2009 Jul 20
9
Upgrade server to run on Rails 2.3.2/F11
Note that one of the 8 patches (#6) will be sent separately in reply to this email, as some of the replaced lines are too long, so git won't let me send the email. However, there is nothing wrong with that patch, and it should be applied in the sequence listed below. Note also that I assume this will be tested on a clean f11 install, rather than an upgrade of an existing ovirt server
2009 Nov 24
2
Deploying Error: undefined method 'generate_best_match='
Hey guys, I''m quite new to rails and experiencing some problems with the deployment of my application to a web server. I am using github, can connect to the server, "cap deploy:check" and :setup run fine, but when I want to use "deploy:cold" or migrate my database (rake RAILS_ENV=production db:migrate) I get this error: rake aborted! undefined method
2009 Dec 20
3
Noob Install Failed 0.0.0.0:3000
Happy Holidays, I am new to RoR and have just run through the install, which well seemed to be vaquely documented as some ''Do this'' type of thing on the http://rubyonrails.org/download page. download gem setup.rb gem install rails rails path/to/your/new/application cd path/to/your/new/application ruby script/server and then ( drumroll ) .... Follow the instructions on
2006 Jan 29
2
GetText and rjs templates?
hi, is it possible that gettext don''t work with rjs templates? i''ve just tried this simple example blog_controller.rb : class BlogController < ApplicationController def index end def dosomething end end index.rhtml : <html> <head> <%= javascript_include_tag :defaults %> </head> <body> <div id="test">Some text to change
2010 Jan 19
1
How I installed ovirt on fc 12
Hi, I installed ovirt on fedora 12 (64 bits) successfully but I had to make some changes to make it work. 1. Installation from rpms builded from the lastest git version 2. Patch ace : missing backslashes in sed commands vim /usr/share/ace/modules/ovirt/manifests/freeipa.pp line 33 : '/\\[kdcdefaults\\]/a \\ kdc_ports = 88' single_exec {"set_kdc_defaults":
2006 May 08
4
Gettext not worked in firefox,but done well under IE
Anyone who has met such a kind of problem? I am adding i18n characteristics to my webapp using gettext,it works under IE,while not under firefox. here is my codes: po: po\zh_CN\myapp.po after rake makemo, i have got: locale\zh_CN\LC_MESSAGES\myapp.mo require ''gettext/rails'' class ApplicationController < ActionController::Base init_gettext "myapp" end Then I use
2006 Jan 15
15
Gettext and Rails ?
Hello, I''m trying to use ruby-gettext 1.1.1 (installed with gem) with rails and here is all I get : undefined method `init_gettext'' for ApplicationController:Class Here is my source : require ''gettext/rails'' class ApplicationController < ActionController::Base init_gettext "test" end As a Nuby, I don''t really know what to do.
2008 Jun 02
3
Undefined method `store_full_sti_class=' for ActiveRecord::Base:Class (NoMethodError)
Hi everyone, I created a new demo app with ''rails demo'' and proceeded to try and launch the server with ''ruby scripts/server''. I get the following stack: C:\railsProj\demo>ruby script/server => Booting Mongrel (use ''script/server webrick'' to force WEBrick) => Rails application starting on http://0.0.0.0:3000 => Call with -d to
2005 Dec 29
5
Ruby-GetText-Package-1.1.0
Hi, Ruby-GetText-Package-1.1.0 is now available. This release enhances many features for Ruby on Rails. I hope this release make your Application support L10n. And thanks for many helps! Highlights ---------- * Added some functions which managed po/mo files easily. * GetText.update_pofiles creates/updates pot/po files. The idea is from Sascha Ebach. * String% is extended to accept
2009 Jul 07
0
[PATCH server] Update app to work with rails 2.3.2
Note that this does not fix gettext for app, that will be done separately in another patch as F10/F11 require different setups for that. In the meantime gettext works if manually changed in environment.rb to gettext_rails instead of gettext/rails Signed-off-by: Jason Guiditta <jason.guiditt at gmail.com> --- src/app/controllers/application.rb | 200 --------
2009 Sep 12
5
undefined method `^' for "d":String
Hi guys. I''m a freshman on Rails (and Ruby) so I''m sorry if my question is pretty basic, and possible has a vary basic answer. I tried to Google this problem, but a couple of hour after and no solution found, I decided to ask for help here. I have installed ruby 1.9.1p243, Rails 2.3.4, Gem 1.3.5, SQLite version 3.6.18 (I think this is all that it''s needed). I´m reading
2006 Sep 12
0
Ruby-GetText-Package-1.8.0
Hi, Ruby-GetText-Package-1.8.0 is now available. NEWS ---- Takahashi-san[1] has started GettextScaffold plugin project on rubyforge[2]. It''s great scaffold plugin for helping rails localization with GetText. [1] Masayoshi Takahashi is well known as the chairman of Japan Ruby no Kai (Japanese Ruby User Group) and "Takahashi Method". [2]
2010 Feb 23
12
"no such file to load -- gettext/rails" error
I get the error below when I try to start my server. Here are the versions installed: OS: Windows Server 2008 Ruby: 1.8.7 Gems: actionmailer (2.3.5, 1.3.5) actionpack (2.3.5, 1.13.5) actionwebservice (1.2.5) activerecord (2.3.5, 1.15.5) activeresource (2.3.5) activesupport (2.3.5, 1.4.4) cgi_multipart_eof_fix (2.5.0) daemons (1.0.10) gem_plugin
2009 Sep 10
1
undefined method `protect_against_forgery?'
When I use plugin ''railstree'' (http://www.hashcode.eti.br/?p=91) as following code: node = Node.new :label => menu_item.name, :link_to_remote => { :base => self, :update => "container", :url => {
2009 May 07
2
Outputting strict JSON
Does any body know how I can output JSON so that instead of getting: {booking: {id: 1, name: "foo"} You get this instead: {id: 1, name: "foo"} Can''t find a solution for this at all Thank you for any help.
2006 May 08
2
How to set the default language in GetText?
How to set the default language in GetText? The default language of GetText is en,and I want to change it to another language,and also keep the ability to change to any other languages by just click the according href. Currently I use: class ApplicationController < ActionController::Base before_filter :set_charset def set_charset @headers["Content-Type"] = "text/html;
2007 Dec 03
2
before_filter application => exclude some other controllers
Hello again, It''s possible to use before_filter in the application_controller, and exclude for some methods from other controllers ? i have a before_filter in application_controller that checks if the user is logged, if the time hasn''t expired, ... and I want to exclude some methods of this check, like the login. This ''login'' belongs to other controller. I
2009 Feb 20
6
rails 2.2.2 does not work with ruby 1.9.1
Hi everyone! I''ve installed new Ruby 1.9.1 from sources (http://www.ruby-lang.org/en/), then "gem install rails", everything was ok during installation, all tests ("make test") were ok too. After all, i wanted to create my new RoR project, but I could not start it. Plz help me Here is my terminal: [renat@localhost rails]$ rails mysite create create