Displaying 3 results from an estimated 3 matches for "postlength".
2006 Jun 13
11
Question: Migration - multiple creates
I want to create a migration file that creates multiple tables, so i''m
guessing the correct format would be:
Can anyone confirm ? I''m guessing that each new create script requires a
seperate class so formatted this way. Perhaps I''m wrong.
TIA
Stuart
class CreateTable1 < ActiveRecord::Migration
def self.up
create_table :table1s do |t|
t.column :length,
2006 Jun 22
11
Help please
...t;
</tr>
Here is the method in the controller:
def positionslist
@positions = (Position.find_all)
end
The model:
class Position < ActiveRecord::Base
belongs_to :category
belongs_to :contactmethod
belongs_to :edureq
belongs_to :expreq
belongs_to :postlength
belongs_to :securityclear
belongs_to :state
def self.find_all
find(:all)
end
end
Maybe something jumps out at someone ?
TIA
Stuart
2008 Dec 15
2
Baffled: triggering error message with an sd result in odfWeave?
...res, na.rm=T),1) else ""
when I try to insert this traindev value anywhere in my odfWeave document
(using \Sexpr{traindev} ), I get the following error:
Start tag expected, '<' not found
Error: 1: Start tag expected, '<' not found
Another formula,
postsd<- if (postlength>0) round(sd(postscores, na.rm=T),1) else ""
does not trigger the same error.
It's not something strange with the variable name; give any other value to
that variable and odfWeave works just fine. It's not the spot on the
document; any other tag works great in that spot a...