Displaying 20 results from an estimated 3000 matches similar to: "new features"
2006 Jun 25
6
Understanding Common Views
Hi Everyone,
I''m trying to formulate my thoughts on how views work in RoR and I
understand the basic bits -
1. Every controller has its own view defined using rhtml files in the
views/[controller_name] folder.
2. There is one "view" file (rhtml) for every in the controller and has
the same name as the method.
3. For portions that are common, partials can be used - file
2005 Oct 02
1
rendering if template exists
Hi folks,
I have a component on my site called RelatedController. I intend to
put some links and content related with the current page (controller
and action). What I want to do is for the time being is
render :partial "#{@current_controller}_#{@current_action}"
Then in the component template root I have templates like
_products_index _products_cart etc. I have decided to put
2009 Apr 30
10
tweaking Passenger/Rack for performance.
so here are my unorganized thoughts on Passenger settings.
* PassengerMaxPoolSize
This depends a lot on two primary variables. a) How much RAM you have.
b) How much resident memory is needed for your environments/modules.
Only way to determine this is with tweaking, and you''ll need to be
much more conservative than the suggested settings on the Passenger
docs as your app takes up a lot
2009 May 20
2
arrangement of crowded labels
Dear R users
I'm looking for algorithms that assist in spreading out crowded labels, e.g.
labels of points in a scatter plot, in order to obtain a nicer visual
appearance and better legibility.
I'm probably just stuck because I didn't find the right key words for a
successful search on the R websites or in the mailing list archives.
Any hints are appreciated.
Thomas Zumbrunn
2008 Feb 20
4
plotting every ith data point?
Hello, fellow R enthusiasts.
Ok, I've been racking my brain about this small issue, and between
searching the help archives and reading through the plot-related
documentation, I can't figure out how to achieve my desired endpoint
without some ugly, brute force coding.
What I would like to do is make a plot in which only a subset of my
data are plotted, but in regular intervals, such as
2008 Dec 24
2
ggplot2 Xlim
Hi: I need some help.
I am ploting a bar graph but I can't adjust my x axis scale
I use this code:
i <- qplot(ForkLength,Number,data=FL,geom="bar")
i + geom_bar(colour="blue",fill="grey65") # too crowded
FL_dat <- ggplot(FL,aes(x=ForkLength,y=Number)) + geom_bar(colour="green",fill="grey65")
FL_dat +
2006 May 18
4
How do you delete a session variable?
Hi
Let''s say we set session[:foo] = ''bar''. Now we want to remove the :foo
key completely. How do you do that?
Appearantly, session is a CGI::Session [1] instance, so it doesn''t
have #delete like Hash. I tried:
session[:foo] = nil
But then debug(session) shows an empty :foo key. I''d like to remove
that key, as my session is already pretty crowded. Is
2006 Aug 28
3
screen resolution effects on graphics
Greetings, R-Citizens:
I have the good fortune of working with a 19" 1280 X 1024 pixel monitor. My
R-code produces nice-looking graphics on this machine but the same code
results in crowded plots on an older machine with 800 X 600 resolution. In
hindsight this seems obvious, but I didn't anticipate it.
My code will be used on machines with varying graphics (and memory)
capacity. Is
2017 Sep 18
2
pheatmap: incomplete figure
Dear R Community,
I tried to generate heatmap for a matrix of 1500 columns by 106 rows using the following R script:
> pheatmap(tf.vs.DE.1.removeAllZeroCol, fontsize=3,border_color=NA)
and got the graph (as attached Fig 1)
Since the column labels appear very crowded, I tried to increase the cellwidth to stretch the graph horizontally. The idea was to show the graph section by section, but with
2009 May 31
1
Fwd: BUG: Documentation/lguest/lguest.c bad paths for includes cause make to fail
Pardon my unorganized cc:'s.
---------- Forwarded message ----------
From: Charles 'Mack' Rhinelander <mrhinelander at gmail.com>
Date: Sun, May 31, 2009 at 1:39 AM
Subject: Fwd: BUG: Documentation/lguest/lguest.c bad paths for
includes cause make to fail
To: linux-kernel at vger.kernel.org
Cc: Andrew Morton <akpm at osdl.org>, lguest at ozlabs.org
---------- Forwarded
2009 May 31
1
Fwd: BUG: Documentation/lguest/lguest.c bad paths for includes cause make to fail
Pardon my unorganized cc:'s.
---------- Forwarded message ----------
From: Charles 'Mack' Rhinelander <mrhinelander at gmail.com>
Date: Sun, May 31, 2009 at 1:39 AM
Subject: Fwd: BUG: Documentation/lguest/lguest.c bad paths for
includes cause make to fail
To: linux-kernel at vger.kernel.org
Cc: Andrew Morton <akpm at osdl.org>, lguest at ozlabs.org
---------- Forwarded
2011 Apr 09
4
API documentation for find_in_batches
Hello,
At guides.rubyonrails.org I read about the possibilities of
find_in_batches. However I cannot find this option anywhere in the API
documentation (api.rubyonrails.org).
My question: where should I look for the documentation of this
command?
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email
2007 Sep 28
4
RSpec + EdgeRails on Windows
I recently post on my blog about setting up a Rails environment with RSpec
in Windows, and someone left a comment saying that it doesn''t work in
EdgeRails. I so I played around with it a bit and was able to confirm that
none RSpec appears broken on EdgeRails. I''ll post the various error messages
I received below. I''m not expecting any sort of patch or something for this
2006 Mar 29
5
EdgeRails: "undefined method `weight'' for #<Hash:
Hi all,
I was playing with the sample project found on the Wiki at
http://wiki.rubyonrails.com/rails/pages/HowToIntegrateFerretWithRails
, and everything was working fine, ... till I moved to EdgeRails :
undefined method `weight'' for #<Hash:0x22c7150>
(full error thread below)
Any idea?
Alain
2006 Feb 28
4
How to use Ruby on Rails on OS X
Direct from the horse''s mouth. :-)
http://developer.apple.com/tools/rubyonrails.html
Found via:
http://digg.com/technology/Apple_makes_a_concise_Ruby_on_Rails_tutorial
--
-- Tom Mornini
2005 Dec 21
7
Are there any disadvantages to using locomotive
Hi:
I had some issues and so switched to locomotive. I find it awesome. 1
click and its done.
My question - what disadvantages are there, if any? What do I lose by
using such a convenient solution.
speculation as well as facts are welcome but please define which you
are putting forwards.
Thanks in advance,
bruce
2006 Jan 13
7
installing rails in vendor
Does a rails project automatically switch to using a "local" copy of
the rails libs if it exists in the vendor directory, or do I need to
tweak something else to pick it up?
Thanks!
-Theo
2006 Mar 13
8
Nested find(:all, :include => ) statements
Is there a way for me to do:
OrderItem.find(:all, :include => [:user, :product => [:supplier]]
So I don''t have a supplier_id on my order_item, but have it on my
product, which is part of order_item.
Joerg
--
Posted via http://www.ruby-forum.com/.
2003 Jun 25
2
dendrograms
Hello all,
I am using libraries (mva,cluster) to produce dendrograms. With 1000
examples the dendrogram gets too crowded, and i am wondering whether there
is an option (which i cannot find) to set the number of leaf nodes, like
in matlab, and return the plot and the assignment map examples -> leaf
nodes. Any suggestion is appreciated. Thanks
Edo
2017 Sep 18
0
pheatmap: incomplete figure
> On Sep 18, 2017, at 9:26 AM, Fix Ace via R-help <r-help at r-project.org> wrote:
>
> Dear R Community,
> I tried to generate heatmap for a matrix of 1500 columns by 106 rows using the following R script:
>> pheatmap(tf.vs.DE.1.removeAllZeroCol, fontsize=3,border_color=NA)
> and got the graph (as attached Fig 1)
>
> Since the column labels appear very crowded, I