Displaying 5 results from an estimated 5 matches for "catgory".
Did you mean:
category
2006 May 18
6
Newbie:problem when using validates*
Hi,
I have performed the cookbook tutorial. Before tailoring the views and
controllers, when I put in the model recipe.rb:
validates_uniqueness_of :title
validates_length_of :title, :within => 1...20
And I tried to introduce some new recipe without the above conditions I
got the message:
---------------------------------------------------
New recipe
1 error prohibited this category from
2006 Aug 02
2
Ajax_Scaffold display from link table
Hi,
Ive followed the pets/people ajax_scaffold example without any problem.
I have a table documents and each document has a category. In the
documents table i have a field called category_id. So in the documents
grif i want to display the corresponding catgory name and when it comes
to adding a new category or editing the have a drop down list to select
from.
category.rb
require ''ajax_scaffold''
class Category < ActiveRecord::Base
belongs_to :document
@scaffold_columns = [
AjaxScaffold::ScaffoldColumn.new(self, { :name =>...
2009 Jul 13
0
Partial Correlation
...hich form the category.*
Here in pcor.mat function i passed a item-category pair dataset and rets all
items and categories as predictors.
For Partial pairwise i can understand this function won't work ,because some
items which form a particular category ,cannot be partailly correlated to
that catgory.
but listwise shuld have any problem.
**
* *Is it due to LINPACK or LAPACK package.I don't have LAPACK package,which
is used in teh solve.default package.
*
*
*
*
Thanks
Moumita*
*
* *
* *
2006 Mar 29
11
why belongs_to does not like validation?
This works :
class Recipe < ActiveRecord::Base
belongs_to :category
end
But (when I add validation) this does not work :
class Recipe < ActiveRecord::Base
belongs_to :category
validates_length_of :category, :within => 6..20
validates_uniqueness_of :category, :message => "already exists"
end
thank you
--
View this message in context:
2008 Aug 22
3
simple generation of artificial data with defined features
Dear R-colleagues,
I am quite a newbie to R fighting my stupidity to solve a probably quite
simple problem of generating artificial data with defined features.
I am conducting a study of inter-observer-agreement in
child-bronchoscopy. One of the most important measures is Kappa
according to Fleiss, which is very comfortable available in R through
the irr-package.
Unfortunately medical doctors