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 characters
| class UrlMappings { | |
| static mappings = { | |
| // REST - why not working?? | |
| "/$controller/$id.json" { | |
| action = [GET: 'show', PUT: 'update', DELETE: 'delete'] | |
| } | |
| "/$controller.json" { | |
| action = [GET: 'list', POST: 'create'] |
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 characters
| cs_arrival_ids = [423050358,423450813,423401310,423417010,417904096,422380559,423420142,423123424,423429622,423326315,422377892,423168626,423016110,423303542,423410967,423326016,423374842,423074468,421185520,423451941,423460844,423401236,423477091,423336778,423149293,423100201,423355029,423121061,423436964,423171315,422396437,423427000,423327399,423396077,423348513,423300410,422402933,423475630,422652795,423019976,423367074,423083760,423107899,423041479,420913667,423321831,423466069,423446788,423343996,423320807,423335628,423337675,423323070,423342302,423445204,423468384,419623679,423097147,423093651,423469379,423311517,423328225,423359004,423352760,423156659,423454446,423318501,423122211,423086197,423306894,423423820,423118780,423329256,423307022,423342067,422964379,423183581,423463029,423446492,423310342,423312434,422759605,423357731,423310676,422410355,423020818,423131234,423046661,423452116,423411792,423371358,423303412,423307783,423429005,421325645,423088265,423448702,423158329,423390442,423437153,423057 |
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 characters
| cs_arrival_ids = [423050358,423450813,423401310,423417010,417904096,422380559,423420142,423123424,423429622,423326315,422377892,423168626,423016110,423303542,423410967,423326016,423374842,423074468,421185520,423451941,423460844,423401236,423477091,423336778,423149293,423100201,423355029,423121061,423436964,423171315,422396437,423427000,423327399,423396077,423348513,423300410,422402933,423475630,422652795,423019976,423367074,423083760,423107899,423041479,420913667,423321831,423466069,423446788,423343996,423320807,423335628,423337675,423323070,423342302,423445204,423468384,419623679,423097147,423093651,423469379,423311517,423328225,423359004,423352760,423156659,423454446,423318501,423122211,423086197,423306894,423423820,423118780,423329256,423307022,423342067,422964379,423183581,423463029,423446492,423310342,423312434,422759605,423357731,423310676,422410355,423020818,423131234,423046661,423452116,423411792,423371358,423303412,423307783,423429005,421325645,423088265,423448702,423158329,423390442,423437153,423057 |
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 characters
| require 'sqlite3' | |
| require 'activerecord' | |
| ActiveRecord::Base.establish_connection(:adapter => "sqlite3", :database => "touch.sqlite3") | |
| ActiveRecord::Base.connection.execute <<-SQL | |
| create table companies( | |
| id integer primary key asc, | |
| created_at text, | |
| updated_at text | |
| ); |