similar to: Rails without a database

Displaying 20 results from an estimated 10000 matches similar to: "Rails without a database"

2008 Jul 08
7
script/server error
Not sure why I''m getting this error, cause I believe it worked yesterday before I quit and now it''s giving me this error. The last thing I did was try and get an ActionMailer thing to work. I searched through the archives but nothing seemed applicable to my error. Here''s the error I''m getting: ruby script/server => Booting Mongrel (use
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 =
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
2009 Mar 31
9
Application without database.yml
Hi, I have created one application. In that application I am not using any database. Whenever I starting rails server it is giving me an error for configuration of database.yml. What should I do for this? Thanks, Tushar -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups
2010 Sep 02
5
Re: Exclude ActiveRecord in Rails3
What''s the best way to exclude ActiveRecord in Rails3? In Rails2, one could just do: *config.frameworks -= [ :active_record ]* in the configuration block in environment.rb. Is it possible in Rails3? Thanks. Anuj -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to
2009 Sep 25
1
generate model error
I''m new on rails, and I encountered a problem when I am doing a tutorial: that''s a simple application without a database. First "rails simple_app" And modify "enviroment.rb" # Skip frameworks you''re not going to use. To use Rails without a database, # you must remove the Active Record framework. config.frameworks -= [ :active_record,
2010 Oct 06
6
Error on running unity test: "no such file to load -- 'active_record/version'"
Hi folks! I''ve been experimenting an error messagem when I try to run unity test in any model of my project. Here it is: /home/fabricio/shopcell/config/environment.rb:1:in `require'': no such file to load -- active_record/version (LoadError) from /home/fabricio/shopcell/config/environment.rb:1 from ./test/test_helper.rb:2:in `require'' from ./test/test_helper.rb:2
2008 Jul 01
14
rake aborted! Could not find table ...
I am getting a rake aborted error and I suspect that I am missing a package on my system since the app works for a friend on this computer. Here is the terminal output of the error: anita@anitas-computer:~/sandbox/shovell$ rake db:migrate (in /home/anita/sandbox/shovell) rake aborted! Could not find table ''stories'' (See full trace by running task with --trace)
2011 Sep 01
7
couldn't find file 'jquery' rails 3.1 stable mountable engine
When I create a new engine in Rails 3.1 stable and then access the dummy app or the engine I get an error say that the app can''t find jquery. I''ve created the engine using rails plugin new coffee --mountable I''ve also created a basic controller in the engine and the dummy app. If I remove the javascript include tag, everything works. But with the tag there it just
2009 Aug 06
20
Changing from database sqlite3 to mysql - windows
Hi Guys I''d like to know how to change from using sqlite3 to mysql. I''m running windows xp. What is the command that I must type under my application folder? How to I log into the mysql database afterwards? My database.yml file contents at the moment are: # SQLite version 3.x # gem install sqlite3-ruby (not necessary on OS X Leopard) development: adapter: sqlite3
2010 Aug 05
5
asset_host and ActionMailer
After digging through the rails code to figure out why my asset_host wasn''t getting applied to emails, I realized that it''s because the config object in the context of a mailer is config.action_mailer and not config.action_controller. This means you need to set asset host separately for emails, as config.action_mailer.asset_host. Should this be considered a bug? Is it really
2008 Nov 12
4
Help! getting a "can't dup NilClass" error and don't know what to do about it.
Thanks for any help you can offer. I am trying to send out a small batch of emails using an http request. I know it sounds odd. hear me out. I have loaded a bunch of emails into this table and just want to slowly work through them. Sort of a poor mans AR:Mailer. But I am getting a "can''t dup NilClass" when I hit it with a http request. **********************************
2007 Sep 22
4
ActiveResource, find(1) works but no find(:all)
Hi, I''m on edge and Fuser.find(1) works but Fuser.find(:all) shows the error [1]. Fuser is declared here [2]. Do you know what''s happening? Thanks. [1] ActiveResource::ServerError: Failed with 500 Internal Server Error from /.../vendor/rails/activeresource/lib/active_resource/connection.rb:124:in `handle_response'' from
2006 May 22
3
Syntax error when running dispatch.cgi
Hi, when I execute dispatch.cgi at the command line, I get the following error message: [cg@cg rails]$ ./public/dispatch.cgi ./public/dispatch.cgi:3:in `require'': ./public/../config/environment.rb:8: syntax error, unexpected ''<'' (SyntaxError) <%= ''# '' if freeze %>RAILS_GEM_VERSION = ''<%= Rails::VERSION::STRING %>''
2006 Feb 15
3
See Rails::Configuration for more options?
In config/environment.rb it states: # See Rails::Configuration for more options See where exactly? I can''t find any docs for it, not at api.rubyonrails.com anyway. Joe -- Posted via http://www.ruby-forum.com/.
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
2007 Sep 28
4
RSpec + EdgeRails on Windows
I recently post on my blog about setting up a Rails environment with RSpec in Windows, and someone left a comment saying that it doesn''t work in EdgeRails. I so I played around with it a bit and was able to confirm that none RSpec appears broken on EdgeRails. I''ll post the various error messages I received below. I''m not expecting any sort of patch or something for this
2009 Mar 26
1
Error Send Message
Hello, I''m trying to make my rails app send mail. so it''s can''t send it''s error. I''m using the following configuration in environment.rb: == Rails::Initializer.run do |config| ... config.action_mailer.delivery_method = :smtp end ActionMailer::Base.smtp_settings = { :address => "mail.mydomain", :port => 25, :domain =>
2010 Jun 17
2
"LoadError: no such file to load -- openssl", following Rails Guides
[With apologies for cross-posting at http://railsforum.com/viewtopic.php?id=39587] Hi all, I''m following the edge ''getting started'' guide at http://guides.rails.info/getting_started.html, running ROR 3. I''m running Ruby 1.9.2 (as instructed by the guide), installed using RVM. I get an error when following "4.3 Setting the Application Home Page".
2006 Apr 14
1
rake test errors
I have Rails 1.1.2, ruby 1.8.4 and gentoo linux running kernel 2.6.15. Here are the errors: gregg@gregg2 ~/user/DMS $ rake test (in /home/gregg/user/DMS) /usr/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/ ordered_options.rb:2: warning: method redefined; discarding old []= /usr/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/ ordered_options.rb:11: warning: method