similar to: Configuration search order

Displaying 20 results from an estimated 110 matches similar to: "Configuration search order"

2006 Feb 26
7
LoginEngine problems
I''m trying to get a simple authentication system going for a small rails app. After much research, it looks like LoginEngine should do exactly what I want. Now, the documentation is somewhat confusing to me when looked at in the light of reality. There are some places that say you have to install the "engines" plugin. But, I cannot find such a beast. So, I installed the
2006 Mar 07
1
column human names in validation errors
hi, I don''t know how to change field names in error messages. if I add error message like this: errors.add( "age", "You must be at least 18 years old" ) unless age >= 18 when error occures this text is displayed Age You must be at least 18 years old so the first word(s) is column human name for that attribute. how can I change that? of course only in error
2009 Jan 22
8
From Instantrails to the Mac
Hi, I am a Newbie to Mac and Rails. I have a rails apps made using instantrails in windows, and have been trying to transfer it to a mac. I am using Leopard and installed mac ports and Xcode. I copied the folder from rails_apps and added all the gems. Anything else I need to do? Any Ideas? Thank you! This is the set of errors that I am getting after starting the server: Exiting
2011 Oct 18
8
rspec 1.3.2, Rails 2.3.14 - plugins not loading
Hi there I have a weird situation. I have inherited a project in Rails 1.2.3 that has been upgraded to Rails 2.3.14 (and is running). I have installed Cucumber and Rspec to start to write features/tests for the new code that needs to be written. In my Gemfile, these Gems are loaded: group :test do gem ''rspec-rails'', ''~> 1.3.4'', :require =>
2006 Apr 16
7
Problem running unit tests
I am running Rails 1.1.2 with Ruby 1.82-15. My database is Postgresql. I haven''t had any problems generating models, migrations, using scaffolds, and generally building and using my application, but I haven''t been able to get testing to work. I initially just ignored the problem and kept developing, but would like to add proper testing from here on out. Currently when I type
2006 Aug 04
1
route error with controllers in a module, should just work
This is ALL I have added to my routes.rb map.connect ''admin'', :controller => ''/admin/welcome'' I have found plenty of examples saying this is correct if you have a WelcomeController in the Admin module, which I do :) But now webrick won''t even start ??? Look at those 4 colons ::::, what is that about ? help ! => Booting WEBrick...
2006 Sep 04
8
ActiveRecord-JDBC is coming along
The ActiveRecord-JDBC adapter is rapidly maturing these days. I got the full set of AWDwR2 migrations to run with it against MySQL last night, and Ola Bini has gotten migrations working well against Oracle and Firebird. We also have SQL Server support running most of our test cases (under non-Windows environments too!) and have started adding support for Derby and HSQLDB (Java-based DBs). Things
2006 Jan 27
8
ror/lighttpd - HTML files via port 80 become application/octet-stream?
Hi everybody I am trying to get RoR to work with lighttpd. Nearly there, but I am stuck with a strange phenomenon. If I configure lighttpd to serve pages on say port 2000, I can get at my testapp fine and see the "Welcome aboard" page. However, if I configure lighttpd to use port 80, I get a download prompt from my browser. If I access my URI like
2010 Oct 24
1
Re: [Rails-core] Re: (Unable to start rails application) ruby scipt/server error
Rails application which i create manually like rails new blog and the content of the file "blog/config/boot.rb" are require ''rubygems'' # Set up gems listed in the Gemfile. gemfile = File.expand_path(''../../Gemfile'', __FILE__) begin ENV[''BUNDLE_GEMFILE''] = gemfile require
2006 Apr 11
18
Rails 1.1 in Production
My hosting company is still supporting only Rails 1.0. I have installed Rails 1.1.2 to my vendor directory and deployed it in production which should mean that my application should be using the Rails version in my vendor diretory. But It looks like its still using local gem libraries, here is the error from dispatch.fcgi when I try and invoke my app NoMethodError (undefined method
2011 Jan 19
6
rake aborted! can't convert Hash into String
Hello, I encouter a problem when i try to do "rake db:migrate": rake aborted! can''t convert Hash into String Here is the trace result: ** Invoke db:migrate (first_time) ** Invoke environment (first_time) ** Execute environment rake aborted! can''t convert Hash into String /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/fileutils.rb:1408:in
2008 Sep 24
19
How to define request.domain in when testing
Hi, My application relies on request.domain for doing its job. The problem I am encountering, is that when running tests, request.domain returns "test.host", how can I change that so that it returns "mysite.com"? Thanks in advance. -- Posted via http://www.ruby-forum.com/.
2011 Jun 11
8
Help with railroad
Can anyone help me install railroad gem? What I need is a simple class diagram of my rails website. Not necessarily with railroad (if you know any other software, for mac, that works). The website is http://railroad.rubyforge.org/ I couldn''t find any explanation on how to install it. Thank you, Rodrigo -- You received this message because you are subscribed to the Google Groups
2007 Jul 26
2
Ruby 1.8.6 + Rails 1.2.3 + ErrorNotification == NameError !?
Hallo Everybody, I updated recently to the latest versions of Ruby and Rails. Now it seems to me that the plugin ErrorNotification doesn''t run anymore. I even tried to create a new project, installed the plugin and added the following line to my development.rb: [code] ExceptionNotifier.exception_recipients = "adress-QPFuF50DZNq+XT7JhA+gdA@public.gmane.org" [/code] When I try
2010 Feb 11
1
[PATCH] Provides a reference implementation management server.
The reference implementation server is based on TG2. The majority of the boiler plate code has been stripped out to focus the server solely on the functionality necessary for a management server. Signed-off-by: Darryl L. Pierce <dpierce at redhat.com> --- server/.gitignore | 4 + server/MANIFEST.in | 4 +
2006 Jan 22
0
problem setting up lighttpd and rails app.
I am trying to set-up lighttpd and rails to work with fastcgi. Here is what I am currently using for the virtual host definition. I have gotten this from various websites. Sorry about the formatting I can''t seem to control it with Thunderbird. var.wholesale = "wholesale" $HTTP["host"] =~ "^wholesale" { server.document-root = "/var/lighttpd/"
2006 Aug 15
2
Start up error
I am a complete newbie and am having trouble getting mongrel started up. I cannot find any info about this error. If you can help at all, I would be very grateful. Here is the error I get when I try and start my rails app with mongrel. I have reomved and reinstalled Rails, Ruby, Daemons, and Mongrel based on some other articles I found on this list. PLEASE HELP! tim at
2010 Oct 22
6
(Unable to start rails application) ruby scipt/server error
1) I installed the ruby-1.9.2-p0 and rubygems-1.3.7 in the (/usr/local/src directory ) 2) Then i installed rails from terminal by typing follwoing sudo gem install rails --include-dependencies 3) Then i made a rails applcation from terminal as rails new demo then cd demo ruby
2007 Jan 24
0
problems with themes in rails 1.2.1 -> named_route
i saw someone mentioned this somewhere else (1), but i wanted to make sure that this wasn''t something that was going to cause me alot of grief later.. i have been using the theme plugin (2) on several projects.. i updated to 1.2.1 today, and upgraded my mongrel to the latest one.. when i try running mongrel after updating my project, i get the following error:
2007 May 06
0
Initializing a Scheduler
I have a need for a scheduler to run from inside of my rails application. I am familiar with Java (J2EE) and new to Ruby. In Java I would have used a framework called Quartz. I would have created a servlet and in the init method started up the Quartz framework. I have created a new Ruby class and called it StartCron.rb in the Components folder of my Rails app. I have been playing with the