Displaying 11 results from an estimated 11 matches for "new_rails_defaults".
2010 Mar 31
1
[PATCH] Upgrading the server to work with Rails 2.3.4.
Signed-off-by: Darryl L. Pierce <dpierce at redhat.com>
---
src/app/controllers/application_controller.rb | 2 +-
src/config/environment.rb | 2 +-
src/config/initializers/new_rails_defaults.rb | 6 +++++-
3 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/src/app/controllers/application_controller.rb b/src/app/controllers/application_controller.rb
index 7e2041f..4c4666e 100644
--- a/src/app/controllers/application_controller.rb
+++ b/src/app/controllers/application_cont...
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 file that has this
setting, so edit that file if you have it."
However, in the new_rails_defaults.rb file in my new empty project does...
2009 Nov 24
2
Deploying Error: undefined method 'generate_best_match='
...: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 ''generate_best_match='' for
ActionController::Routing:Module
when I --trace I get
../config/initializers/new_rails_defaults.rb:14
Ruby=1.8.7p5000, Rails=2.2.2
I really hope you can help me with this one.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane...
2008 Jun 02
3
Undefined method `store_full_sti_class=' for ActiveRecord::Base:Class (NoMethodError)
...opment environment...
Exiting
c:/ruby/lib/ruby/gems/1.8/gems/activerecord-2.0.991/lib/active_record/
base.rb:16
45:in `method_missing'': undefined method `store_full_sti_class='' for
ActiveRecord::Base:Class (NoMethodError)
from C:/manyeyes/railsEdu/demo/config/initializers/
new_rails_defaults.rb:8
from c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.991/lib/
active_support/dependencies.rb:501:in `load''
from c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.991/lib/
active_support/dependencies.rb:501:in `load''
from c:/ruby/lib/ruby/gems/1.8/gems/...
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.
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
2010 Jan 19
1
How I installed ovirt on fc 12
...nt to 2.3.4
vim /usr/share/ovirt-server/config/environment.rb
Line 23
RAILS_GEM_VERSION = '2.3.4' unless defined? RAILS_GEM_VERSION
5. Patch ruby initializers
http://webtips-seja.blogspot.com/2009/10/undefined-method-quoteident-for.html
vim /usr/share/ovirt-server/config/initializers/new_rails_defaults.rb
Add :
def PGconn.quote_ident(name)
%("#{name}")
end
6. Adapt ruby gems
You must have :
*** LOCAL GEMS ***
actionmailer (2.3.4)
actionpack (2.3.4)
activeldap (1.2.0)
activerecord (2.3.4)
activeresource (2.3.4)
activesupport (2.3.4)
cgi_multipart_eof_fix (2.5.0)...
2011 Feb 02
6
how to set default_scope for the whole application?
I know I can set default_scope for individual active record model, but
can I set one up for the whole application?
thanks
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
2009 Feb 20
6
rails 2.2.2 does not work with ruby 1.9.1
...application_helper.rb
create test/test_helper.rb
create test/performance/browsing_test.rb
create config/database.yml
create config/routes.rb
create config/initializers/inflections.rb
create config/initializers/mime_types.rb
create config/initializers/new_rails_defaults.rb
create config/locales/en.yml
create config/boot.rb
create config/environment.rb
create config/environments/production.rb
create config/environments/development.rb
create config/environments/test.rb
create script/about
create script/console...
2009 Dec 20
3
Noob Install Failed 0.0.0.0:3000
...onfig/database.yml
create config/routes.rb
create config/locales/en.yml
create db/seeds.rb
create config/initializers/backtrace_silencers.rb
create config/initializers/inflections.rb
create config/initializers/mime_types.rb
create config/initializers/new_rails_defaults.rb
create config/initializers/session_store.rb
create config/environment.rb
create config/boot.rb
create config/environments/production.rb
create config/environments/development.rb
create config/environments/test.rb
create script/about
create...
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