CARVIEW |
Select Language
HTTP/2 302
server: nginx
date: Wed, 20 Aug 2025 10:42:58 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20100214175230
location: https://web.archive.org/web/20100214175230/https://github.com/aslakhellesoy/rails_sql_views
server-timing: captures_list;dur=2.474006, exclusion.robots;dur=0.048112, exclusion.robots.policy;dur=0.019785, esindex;dur=0.018144, cdx.remote;dur=20.667180, LoadShardBlock;dur=249.911744, PetaboxLoader3.datanode;dur=121.526459, PetaboxLoader3.resolve;dur=61.720418
x-app-server: wwwb-app213
x-ts: 302
x-tr: 314
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
set-cookie: wb-p-SERVER=wwwb-app213; path=/
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
HTTP/2 200
server: nginx
date: Wed, 20 Aug 2025 10:42:59 GMT
content-type: text/html; charset=utf-8
x-archive-orig-server: nginx/0.7.61
x-archive-orig-date: Sun, 14 Feb 2010 17:52:30 GMT
x-archive-orig-connection: close
x-archive-orig-status: 200 OK
x-archive-orig-etag: "6c91ec072620c448383698c4b9bb6528"
x-archive-orig-x-runtime: 222ms
x-archive-orig-content-length: 23571
x-archive-orig-cache-control: private, max-age=0, must-revalidate
x-archive-guessed-content-type: text/html
x-archive-guessed-charset: utf-8
memento-datetime: Sun, 14 Feb 2010 17:52:30 GMT
link: ; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate", ; rel="first memento"; datetime="Sun, 14 Feb 2010 17:52:30 GMT", ; rel="memento"; datetime="Sun, 14 Feb 2010 17:52:30 GMT", ; rel="next memento"; datetime="Wed, 24 Mar 2010 12:32:36 GMT", ; rel="last memento"; datetime="Sun, 27 Sep 2020 05:26:39 GMT"
content-security-policy: default-src 'self' 'unsafe-eval' 'unsafe-inline' data: blob: archive.org web.archive.org web-static.archive.org wayback-api.archive.org athena.archive.org analytics.archive.org pragma.archivelab.org wwwb-events.archive.org
x-archive-src: TLA-20100214171722-01008-ia360916-c/TLA-20100214174157-00810-ia360906.us.archive.org.warc.gz
server-timing: captures_list;dur=0.693444, exclusion.robots;dur=0.024829, exclusion.robots.policy;dur=0.012323, esindex;dur=0.016328, cdx.remote;dur=15.014278, LoadShardBlock;dur=281.872382, PetaboxLoader3.resolve;dur=309.452446, PetaboxLoader3.datanode;dur=168.084193, load_resource;dur=233.871853
x-app-server: wwwb-app213
x-ts: 200
x-tr: 598
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
content-encoding: gzip
aslakhellesoy's rails_sql_views at master - GitHub
This service is courtesy of Pledgie.
aslakhellesoy / rails_sql_views forked from aeden/rails_sql_views
- Source
- Commits
- Network (13)
- Issues (0)
- Downloads (0)
- Wiki (1)
- Graphs
-
Branch:
master
click here to add a description
click here to add a homepage
-
Branches (1)
- master ✓
- Tags (0)
Sending Request…
Enable Donations
Pledgie Donations
Once activated, we'll place the following badge in your repository's detail box:
Rails SQL Views project extracted from ActiveWarehouse — Read more
name | age | message | |
---|---|---|---|
![]() |
CHANGELOG | Loading commit data... ![]() |
|
![]() |
CONTRIB | Fri May 16 10:57:41 -0700 2008 | initial checkin to git [Anthony Eden] |
![]() |
LICENSE | Tue Aug 19 04:30:09 -0700 2008 | added license [Anthony Eden] |
![]() |
README | ||
![]() |
Rakefile | ||
![]() |
init.rb | ||
![]() |
lib/ | ||
![]() |
test/ |
README
== Rails SQL Views Library which adds SQL Views to Rails. Adds create_view and drop_view to the ActiveRecord::ConnectionAdapters::AbstractAdapter (which makes them available to migrations) and adds support for dumping views in the ActiveRecord::SchemaDumper. == Installation To install: gem install rails_sql_views Then add the following to your Rails config/environment.rb: require_gem 'rails_sql_views' require 'rails_sql_views' == Usage You can then use create_view and drop_view in your migrations. For example: class CreatePersonView < ActiveRecord::Migration def self.up create_view :v_people, "select * from people" do |t| t.column :id t.column :name t.column :social_security end end def self.down drop_view :v_people end end This extension also adds support for views in the ActiveRecord::SchemaDumper class. The following drivers are supported: MySQL PostgreSQL (Native and Pure Ruby) Oracle SQL Server == Known Issues * Drivers not mentioned above are not supported. If you find any issues please send an email to anthonyeden@gmail.com . == Contributing If you would like to implement view support for other adapters then please drop me an email. Better yet, write up the adapter modifications and send them to me. :-)