Displaying 20 results from an estimated 40000 matches similar to: "undefined method `save' for :Array"
2008 Feb 21
4
undefined method `save' for :Array
hi all
when i m trying to save my tags.this error s cmng........cn anybody
help me to how to save the array
error depicting = undefined method `save'' for []:Array
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to
2010 Jun 07
1
undefined method 'to_sym' for ["<var>", "<var">]:Array
I am running into a problem with my LDAP puppet setup with this error
message:
PuppetClient:
err: Could not retrieve catalog from remote server: Error 400 on SERVER:
Could not parse for environment DR: undefined method `to_sym'' for ["ENV1",
"ENV2"]:Array
PuppetMaster:
err: Could not parse for environment DR: undefined method `to_sym'' for
["ENV1",
2008 Jan 03
1
help - updated from 1.2.5 to 1.2.6 and getting undefined method 'session=' for ActionController::base
i start the server but it exits right away,
I ran the rake to update and changed the version string in config.rb.
Any thoughts on this matter would be appreciated.
i imagine that it has something to do with the session, but i am not
able to figure it out.
my config/config.rb has the following
config.action_controller.session = {
:session_key => ''c3_rails_session'',
2009 Apr 20
4
graph with 15 combinations
Dear R helpers,
I have a data set with 4 types (W, C, E & S). Now I have values for all
types plus all possible combinations (the order is unimportant): W, C,
WC, E, WE, CE, WCE, S, WS, CS, WCS, ES, WES, CES & WCES. Ideally I would
like to represent everything in one graph and as concise as possible.
Drawing 4 circles and depicting it as overlap just gives me 13 out of
the 15
2012 Nov 19
0
has_one :through NoMethodError: undefined method `klass' for nil:NilClass when doing class_name on reflection
Not sure if this is expected or not. Only happened with a has_one :through
I had setup. (Workaround is just to remove it and go through the
association manually vs has_one ..., through: .)
Not a big deal if no one has time to look at it, as it''s not a big enough
deal to look into a fix on our side.
In Rails (3.2.9) console if I do:
MyModel.reflections.each {|name,reflection|
2009 Nov 18
1
undefined method `register' for Polyglot:Module
Getting this error. I have the treetop, polyglot, and rspec libraries
in the load_path (not installed as a gem). Any ideas? What defines
the register method?
/home/jvandyk/dev/web/wpn_rails/../../rcommon/lib/test/treetop/lib/treetop.rb:16:
undefined method `register'' for Polyglot:Module (NoMethodError)
from
2012 Jun 25
1
ActionView::Template::Error (undefined method `strftime' for nil:NilClass):
Hello, I''m a newbie. I need help resolving this issue. I recently added a
pdf to the newsletter admin section of the website and now I can no longer
view page 2 of the list of pdf''s. Nor can I login to see the newsletters as
a student. I''m using Ruby 1.9.3, Rails 3.2.1.
Here''s the information from the log file.
ActionView::Template::Error (undefined
2010 Feb 18
7
Augeas pam.d argument checking
I''m trying to change the password complexity requirements in
pam.d/system-auth using augeas. I can append the values (lcredit=-1,
ucredit=-1, etc) onto the correct place, but if another value is
already present (i.e. lcredit=-2), the onlyif match statement doesn''t
seem to support checking regular expressions inside of strings. How do
I check that any numeric value exists in the
2008 Sep 08
2
(no subject)
Hello all,
I have a very large file (280k lines) containing three comma separated
variables. The first variable is a 0 or 1 depicting a pass or fail. The
other two are X and Y coordinates. Is there a good way I can represent this
data in a chart/plot form other than using a 3d histogram? If I need to use
the histogram, should I base my chart off the example contained in the RGL
package?
Thanks a
2007 May 29
4
undefined method `define_a_column' for class `OCI8::Cursor'
Hi,
Environment: Solaris 10, Orale 10g, Apache 2.2, Ruby 1.8.4, Rails
1.2.3, Ruby OCI8 1.0.0-rc2
As soon as I compiled and installed the Ruby/OCI8 interface, I got the
following error from my application:
=========================
[notice] mod_fcgid: call /export/home/invido/invido/portal2/public/
dispatch.fcgi with wrapper /usr/local/bin/ruby /export/home/invido/
2013 Mar 28
1
undefined method 'sanitize_limit' for #<ActiveRecord::Relation:0x2aaaad35d720>
I am trying to upgrate rails from 3.0 to 3.1, while updating rails version
I am getting following error
rake aborted!
undefined method `sanitize_limit'' for
#<ActiveRecord::Relation:0x2aaaad35d720>
/some_package/lib/ruby/gems/1.8/gems/activerecord-3.1.12/lib/active_record/relation.rb:460:in
`method_missing''
2010 Oct 04
6
Facter ignores interfaces with non eth names
Does facter support NICs that are not named ethX? I happen to use custom
names on my systems. Just a quick look at the code I don''t see why it
wouldn''t but the behavior I am seeing is very different.
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To
2002 Jan 04
1
plotting missing data patterns
I have one other problem and then I'll stop and get back to writing. I
want to plot a missing data matrix (the R matrix a la Little and Rubin)
to graphically depict where the missing data lie in the matrix. Some
statistical packages produce a graphical depiction of the missing data
patterns by plotting the matrix, color-coding the plot with contrasting
colors for either missing or
2009 Oct 28
6
undefined method `^' for "e":String
I''m attempting to learn Ruby on Rails, but these errors aren''t helping.
I''m currently trying to follow the lessons available on
www.learningrails.com. I received this error after trying to visit a
page generated by using the scaffold command. Actually, this is all I
did up until the error:
rails sample2 -d mysql
mysqladmin -u root -p create sample2_development
ruby
2012 Oct 03
2
Legend Truncated Using filled.contour
Hey everyone,
I'm working on a contour plot depicting asymptomatic prevalence at varying
durations of infectiousness and force of infection. I've been able to work
everything out except for this one - my legend title keeps getting cut off.
Here's what I have:
filled.contour(x=seq(2,30,length.out=nrow(asym_matrix)),
y=seq(1,2,length.out=ncol(asym_matrix)),
asym_matrix,
color =
2007 Feb 28
1
Any reason not to further restrict the action names hidden by default?
A couple of years ago, no objections were voiced to a proposed patch
of ActionController that would allow controllers to have methods with
the same names as Object''s methods (currently,
ActionController::Base.hidden_actions, as called by action_methods,
prevents this).
Such a change is of interest to me since I just blew some time
figuring out why rails wasn''t finding a
2008 Jun 18
1
KS Package Selection
My ks file has just Base which obviously pulls in a few other things I don't
want like dialup support etc. System-config-kickstart doesn't let you specifically
drill down what options are in each group. Is there a resource depicting exactly
what packages are in each of the groups so I could write out specifically what I want?
Thanks!
jlc
2007 Oct 01
1
Adding circles or ellipses to graphs
Hello,
I'm developing an ordination using metaMDS (package vegan). The analysis
identifies 3 distinct groups that I'd like to define by either adding
circles or ellipses to help identify the groups. The data set is a
spatial temporal data base depicting change in each of 4 areas over 3
time periods.
I can add lines that would link each of the time - x - area
trajectories, but
2011 May 13
2
to check if a group of values is randomly distributed
Dear list,
I have 603 numbers depicting range sizes of birds in Japan.
I would like to learn if the 603 range sizes are randomly distributed or
not, in order to check if they meet mid-domain effects.
Please kindly advise if any R package or function can check the fit.
Also, any more references are highly appreciated.
Thank you
Elaine
[[alternative HTML version deleted]]
2012 Nov 24
1
A Question About Plotting
Hallo there, I've got a simple question concerning a plot attempt of mine. I am trying to plot two variables using the following code: # Creating a Graph attach(Jitirana) plot(Sozialkapital, Migration) abline(lm(Migration~Sozialkapital)) title("Regression of Sozialkapital on Migration") Simple thing, but the problem lies in the fact that I keep receiving a square plot depicting y on