Displaying 3 results from an estimated 3 matches for "createpage".
Did you mean:
create_page
2012 Dec 18
0
problem with globalize3 : undefined method `create_translation_table!'
Hello,
I have the problem posted at this address :
https://github.com/svenfuchs/globalize3/issues/172.
I created a new project with a new model and I integrated globalize3. I
created a migration like this :
class CreatePages < ActiveRecord::Migration
def up
create_table :pages do |t|
t.timestamps
end
Page.create_translation_table! title: :string, body: :body
end
def down
drop_table :pages
Page.drop_translation_table!
end
end...
2006 Aug 13
3
+ migrations in camping
...ables, it runs once and it''s done. But what happens if the
next version of Tepee adds a field? Well, you write some code to sniff out that
field in the database, right?
== V and Its Float ==
Here''s how I could rewrite Tepee to use the V class:
module Tepee::Models
class CreatePages < V 1.0
def self.up
create_table :tepee_pages, :force => true do |t|
t.column :title, :string, :limit => 255
t.column :body, :text
end
Tepee::Models::Page.create_versioned_table
end
def self.down
drop_table :tepee_pages...
2019 Oct 28
6
RFC: Matrix math support
Hello,
This is a follow-up to Adam’s original RFC (RFC: First-class Matrix type, [1] <http://lists.llvm.org/pipermail/llvm-dev/2018-October/126871.html>) <https://confluence.sd.apple.com/pages/createpage.action?spaceKey=DPT&title=1&linkCreation=true&fromPageId=1360610956> and his follow-up ([RFC] Matrix support (take 2, [2 <http://lists.llvm.org/pipermail/llvm-dev/2018-December/128322.html>]). The main sticking points of the last thread were centred around representing padding,...