Created
January 3, 2010 23:32
Revisions
-
woodie revised this gist
Sep 5, 2010 . 1 changed file with 5 additions and 5 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,4 @@ =Rails 2.3.5 on App Engine (DataMapper) Do not use rvm (or install and run from JRuby). The google-appengine gem must install into your system MRI. The appengine-sdk gem includes a complete Java app server. We bootstrap Java from MRI, then your app runs inside a servlet container (with access to all the APIs) using the version of JRuby installed into each app. @@ -11,19 +11,19 @@ See the TInyDS version also: http://gist.github.com/gists/269075 One meta-gem provides the development environment sudo gem install google-appengine ==Install Rails 2.3.5 with required patches Install some gems you'll need sudo gem install rails -v "2.3.5" sudo gem install rails_dm_datastore sudo gem install activerecord-nulldb-adapter Create a folder for your app mkdir rails_app; cd rails_app Download and run the setup script curl -O http://appengine-jruby.googlecode.com/hg/demos/rails2/rails235_appengine.rb ruby rails235_appengine.rb ==Working with Your Rails App -
woodie revised this gist
Sep 5, 2010 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -22,7 +22,7 @@ Create a folder for your app mkdir rails_app; cd rails_app Download and run the setup script curl -O http://appengine-jruby.googlecode.com/hg/demos/rails2/rails239_appengine.rb ruby rails239_appengine.rb ==Working with Your Rails App -
woodie revised this gist
Sep 5, 2010 . 2 changed files with 64 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1 +1,52 @@ =Rails 2.3.9 on App Engine (DataMapper) Do not use rvm (or install and run from JRuby). The google-appengine gem must install into your system MRI. The appengine-sdk gem includes a complete Java app server. We bootstrap Java from MRI, then your app runs inside a servlet container (with access to all the APIs) using the version of JRuby installed into each app. We assumed Rails 2 would never work without rubygems, and we committed to gem bunlder for JRuby on App Engine, so we were waiting for Rails 3. Fortunately, Takeru Sasaki was able to patch the Rails 2.3.x calls to rubygems, and now we have it working. Rails 2.3.x currently spins up several seconds faster than Rails 3, and just a few seconds behind Sinatra. See the TInyDS version also: http://gist.github.com/gists/269075 ==Install the Development Environment One meta-gem provides the development environment sudo gem install google-appengine ==Install Rails 2.3.9 with required patches Install some gems you'll need sudo gem install rails -v "2.3.9" sudo gem install rails_dm_datastore sudo gem install activerecord-nulldb-adapter Create a folder for your app mkdir rails_app; cd rails_app Download and run the setup script curl -O http://appengine-jruby.googlecode.com/hg/demos/rails2/rails238_appengine.rb ruby rails239_appengine.rb ==Working with Your Rails App Start development server ./script/server.sh Open local console ./script/console.sh Publish to production ./script/publish.sh ==Support for generators We disable rubygems in the development environment, and the generators from Rails 2 perform various Gem dependency checks that are too difficult to patch, so we run the generators from the MRI. We also use Josh Moore's rails_dm_datastore integration plugin. Generate a restful controller and add it to config/routes.rb ./script/generate scaffold contact title:string summary:text \ birthday:date url:string address:string phone:string -f --skip-migration Generate a model for DataMapper ./script/generate dd_model contact title:string summary:text \ birthday:date url:link address:postal_address phone:phone_number -f You’ve created a RESTful controller, and a DataMapper model This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,13 @@ class Contact include DataMapper::Resource storage_names[:default] = "Contact" property :id, Serial property :title, String, :required => true, :length => 500 property :summary, Text, :required => true, :lazy => false property :birthday, Date, :required => true property :url, Link, :required => true property :address, PostalAddress, :required => true property :phone, PhoneNumber, :required => true timestamps :at end -
woodie revised this gist
Sep 5, 2010 . 1 changed file with 1 addition and 4 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1 @@ =Rails 2.3.9 on App Engine (DataMapper) -
woodie revised this gist
Jul 22, 2010 . 2 changed files with 2 additions and 60 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,50 +1,4 @@ =Rails 2.3.5 on App Engine (DataMapper) Please use the updated guide: http://gist.github.com/486250 This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,12 +0,0 @@ -
woodie revised this gist
May 22, 2010 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,6 @@ =Rails 2.3.5 on App Engine (DataMapper) Do not use rvm (or install and run from JRuby). The google-appengine gem must install into your system MRI. The appengine-sdk gem includes a complete Java app server. We bootstrap Java from MRI, then your app runs inside a servlet container (with access to all the APIs) using the version of JRuby installed into each app. We assumed Rails 2 would never work without rubygems, and we committed to gem bunlder for JRuby on App Engine, so we were waiting for Rails 3. Fortunately, Takeru Sasaki was able to patch the Rails 2.3.5 calls to rubygems, and now we have it working. Rails 2.3.5 currently spins up several seconds faster than Rails 3, and just a few seconds behind Sinatra. -
woodie revised this gist
May 22, 2010 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,6 @@ =Rails 2.3.5 on App Engine (DataMapper) Do not use rvm (or install and run from JRuby). The google-appengine gem must install into MRI. The appengine-sdk gem includes a complete Java app server. We bootstrap Java from MRI, then your app runs inside a servlet container (with access to all the APIs) using the version of JRuby installed into each app. We assumed Rails 2 would never work without rubygems, and we committed to gem bunlder for JRuby on App Engine, so we were waiting for Rails 3. Fortunately, Takeru Sasaki was able to patch the Rails 2.3.5 calls to rubygems, and now we have it working. Rails 2.3.5 currently spins up several seconds faster than Rails 3, and just a few seconds behind Sinatra. -
woodie revised this gist
May 22, 2010 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,6 @@ =Rails 2.3.5 on App Engine (DataMapper) Do not use rvm (or install and run from JRuby). The google-appengine gem must install into MRI. The appengine-sdk gem includes a complete java app server. We bootstrap java from MRI, then your app runs inside a servlet container using the version of JRuby installed into each app. We assumed Rails 2 would never work without rubygems, and we committed to gem bunlder for JRuby on App Engine, so we were waiting for Rails 3. Fortunately, Takeru Sasaki was able to patch the Rails 2.3.5 calls to rubygems, and now we have it working. Rails 2.3.5 currently spins up several seconds faster than Rails 3, and just a few seconds behind Sinatra. -
woodie revised this gist
May 22, 2010 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,7 @@ =Rails 2.3.5 on App Engine (DataMapper) Do not use rvm (or install and run from JRuby). The google-appengine gem must install into MRI. The appengine-sdk gem includes a complete java app server, so we bootstrap java from MRI, then you app runs inside a servlet container using the version of JRuby installed into each app. We assumed Rails 2 would never work without rubygems, and we committed to gem bunlder for JRuby on App Engine, so we were waiting for Rails 3. Fortunately, Takeru Sasaki was able to patch the Rails 2.3.5 calls to rubygems, and now we have it working. Rails 2.3.5 currently spins up several seconds faster than Rails 3, and just a few seconds behind Sinatra. See the TinyDS version also: http://gist.github.com/269075 -
woodie renamed this gist
May 6, 2010 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
woodie revised this gist
Mar 2, 2010 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -27,7 +27,7 @@ Open local console ./script/console.sh Publish to production ./script/publish.sh ==Support for generators -
woodie revised this gist
Mar 2, 2010 . 1 changed file with 3 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -21,13 +21,13 @@ Download and run the setup script ==Working with Your Rails App Start development server ./script/server.sh Open local console ./script/console.sh Publish to production ./script/console.sh ==Support for generators -
woodie revised this gist
Feb 12, 2010 . 2 changed files with 9 additions and 8 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -38,11 +38,11 @@ We disable rubygems in the development environment, and the generators from Rail Generate a restful controller and add it to config/routes.rb ./script/generate scaffold contact title:string summary:text \ birthday:date url:string address:string phone:string -f --skip-migration Generate a model for DataMapper ./script/generate dd_model contact title:string summary:text \ birthday:date url:link address:postal_address phone:phone_number -f You’ve created a RESTful controller, and a DataMapper model This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,11 +1,12 @@ class Contact include DataMapper::Resource property :id, Serial property :title, String, :required => true, :length => 500 property :summary, Text, :required => true, :lazy => false property :birthday, Date, :required => true property :url, Link, :required => true property :address, PostalAddress, :required => true property :phone, PhoneNumber, :required => true timestamps :at end -
woodie revised this gist
Feb 12, 2010 . 1 changed file with 3 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -32,8 +32,9 @@ Publish to production ==Support for generators We disable rubygems in the development environment, and the generators from Rails 2 perform various Gem dependency checks that are too difficult to patch, so we run the generators from the MRI. We also use Josh Moore's rails_dm_datastore integration plugin. sudo gem install rails -v "2.3.5" sudo gem install rails_dm_datastore sudo gem install activerecord-nulldb-adapter Generate a restful controller and add it to config/routes.rb ./script/generate scaffold contact title:string summary:text \ -
woodie revised this gist
Jan 27, 2010 . 1 changed file with 0 additions and 4 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -18,10 +18,6 @@ Download and run the setup script curl -O http://appengine-jruby.googlecode.com/hg/demos/rails2/rails2_appengine.rb ruby rails2_appengine.rb ==Working with Your Rails App Start development server -
woodie revised this gist
Jan 25, 2010 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -45,7 +45,7 @@ Generate a restful controller and add it to config/routes.rb Generate a model for DataMapper ./script/generate dd_model contact title:string summary:text \ url:link address:postal_address phone:phone_number -f You’ve created a RESTful controller, and a DataMapper model -
woodie revised this gist
Jan 22, 2010 . 1 changed file with 3 additions and 4 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -18,10 +18,9 @@ Download and run the setup script curl -O http://appengine-jruby.googlecode.com/hg/demos/rails2/rails2_appengine.rb ruby rails2_appengine.rb Fix JRuby-Rack curl -sO http://jruby-primer.appspot.com/tools/fix008.rb ruby fix008.rb ==Working with Your Rails App -
woodie revised this gist
Jan 22, 2010 . 1 changed file with 0 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -8,8 +8,6 @@ See the TinyDS version also: http://gist.github.com/269075 The gems for the development environment include a pre-release appengine-tools gem that provides a pre-release version of jruby-rack. sudo gem install google-appengine ==Install Rails 2.3.5 with required patches -
woodie revised this gist
Jan 22, 2010 . 1 changed file with 5 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -20,6 +20,11 @@ Download and run the setup script curl -O http://appengine-jruby.googlecode.com/hg/demos/rails2/rails2_appengine.rb ruby rails2_appengine.rb Upgrade JRuby-Rack cd WEB-INF/lib curl -O http://appengine-jruby.googlecode.com/files/jruby-rack-0.9.6.jar cd ../.. ==Working with Your Rails App Start development server -
woodie revised this gist
Jan 17, 2010 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -8,6 +8,8 @@ See the TinyDS version also: http://gist.github.com/269075 The gems for the development environment include a pre-release appengine-tools gem that provides a pre-release version of jruby-rack. sudo gem install google-appengine sudo gem uninstall appengine-tools sudo gem install appengine-tools --pre ==Install Rails 2.3.5 with required patches -
woodie revised this gist
Jan 15, 2010 . 1 changed file with 0 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -8,7 +8,6 @@ See the TinyDS version also: http://gist.github.com/269075 The gems for the development environment include a pre-release appengine-tools gem that provides a pre-release version of jruby-rack. sudo gem install google-appengine ==Install Rails 2.3.5 with required patches -
woodie revised this gist
Jan 13, 2010 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -25,7 +25,7 @@ Start development server dev_appserver.rb . Open local console appcfg.rb run -S irb -r config/environment Publish to production appcfg.rb update . -
woodie revised this gist
Jan 12, 2010 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -2,7 +2,7 @@ class Contact include DataMapper::Resource property :id, Serial property :title, String, :required => true, :length => 500 property :summary, Text, :required => true, :lazy => false property :url, Link, :required => true property :address, PostalAddress, :required => true -
woodie revised this gist
Jan 12, 2010 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -2,7 +2,7 @@ class Contact include DataMapper::Resource property :id, Serial property :title, String, :required => true, :length => 250 property :summary, Text, :required => true, :lazy => false property :url, Link, :required => true property :address, PostalAddress, :required => true -
woodie revised this gist
Jan 12, 2010 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -5,7 +5,7 @@ class Contact property :title, String, :required => true, :length => 100 property :summary, Text, :required => true, :lazy => false property :url, Link, :required => true property :address, PostalAddress, :required => true property :phone, PhoneNumber, :required => true timestamps :at end -
woodie revised this gist
Jan 12, 2010 . 2 changed files with 6 additions and 5 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -37,12 +37,12 @@ We disable rubygems in the development environment, and the generators from Rail sudo gem install activerecord-nulldb-adapter Generate a restful controller and add it to config/routes.rb ./script/generate scaffold contact title:string summary:text \ url:string address:string phone:string -f --skip-migration Generate a model for DataMapper ./script/generate dm_model contact title:string summary:text \ url:link address:postal_address phone:phone_number -f You’ve created a RESTful controller, and a DataMapper model This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,10 +1,11 @@ class Contact include DataMapper::Resource property :id, Serial property :title, String, :required => true, :length => 100 property :summary, Text, :required => true, :lazy => false property :url, Link, :required => true property :address, PostalAddress, :nullable => false property :phone, PhoneNumber, :required => true timestamps :at end -
woodie revised this gist
Jan 12, 2010 . 1 changed file with 4 additions and 4 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -2,9 +2,9 @@ class Article include DataMapper::Resource property :id, Serial property :title, String, :required => true, :length => 100 property :summary, Text, :required => true, :lazy => false property :url, Link, :required => true property :phone, PhoneNumber, :required => true timestamps :at end -
woodie revised this gist
Jan 12, 2010 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -32,7 +32,7 @@ Publish to production ==Support for generators We disable rubygems in the development environment, and the generators from Rails 2 perform various Gem dependency checks that are too difficult to patch, so we run the generators from the MRI. We also use Josh Moore's rails_dm_datastore integration plugin. sudo gem install rails rails_dm_datastore sudo gem install activerecord-nulldb-adapter -
woodie revised this gist
Jan 12, 2010 . 1 changed file with 0 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -45,6 +45,4 @@ Generate a model for DataMapper ./script/generate dm_model article title:string summary:text \ url:link phone:phone_number -f You’ve created a RESTful controller, and a DataMapper model -
woodie revised this gist
Jan 12, 2010 . 2 changed files with 7 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -37,11 +37,14 @@ We disable rubygems in the development environment, and the generators from Rail sudo gem install activerecord-nulldb-adapter Generate a restful controller and add it to config/routes.rb ./script/generate scaffold article title:string summary:text \ url:string phone:string -f --skip-migration Generate a model for DataMapper ./script/generate dm_model article title:string summary:text \ url:link phone:phone_number -f ./script/generate dm_model article title:string summary:text url:string -f You’ve created a RESTful controller, and a DataMapper model This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -4,6 +4,7 @@ class Article property :id, Serial property :title, String, :nullable => false property :summary, Text, :nullable => false property :url, Link, :nullable => false property :phone, PhoneNumber, :nullable => false timestamps :at end
NewerOlder