Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1058651
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T18:03:20+00:00 2026-05-16T18:03:20+00:00

I am using rails 2.3.9 and I want database dump in sql manner. Here

  • 0

I am using rails 2.3.9 and I want database dump in sql manner. Here is my environment.rb. Notice the last line where I have

 config.active_record.schema_format =  :sql

Still when I run rake db:schema:dump I see no db/development_structure.sql file.

require File.join(File.dirname(__FILE__), 'boot')

RAILS_GEM_VERSION = '2.3.9' unless defined? RAILS_GEM_VERSION

Rails::Initializer.run do |config|

  config.frameworks -= [:active_resource]

  config.gem 'hoptoad_notifier', :version => '>= 2.3.6'

  config.gem "will_paginate", :version => ">= 2.3.2"

  config.gem "sanitize"


  config.action_mailer.delivery_method = :smtp

  if RAILS_ENV == 'development'  || RAILS_ENV == 'test'

    config.action_mailer.delivery_method = :test

    config.gem "shoulda",  :version => '2.10.2' 

    config.gem 'faker', :version=>'~>0.3'

    config.gem "factory_girl", :version => ">= 1.2.4"

    config.gem "coderay"  

    config.gem "redgreen"
  end

  # Your secret key for verifying cookie session data integrity.
  # If you change this key, all old sessions will become invalid!
  # Make sure the secret is at least 30 characters and all random, 
  # no regular words or you'll be exposed to dictionary attacks.
  config.action_controller.session = {
    :session_key => '_delako_session_v2',
    :secret      => 'd9035d20745f5e3fbe1604a393e59cb4f5e59fd7188cbabe0a5245d84e383cf567f90c3849f2d605d5b05669772b60150f2acb4cfddc897b7361fbfe586bb5c6'
  }

  config.active_record.schema_format =  :sql

end
  • 1 1 Answer
  • 1 View
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T18:03:21+00:00Added an answer on May 16, 2026 at 6:03 pm

    rake db:schema:dump explicitly dumps to a db/schema.rb.

    If you do rake db:structure:dump you will dump to db/development_structure.sql.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using Rails 3.1 and want to have a Sass variable (or other
I have a method I want to call using AJAX in rails but I
I want to learn Ruby on Rails and have set up a test environment.
I'm using Rails 3.2 and I've got a database table in which I want
Using Rails 3.1.3 and Ruby 1.9.3. I want to give the user a list
Hi i want to upload mulitiple file using rails 3 and paperclip please help
Using Rails 3.0.7, REE 1.8.7. I want to run code (specifically, Garbage Collection) in
I want to deploy a website the first time using Rails 3.2.1 with capistrano
I'm using Rails, iOS, and devise. I want to read a single user. The
I am using Ruby on Rails to develop a webapp. I want it so

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.