Displaying 20 results from an estimated 20000 matches similar to: "sorting"
2006 Apr 16
3
AJAX multi actions?
How can I do something like this:
<a id=a7 style="cursor: pointer;"
onClick = "new Effect.Fade (''li'');
Element.show(''a1'',''a2'',''a3'',''a5'',''a6'');
onClick = "new Effect.Fade (''rp'');
2006 Mar 29
8
Action Mailer
Does anyone know where I can download an demo app of action mailer. I''ve
looked every where. I''ve also done the tuts. but, they don''t work for
me. Thanks...
--
Posted via http://www.ruby-forum.com/.
2006 Apr 21
2
Action Mailer E-Mail
Two qs:
1. Does AM have to use a real e-mail addr?
2. Where can I get a free e-mail addr that has POP without SSL?
--
Posted via http://www.ruby-forum.com/.
2006 May 12
1
Some error about adding.
Ok so I''m trying to make a little exchange 3 for 1 of 1 higher rank here
is the code in the controller:
def exch_link
@id = @session[:user].id
@type = @params[:type]
exch(@id,@type)
end
def exch(user_id,this_type)
@user = User.find(:condtions => "id = " + user_id)
@ranks =
2006 Apr 27
12
Stealing users IP address
Is there a functiaon to take the IP address of person who submits to a
form
example:
<input id="user_ip" name="user[ip]" type="hidden" value="<%=
some_ip_call %>" />
--
Posted via http://www.ruby-forum.com/.
2006 May 10
7
AJAX effects
I was at http://rails.techno-weenie.net/ and I like what ajax does when
you click on "login" how can I do this on my own website? Is this with
the defualt JS libary?
--
Posted via http://www.ruby-forum.com/.
2006 May 11
9
Undoing a SHA1
Hello for my password recovery system I want to recover the users
password and send it to them. In the DB its saved via SHA1 (login
generator)
--
Posted via http://www.ruby-forum.com/.
2006 Mar 30
11
Illegal char \002? Need to restart Rails to see changes?
Hi all,
I''m developing an app on a home Windows computer and using
SVN/Capistrano to deploy to a Linux server. I''m encountering some
bizarre behavior that I think has something to do with Linux and Windows
text file types, but I''m not sure.
What''s happening is that, whenever I edit my view files and reload the
page in my local browser, I see errors saying
2006 Apr 26
7
Not updating
I copied the scaffolding edit and update and made it like this,
Note: awnser is edit.
Admin_contoller.rb
def awnser
@question = Question.find(params[:id])
end
def update
@question = Question.find(params[:id])
if @question.update_attributes(params[:question])
flash[:notice] = ''Question was successfully updated.''
redirect_to :action => ''list''
2008 May 28
3
Newbie: Searcing database via user form input?
Does anyone have a tutorial on adding new parameters to the paramaters
list and then creating find conditions around them?
I''m wondering how I can get my index page to list only the items where
some of the the databases fields match user form input. index.html.erb
would be calling itself with a new parameter :searchdata
So far the index.html.erb has...
<% form_tag({ :action =>
2007 May 29
2
R's Spearman
Hi all,
I am trying to figure out the formula used by R's Spearman rho (using
cor(method="spearman")) because I can't seem to get the same value as by
calculating "by hand". Perhaps I'm using "cor" wrong, but I don't know
where. Basically, I am running these commands:
> y=read.table(file="tmp",header=TRUE,sep="\t")
>
2006 Apr 27
2
Red cloth
what is the require I must put in my enviremnt to use red cloth?
--
Posted via http://www.ruby-forum.com/.
2007 Dec 06
1
finding most highly transcribed genes - ranking, sorting and subsets?
Hello,
I am not only interested in finding out which genes are the most highly up-
or down-regulated (which I have done using the linear models and Bayesian
statistics in Limma), but I also want to know which genes are consistently
highly transcribed (ie. they have a high intensity in the channel of
interest eg. Cy5 or Cy3 across the set of experiments). I might have missed
a straight forward
2002 Sep 16
1
Running Median and Mean
R gurus,
On Aug 20, 2002, I asked in R-help about calculating a running 5-day median on
a large matrix. Thanks to Martin Maechler <maechler@stat.math.ethz.ch> and Ray
Brownrigg <Ray.Brownrigg@mcs.vuw.ac.nz> for responding.
I ended up writing C code (and an R interface) to do it, which is about 1000x
faster than the naive method! (72s became .09s on a 223 x 520 matrix). I
added a
2006 May 04
6
Login generator ALWAYS says login unseccesfull
Hey I just ran this "ruby script/generate login loging_in" here is my
SQL:
CREATE TABLE `users` (
`id` int(11) NOT NULL auto_increment,
`user_name` varchar(80) default NULL,
`login` varchar(120) NOT NULL default '''',
`last_update` timestamp NOT NULL default ''0000-00-00 00:00:00'',
`last_attack` timestamp NOT NULL default ''0000-00-00
2006 Apr 29
2
Creating your own params
I want to pass my own param called randid so I can do this
@rnd = params[:randid]
this will work if I can pass the :randid
--
Posted via http://www.ruby-forum.com/.
2007 Aug 23
7
custom sort routine
is it possible to write a custom sort routine for ferret?
I use ferret right now to index all my products. One of the variables
in these product documents is the product popularity, where 1 = best
selling production, 2 = 2nd best, etc..
Right now, I''m just sorting by the popularity column in my search
results, although this doesn''t always provide "good" results,
2006 Apr 27
11
Action Mailer Error!!!
What does this mean?
Bad file descriptor - connect(2)
--
Posted via http://www.ruby-forum.com/.
2005 Oct 16
3
Sorting a data frame by one of the variables
Dear all,
I have a date frame like this:
X Y Z
22 24 4.3
2.3 3.4 5.3
.....
....
57.2 23.4 34
What my purpose is: to sort the data frame by either X, Y or Z.
sample output is (sorted by X) :
X Y Z
2.3 3.4 5.3
.....
......
22 24 4.3
...
57.2 23.4 34
I have no idea how to use sort, order or rank functions. Please help me out.
Thanks!
Leaf
2010 Jan 26
2
accepts_nested_attributes_for :has_many :through => 'bug?'
Hey guys & ladies!
I''ve got the following relationship which i''m trying to get
accepts_nested_attributes to work with. But when i submit my form, it
looks as if its expecting a Company object, rather than an array of
companies. which really doesn''t make sense considering its a
has_many :relationship.
So what i''m after, is a way to