Sha256: 9a140eb50213db1c6fe7aa8017fbfa25e431f2739783a212a43926c0e5462d76

Contents?: true

Size: 234 Bytes

Versions: 35

Compression:

Stored size: 234 Bytes

Contents

module ActiveRecord
	class SchemaDumper
		private

		def header(stream)
			stream.puts "ActiveRecord::Schema.define do"
		end

		def tables(stream)
			@connection.tables.sort.each do |tbl|
				table(tbl, stream)
			end
		end
	end
end

Version data entries

35 entries across 35 versions & 3 rubygems

Version Path
ricardochimal-taps-0.2.12 lib/taps/adapter_hacks/non_rails_schema_dump.rb
ricardochimal-taps-0.2.13 lib/taps/adapter_hacks/non_rails_schema_dump.rb
ricardochimal-taps-0.2.14 lib/taps/adapter_hacks/non_rails_schema_dump.rb
ricardochimal-taps-0.2.15 lib/taps/adapter_hacks/non_rails_schema_dump.rb
ricardochimal-taps-0.2.16 lib/taps/adapter_hacks/non_rails_schema_dump.rb
ricardochimal-taps-0.2.18 lib/taps/adapter_hacks/non_rails_schema_dump.rb
ricardochimal-taps-0.2.19 lib/taps/adapter_hacks/non_rails_schema_dump.rb
ricardochimal-taps-0.2.5 lib/taps/adapter_hacks/non_rails_schema_dump.rb
ricardochimal-taps-0.2.6 lib/taps/adapter_hacks/non_rails_schema_dump.rb
ricardochimal-taps-0.2.7 lib/taps/adapter_hacks/non_rails_schema_dump.rb
ricardochimal-taps-0.2.8 lib/taps/adapter_hacks/non_rails_schema_dump.rb
ricardochimal-taps-0.2.9 lib/taps/adapter_hacks/non_rails_schema_dump.rb
taps-0.2.26 lib/taps/adapter_hacks/non_rails_schema_dump.rb
taps-0.2.25 lib/taps/adapter_hacks/non_rails_schema_dump.rb
taps-0.2.24 lib/taps/adapter_hacks/non_rails_schema_dump.rb
taps-0.2.23 lib/taps/adapter_hacks/non_rails_schema_dump.rb
taps-0.2.22 lib/taps/adapter_hacks/non_rails_schema_dump.rb
taps-0.2.21 lib/taps/adapter_hacks/non_rails_schema_dump.rb
taps-0.2.20 lib/taps/adapter_hacks/non_rails_schema_dump.rb
matthewtodd-taps-0.2.19 lib/taps/adapter_hacks/non_rails_schema_dump.rb