Displaying 20 results from an estimated 200 matches similar to: "NoMethodError in new scaffold"
2019 Apr 28
2
Inno Setup 6.0.2 fails before creating exe file on Windows (R-3.6.0)
I am working on compiling R-3.6.0 for Windows 10 64bit using rtools40
(beta 11). I had also installed the most recent update of Inno setup,
which is now 6.0.2.With that version, `make risntaller` fails at the
call to ""C:/R/Inno/iscc" R.iss > R-3.6.0.log 2>&1" and just exits,
pointing to line 175 of the makefile which is:
$(RPREFIX)-win.exe: R.iss
2002 Jan 02
0
Unable to use Samba in Win2K Domain
Hello. We recently migrated our site from an NT domain model to a 2000 domain
model (active directory). In the process, I've found that I'm unable to use
Samba with our new domain. These same machines were able to function properly
as domain
I've tried samba versions 2.2.2 and 3.0alpha12. The systems running Samba
are all running Solaris 8. Prior to the migrated to Active
2010 Jul 13
1
Building a custom Windows installer
Dear r-devel list members,
It's been several years since I last built a custom Windows installer for R,
and despite my notes and the instructions in Sections 3.1.7 and D.4 of the R
Installation and Administration Manual, I've run into a problem, receiving
the following error message:
----------- snip -----------
C:\R\src\R-2.11.1\src\gnuwin32\installer>make myR
2011 Jan 04
2
Print plot to pdf, jpg or any other format when using scatter3d error
Hi,
I have been trying to output my graphs to a file (jpeg, pdf, ps, it
doesnt matter) but i cant seem to be able to get it to output. I tried a
few things but none of them worked and am lost as what to do now. I am
using the scatter3d function, and it prints out the graphs on tot he
screen without any problems, but when it comes to writing them to a file
i cant make it work. Is there any
2006 Jan 08
1
Subclassing only a specific portion?
Hi,
I''m sure there is an easy way to do this, but I just can''t see it:
I have a large amount of rooms, that are for different purposes, and
for only one ''purpose'' do I want to create a specific subclass. Ex:
banquet,wedding,admin. I want to have additional information about
admin rooms.
Trying to use the ''type'' field just gives an error
2019 May 01
0
Inno Setup 6.0.2 fails before creating exe file on Windows (R-3.6.0)
Multiple people have now reported that the R installer does not build
with InnoSetup 6 (released last week). The inno log shows this error:
Error on line 12 in src\gnuwin32\installer\R.iss: Minimum NT version
specified by MinVersion must be at least 6.0. (Windows 2000/XP/Server
2003 are no longer supported.)
Compile aborted.
Hence to fix this, the "MinVersion" parameter in
2006 Apr 25
3
belongs_to and has_many
I know this has been rehashed many times, but I don''t get it.
I can''t find it documented to were I understand all the parts. I can
make this work using Rails database design conventions, but in this case
I am not able to do that.
I find examples, but the ones I find do not follow the conventions.
They also do not give enough information to understand what is going on.
In
2005 Dec 16
0
Error in Depot App after Upgrading to 1.0
Hi @all,
i''ve upgraded rails to 1.0 and my depot-app (from Agile Web book). It causes
an error, when i try to call the admin/ship method. All other methods works
as expected.
Calling the url in webrick:
127.0.0.1 - - [16/Dec/2005:17:35:58 CET] "GET /admin/ship HTTP/1.1" 500 0
http://localhost:3000/admin -> /admin/ship
i get the following error and a blank page in the
2005 Dec 17
0
Re: ActionViewError in Depot App after Upgrading to 1.0
any ideas someone?
2005/12/16, Torsten Schmidt <torstello-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>:
>
> Hi @all,
>
> i''ve upgraded rails to 1.0 and my depot-app (from Agile Web book). It
> causes an error, when i try to call the admin/ship method. All other methods
> works as expected.
>
> Calling the url in webrick:
>
> 127.0.0.1 - -
2005 Nov 22
1
Ferret NoMethodError
Using the current ferret gem (on Win-XP):
irb(main):001:0> require ''ferret''
c:/ruby/lib/ruby/1.8/fileutils.rb:950: warning: already initialized constant
OPT_TABLE
=> true
irb(main):002:0> include Ferret
=> Object
irb(main):003:0> index = Index::Index.new
=> #<Ferret::Index::Index:0x3477ba8 @qp=nil, ...>
irb(main):004:0> index << "This is
2006 Nov 04
0
Rails newbie - can anyone please help with many to many NoMethodError
Please can someone help with the following problem -
I''m using LoginEngine and have a Users table linked many to many to a Plants table. The joining table is plants_users with plant_id and user_id (there are extra fields, so I''m avoiding has_and_belongs_to_many - plus it didn''t work :().
::user.rb starts:-
class User < ActiveRecord::Base
has_many :Plants, :through
2006 Aug 14
1
NoMethodError
Hello,
When i test this code
<h1>contenu de votre panier</h1>
<table>
<%
for item in @items
product = item.product
%>
<tr>
<td><%= item.quantity %></td>
<td><%= h(product.title)%></td>
<td align="right"><%=item.unit_price %></td>
<td align="right"><%=item.unit_price * item.quantity
2006 Aug 14
0
acts_as_dropdown: NoMethodError on load
Rails 1.1.6 on gems
I had the acts_as_dropdown plugin working fine, but now starting webrick
gives me a:
C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/active_record/base.rb:1129:in
`method_missing'':
undefined method `acts_as_dropdown'' for User:Class (NoMethodError)
My other plugins are working fine.
I have the latest version of acts_as_dropdown.
Gems are
2006 Jun 28
2
NoMethodError when setting session variable
I know this is dumb, but I can not set a session variable. I get the
followig error:
Processing Base#edit (for 67.174.108.88 at 2006-06-28 17:17:34) [GET]
Session ID: 3c4b2bad18c8bc289b719dc056913be7
Parameters: {"action"=>"edit", "id"=>"11", "controller"=>"image",
2006 May 07
0
NoMethodError trying to get ApplicationHelper method from a functional test
I am a little confused by the includes I suspect. In the book, it states
that runtime environment will load the directories app, app/models,
app/controllers, app/helpers, app/apis, components, config, lib, vendor and
vendor/rails/*.
However, when I try to access my "current_project" public method, it fails
with a NoMethodError.
What is even stranger is that I can use reflection to find
2006 May 10
3
NoMethodError
When I want to see my users, then I get:
-----------------------------------------------------
You have a nil object when you didn''t expect it!
You might have expected an instance of Array.
The error occured while evaluating nil.each
Extracted source (around line #3):
1: <% @page_title = "Spisek uporabnikov" -%>
2: <table>
3: <% for user in @all_users %>
4:
2006 Apr 21
2
NoMethodError with test_read_with_hash
While running the product_test.rb test fixture in the Agile Web
Development book (p. 148), but when I run
ruby test/unit/product_test.rb, I get the following error:
1) Error:
test_read_with_hash(ProductTest):
NoMethodError: You have a nil object when you didn''t expect it!
You might have expected an instance of Array.
The error occured while evaluating nil.[]
2006 Apr 27
2
NoMethodError - why?
Getting this error when hitting update.
NoMethodError in Article#update
You have a nil object when you didn''t expect it!
You might have expected an instance of ActiveRecord::Base.
The error occured while evaluating nil.update_attributes
Source code.
def create
@article = Article.new(params[:article])
@article.user = @session[''user'']
if @article.save
2006 Apr 27
0
text_field_with_auto_complete - NoMethodError in the model
Hey guys,
I have a text_field_with_auto_complete that looks like this:
<%= text_field_with_auto_complete ("service_request", "req_name",
{"size"=>40}) %>
which goes to this in the controller:
def auto_complete_for_service_request_req_name
auto_complete_responder_for_investigators
params[:service_request][:req_name]
end
2008 Jun 06
2
`exit?'': undefined method `run?'' for Test::Unit:Module (NoMethodError)?
Why am I getting this error if running from Netbeans or just from command
line with executing blah_spec.rb? If I run with spec bla blah blah_spec.rb
then it''s fine.
.
Finished in 0.264 seconds
1 example, 0 failures
c:/ruby/lib/ruby/gems/1.8/gems/rspec-1.1.4/lib/spec.rb:27:in `exit?'':
undefined method `run?'' for Test::Unit:Module (NoMethodError)
from