Displaying 20 results from an estimated 7000 matches similar to: "@record.each do |record|"
2006 Jul 10
4
find()
Can some1 help me on syntax with the find() function.
I''m trying to pull up a table record, called chart, that has a
particular field specified.
ie
chart has a field called record_id, which i know. How can i find the
record that contains chart.record_id.
something like chart = Chart.find(:conditions => "record_id = :id")
this gives me an error. I''m passing
2006 Jul 10
3
finding particular record
Hi,
I''m looking for a particular record from a view called ''charts''. The
view ''charts'' joins data from a table ''record'' and a table ''owners''.
I''m trying to pull up data from ''charts'' that lists certain data from
''record''
ie. I know i need record.id = 5. Is there a
2006 Jul 12
5
validates_peresence_of
Is there an expert validater that can point me in the right direction?
I''ve looked for extended documentation on ''validates_presence_of'' but i
can''t seem to find any.
I''m trying to make sure that i don''t enter a nil object in my database,
so i''ve added validate_presence_of to my Record Model.
i.e. -->
class Record <
2006 Jul 17
2
actionmailer / @recipeints
Hi all,
i''m trying to email multiple people based on certain criteria.
i do a search like
@stacks = Group.find(:all, :conditions => ["component_id = ?", 2])
this populates stack to contain multiple groups with component_id =2.
How do i populate @recipients to contain all possible @stack.email.
Let me clearify. Each stack has its own email, and i need to include
each
2006 Mar 09
3
Runtime Error
Hi all,
Can anyone tell me why this line of code works in FF but not IE??
function stuff(id){
record_id=$(id);
record_id.innerHTML = "foo";
}
I get a ''Runtime Error''.
--
-----------------------
Iggy Sandejas
Web Developer
0419 485 252
D-Frag Solutions
http://www.dfrag.com.au
-----------------------
2006 Jul 13
1
error_messages_for
I can''t seem to figure out how to validate a few fields some1 please
help me out
model---------
class Record < ActiveRecord::Base
validates_presence_of :sw, :flex
end
controller------------
class RecordController < A;;icationController
def new
@record = Rrecord.new
@product = Product.find(params[''product_id''])
end
def create
2014 Dec 15
6
rsync output under CentOS 6
Hello Elias,
Monday, December 15, 2014, 4:13:20 PM, you wrote:
EP> Sounds like it might be differences in precision of the timestamp.
Could be, thoght the NAS box has the sending system as it's NTP server so
their times should be in sync.
EP> Check out the `--modify-window` option.
Doesn't seem to stop all the folders being listed even though nothing is
transferred.
2006 Sep 15
2
Caching::Sweeper Access to Controller
Hello,
I''m running Mongrel 0.3.13.3, cluster 0.2.0, and Rails 1.1.6 and I
have a problem with a sweeper not having access to the controller
instance.
NoMethodError (undefined method `session'' for nil:NilClass):
/app/models/audit_sweeper.rb:16:in `log''
/app/models/audit_sweeper.rb:9:in `after_update''
2010 Aug 20
0
[PATCH 1/2] Implement APEI ERST feature to Xen
Implement APEI ERST feature to Xen
APEI are ACPI4.0 new features. It consists of ERST, BERT, HEST, and EINJ.
ERST is used to save fault error log to a platform persistent storage,
so that when reboot os can retrieve the error log and handle it.
This patch is used to implement ERST feature to Xen.
It consists of 3-level hierarchy: operation level, action level, and instruction level.
Instruction
2010 Apr 27
2
how to set chart output size in rgl (surface3d)?
Hi R users,
Does anyone know how to change the size of 3d charts? I'm using surface3d in
rgl package, opening a new window each time to display the chart. I want it
so that the chart fills the whole window, because when I output it to png, I
don't want all the white space around the chart (right now, i'm getting this
white "border" around the chart because the chart is
2006 Jan 29
9
Specify options with habtm
Hi all
I have the following models:
class member
has_and_belongs_to_many :disc_jockeys
end
class disc_jockey
has_and_belongs_to_many :members
end
The relation table is called disc_jockeys_members and has the following
fields:
disc_jockeys_members(disc_jockey_id, member_id, status)
So far, the field status can have values like valid, invalid, locked
etc., but it is not regarded yet by
2006 Aug 01
3
Commenting out Code
Does any one know how to comment out code in a controller (.rb file)
Thanks,
Yng
--
Posted via http://www.ruby-forum.com/.
2010 Mar 10
1
pie EPS BB
Greetings all!
I'm facing a puzzle I have not been able to solve.
I need to make an EPS of a pie-chart (Yes, I know;
please don't bother to tell me! I just need to ...).
I'm trying to do it with pie(), and I want to have
just the plain pie-chart with no annotations. So far
so good: "labels=rep(NA,...)" will do it.
But I want to have it output to an EPS file with the
2010 Jan 13
1
plotting moving range control chart
I have been having the same problem as poster Hodgess, below. It appears
that her question was never answered, so I would like to share a solution
with the community.
The problem is the (apparent?) inability to produce moving range process
behavior (a.k.a. "control") charts with individuals data in the package
"qcc" (v. 2.0). I have also struggled with the same limitation in
2009 May 05
4
Create Pie chart from .csv file
Hi all,
I am looking to create a pie chart from a given column in a .csv file.
My class variables are as follows:
entry_type, uniquekey, types, title, url, abstract, journal, author, month,
year, howpublished
So say I want to export a pie chart that groups together all entries under
'types' e.g. 3 x statistics 2x education etc. Im looking to have a piechart
represent this
2006 Nov 16
4
Excel Chart
Hey at all
I''ve a question about excel chart:
i want to export some data into excel and generate a chart with
different styles.
unfortunately, the generated chart is in fullscreeen-mode. how can i set
the size by generating the chart?
does anybody know a page where i can find some information about excel
charts?
thanks a lot!
Pascal
--
Posted via http://www.ruby-forum.com/.
2010 Feb 04
6
problems with SPC charts in R
Hi all,
I am using SPC techniques of plotting Xbar, R, S, P and C charts in R.For
this I am using qcc package in R and also using the following document for
reference.
http://www.stat.unipg.it/~luca/Rnews_2004-1-pag11-17.pdf
But while plotting S chart, R chartchart and also C chart I am getting
following errors.
I have plotted the Xbar chart successfully using following command
obj <-
2006 Sep 18
1
(no subject)
You may want to rethink your whole approach here:
1. Pie charts are usually a poor choice of graph, there are better
choices.
2. Adding percentages to a pie chart is a way of admitting that the pie
chart is not doing the job.
3. If you want people to compare percentages, then a table is what is
needed.
4. A pie chart with percentages added is essentially a colorful but
poorly layed out table.
2010 Sep 27
1
stacked area chart
Dear R-ers!
Asking for your help with building the stacked area chart for the
following simple data (several variables - with date on the X axis):
### Creating a data set
my.data<-data.frame(date=c(20080301,20080402,20080503,20090301,20090402,20090503,20100301,20100402,20100503),
x=c(1.1,1.0,1.6,1,2,1.5,2.1,1.3,1.9),y=c(-4,-3,-6,-5,-7,-5.2,-6,-4,-4.9),
2010 Jun 24
2
Correctly plotting bar and scatter chart on 2-y axis plot with par(new=T)
Hello Nabble users,
A question about having two y axes on a chart. I'm trying to show on the
left (first) y axis a measure used in an experiment; the x axis shows the
experiment number, that has been sorted in a specific manner -- i.e. not
Experiments 1,2,3,n, but could be Experiment 6,1,18,n; the right (second) y
axis shows an experimental variable. The idea of the chart is to show how