<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-5589342322454471859</id><updated>2011-11-27T16:15:43.879-08:00</updated><title type='text'>Rails bits, bytes, and what not…</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://rails-bits-bytes.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5589342322454471859/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://rails-bits-bytes.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>tbeauvais</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>1</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-5589342322454471859.post-6802319060677022987</id><published>2008-05-31T06:58:00.000-07:00</published><updated>2008-05-31T07:20:16.295-07:00</updated><title type='text'>Setting up a Rails 2.0 Project without a Database</title><content type='html'>I needed to create a Rails application that wasn't going to use a database backend. In my case I was going to be using REST services to access the data, so I had no need for database integration. I search around and found bits and pieces of information related to this but the following is what ended up working for me.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;     Add the following line (actually just uncomment out) to: &lt;project&gt;\config\environment.rb&lt;br /&gt;       config.frameworks  -= [ :active_record, :active_resource, :action_mailer ]&lt;br /&gt;&lt;br /&gt;     Delete &lt;project&gt;\config\database.yml&lt;br /&gt;&lt;br /&gt;     Comment out the following in &lt;project&gt;\config\initializers\new_rails_defaults.rb&lt;br /&gt;       # Only save the attributes that have changed since the record was loaded.&lt;br /&gt;       #ActiveRecord::Base.partial_updates = true&lt;br /&gt;&lt;br /&gt;       # Include ActiveRecord class name as root for JSON serialized output.&lt;br /&gt;       #ActiveRecord::Base.include_root_in_json = true&lt;br /&gt;&lt;br /&gt;       # Use ISO 8601 format for JSON serialized times and dates&lt;br /&gt;       #ActiveSupport.use_standard_json_time_format = true&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;That's it...&lt;br /&gt;&lt;br /&gt;&lt;/project&gt;&lt;/project&gt;&lt;/project&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5589342322454471859-6802319060677022987?l=rails-bits-bytes.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rails-bits-bytes.blogspot.com/feeds/6802319060677022987/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5589342322454471859&amp;postID=6802319060677022987' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5589342322454471859/posts/default/6802319060677022987'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5589342322454471859/posts/default/6802319060677022987'/><link rel='alternate' type='text/html' href='http://rails-bits-bytes.blogspot.com/2008/05/setting-up-rails-20-project-without.html' title='Setting up a Rails 2.0 Project without a Database'/><author><name>tbeauvais</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
