Displaying 10 results from an estimated 10 matches for "attribute1".
Did you mean:
attribute
2006 Apr 03
1
attribute select problem
Hi,
I''m searching a metod to do a selection suck as:
Select attribute1,attribute2
from table
where conditions
I know that the "find()" and "find_by_sql" methods takes all the
attribute...But i want only attribute1 and attribute2...Can someone tell
me if there''s a method that give me this opportunity?
Thanks,Ivan.
--
Posted via http:...
2007 Oct 18
2
Remember me functionality
Hi all,
I am trying to implement the functionality of Remember Me. The
requirement is that once the user closes the browser after checking the
remember me check box, it should return to the login page with username
and password fields to be filled into the text boxes and the checkbox
button checked, so that there is no need to fill all the fields. I am
not able to fill the text boxes with user
2011 Oct 11
1
plots of correlation matrices
Hi,
I want to do a visualisation of a matrix plot made up of several plots of
correlation matrices (using corrplot()). My data is in csv format. Here's an
example:
id,category,attribute1,attribute2,attribute3,attribute4
661,SCHS,43.2,0,56.5,1
12202,SCHS,161.7,5.7,155,16
1182,SCHS,21.4,0,29,0
1356,SSS, 8.8182,0.1818,10.6667,0.6667
1864,SCHS,443.7273,9.9091,537,46
12360,SOA,6.6364,0,10,0
3382,SOA,7.1667,0,26,0.5
1033,SOA,63.9231,1.5385,91.5,11.5
14742,SSS,4.3846,0,8,0
12760,SSS,425.0...
2008 May 21
1
Callback method for field
Is there callback method for field level?
Generally, after_create and after_save will fire at object level.
I need to fire some code when the value for the field is changed. I need
to call the call back method from observer
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
2009 Mar 05
1
Chunk of text won't show up when compiling Rd file
...}{Description of list object 2}
%... etc
\item{lastlistobject}{Description of the last list object}
THEN, here I have a general description of the attributes, and the text
represented by this sentence is what doesn't show up, because it's in
between more of an itemized list.
\item{attribute1}{details of attribute 1}
\item{attribute 2}{details of attribute 2}
Then I have text here, and this text does show up.
}
%%%%
[[alternative HTML version deleted]]
2012 Apr 23
1
Add attributes to igraph vector by name, not index
...nd they are not
sorted in the same order as the vector dataframe. It's a large bit of data:
about 20m edges and 3m vectors. I can't do this by hand.
Perhaps the answer is something like,
by V(g)[]$name in g {
i=get.index(V(g)$name)
if (V(g)[1]$name == dataframe$ID) {
V(g)[1]$newattribute1 <- dataframe$attribute1
V(g)[1]$newattribute2 <- dataframe$attribute2
V(g)[1]$newattribute3 <- dataframe$attribute3
}
}
R,
CW Dillon
--
View this message in context: http://r.789695.n4.nabble.com/Add-attributes-to-igraph-vector-by-name-not-index-tp4580032p4580032.html
Sent...
2007 Feb 26
2
Problem concerning CSV Mime Type
...", :csv
into my environment.rb, and added this code to my UserController''s index
action:
format.csv do
require ''csv''
CSV::Writer.generate(csv_string = "", '','') do |csv|
csv << ["login","attribute1","attribute2"]
@users.each { |user| csv << [user.login, user.email] }
end
send_data csv_string, :filename => "users.csv"
end
All this is working fine, but each time I start my "ruby
script/console", I get the following err...
2007 Jan 28
2
Views just returns #
hi im new to ruby on rails, and I have a stupid little problem, when i
do <%= Class1.find(:first) %> in a view file, it just shows "#" on the
website :( how do make it the value in the mySQL table?
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on
2006 Apr 01
7
Any way around AssociationTypeMismatch?
I want to have popup menus and check boxes in my forms to let users
select associated objects. In the form I''m working on, the object
"belongs_to" another type of object which is selected from a popup menu.
The id of the chosen object(s) for association is passed back in the
parameter hash, but when rails creates a new object from this parameter
hash, I get a
2010 Jun 30
0
FYI: a short guide to libvirt & network filtering iptables/ebtables use
...tcp/ipv6',
'icmp/ipv6', 'igmp/ipv6', 'udp/ipv6', 'udplite/ipv6', 'esp/ipv6',
'ah/ipv6', 'sctp/ipv6'. Each protocol defines what is valid inside
the <rule> element, the general pattern though is
<protocol match='yes|no' attribute1='value1' attribute2='value2'/>
so, eg a TCP protocol, matching ports 0-1023 would be expressed
as:
<tcp match='yes' srcportstart='0' srcportend='1023'/>
Attributes can included references to variables defined by the
object using the rule. So t...