search for: attribute2

Displaying 8 results from an estimated 8 matches for "attribute2".

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://www.ruby-...
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.0714,1.7857,...
2012 Apr 23
1
Add attributes to igraph vector by name, not index
...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 from the R help mailing list archive at Nabble.com.
2007 Feb 26
2
Problem concerning CSV Mime Type
...vironment.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 error: ./script/../config/...
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
...6', '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 the guest XML format allows e...