Displaying 20 results from an estimated 600 matches similar to: "Getting ''block not supplied'' with Rspec"
2006 May 27
7
How should I select rows from a join-model based on more than one association?
A concrete example:
We''re building a system to organize the information about workshops
being held in various conventions. A convention has more than one
workshop, and each workshop can be held in more than one convention.
Also each workshop has a host, who is specific to a workshop being
held in a specific convention.
For example, Matz may host an "Introduction to Ruby"
2017 Jun 20
2
Unable to get transaction opinfo for transaction ID gluster version 3.6
Hi,
I have some blocked transactions. Does anybody have some advise on how I
could mend this because I am unsure where to start?
I believe this broke after I issued some set auth.allow commands:
# gluster volume set oem-shared auth.allow
10.54.54.57,10.54.54.160,10.54.54.161,10.54.54.213,10.54.54.214,10.22.9.73,10.22.9.74
Kind regards, Sophie
[2017-06-20 13:28:24.052623] E
2012 Jan 03
1
PRESALES / TECHNICAL SALES
PreSales / Technical Sales (Associate/Senior)
Palo Alto, CA
Revolution Analytics is the leading commercial provider of software and
support for the open source ???R??? statistical computing language. Our
products, including* Revolution R* and *Revolution R Enterprise*, enable
statisticians, scientists and others to create superior predictive models
and derive meaning from mission-critical data in
2007 Nov 11
0
[LLVMdev] 'Implementing a language with LLVM' tutorial
Hey Chris:
Here are the diffs for the next few chapters of the tutorial that I have
edited. Please note that there is one recurring fix (straight-forward is
changed to straightforward). Once again, these are simple changes, not
including any real content changes.
Thanks,
K.Wilson
On Sun, 2007-11-04 at 23:14 -0800, Chris Lattner wrote:
> Hi All,
>
> LLVM has long needed a tutorial for
2011 Oct 16
2
question: ragged array
Hello,
I have a big problem which I’m just not able to solve.
I created the following mean value from the following dataset structure:
Id |value
1 | 2
1 | 3
1 | 4
2 | 2
2 | 1
3 | 5
4 | 3
etc.|etc.
with the command:
mean_rating <- tapply(ratok$value, ratok$project_id , mean,simplify = FALSE)
this gives me a ragged array:
> mean_rating [1]
$`14`
2007 Jul 22
2
Seek brilliant Rails programmer to add one field to acts_as_taggable
I''m on the downhill side of a large project that requires an
additional integer field to be added to the tag.rb in
acts_as_taggable. I feel I have a good understanding of ActiveRecord
and have performed the correct migrations.
(As a short background for those following this thread) when one wants
to add tags to a model they call the ''tag_with'' method that jumps into
2008 Jun 13
2
Rails 2.1.0 - find with :include and missing JOIN in SQL query
Hi,
We''re trying to rewrite veeeery old Rails app that we successfully
managed to move to 1.2.6 and now we''re trying with 2.1.0.
One of the problems is caused by :include in AR.find. Rails 1.2.6
generates totally different SQL query than
2.1.0. Here''s Rails find query and generated SQL queries:
Foo.find(:all, :include => :ticket, :conditions =>
2016 Dec 20
0
EpiX Analytics-QRA Consultant Position
Position: Quantitative Risk Analysis Consultant
APPLICATIONS RECEIVED UNTIL JANUARY 9TH, 2017
Location: Fort Collins, CO (physical presence required)
Position type: Full time
We are a Colorado-based specialist risk and decision modeling consulting and research firm, with diverse experience and skills. We are seeking to fill a full-time position as a Quantitative Risk Analysis Consultant, to
2016 Jul 18
0
EpiX Analytics - Full-Time Position - Quantitative Health Risk Analysis Consultant
Quantitative Health Risk Analysis Consultant
Position open until filled
Location: Boulder, CO
We are a Colorado-based specialist risk and decision modeling consulting and
research firm, with diverse experience and skills, including in the fields
of human and veterinary health and epidemiology. We are currently seeking to
fill a full-time position as a Quantitative Health Risk Analysis
2006 Jun 01
4
can''t convert Fixnum into String ??
I have been getting this error message on various pages, just wondering
if anyone could explain whats going wrong, and the best way to correct
it
code that is cuasing the problem is below
@project = Project.find(:first, :conditions => "id = " +
@purchaseorder.project_id)
--
Posted via http://www.ruby-forum.com/.
2007 Nov 02
5
RSpec, RESTful nested routes and :path_prefix
Dear list,
In the app we are making we have a rout something like this:
map.resources :projects do |projects|
projects.resources :pages, :controller
=>"Wiki::Pages", :path_prefix => "/projects/:project_id/
wiki", :name_prefix => "project_wiki_"
end
But I can''t get RSpec(I''m very new to it) to accept this. It keeps
throwing errors:
2007 Nov 14
6
a few add_index questions..
on previous apps i hadn''t really worried much about adding foreign key
indexes on my tables just because they''ve been fairly small and i
didn''t really think i needed them.
well, i''m working on something now that has the potential to have a
lot more data, and a lot more foreign keys.
so i have 3 tables... users, projects, and tasks.. should i be using
add_index
2008 Oct 30
1
Nested Resouces,not getting parent id(project_id) from form
Hi
i am using nested resources,here project having has many relation with
defects.
Main problem here is i am not getting project_id from edit form.What''s a
problem if any one knows please help.
edit.html.erb
<% form_for(@defect,@project) do |f| %>
<%=f.text_field :name%>
<%end%>
routes.rb
map.resources :projects,:has_many=>:defects
map.resources :defects
2007 May 06
1
validates_uniqueness_of (with :scope) doesn't seem to work?
I have a master record called ''project'' and a child record called
''agycode''. Obviously, agycode has a project_id FK. I wish to make the
"descr" field unique ONLY within the ''project_id'' ''scope''. Here are the key
pieces of information
Agycode fields (id, project_id, descr)
Here''s the declaration in the
2006 Oct 31
0
6308072 need to update boot image with one supplied by brand artist
Author: setje
Repository: /hg/zfs-crypto/gate
Revision: a8b6ee3e951dd078ba5402d1fdc1f5fda4d4af29
Log message:
6308072 need to update boot image with one supplied by brand artist
6308073 need to suppress splashimage on cd/dvd media
Files:
update: usr/src/grub/install_menu
update: usr/src/grub/splash.xpm.gz
2010 Jan 04
2
Sendmail error: auxpropfunc error invalid parameter supplied
I just noticed this error in my messages log after restarting sendmail.
The only change I have made is
1) manual fix in /usr/share/spamassassin/72_active.conf
2) sa-update (several times)
Now the mail is not running ok, my mail queue keeps growing.
Regards,
Jussi Hirvi
2005 Jun 01
1
using user-supplied derivatives in rgenoud
I have been using the rgenoud package for a nonlinear least-squares
problem with lots of local minima, and it works very well but takes lots
of time. According to the article refrenced in the documentation, the
original GENOUD-software by the same authors seems to allow for
user-supplied analytical derivatives instead of numerical approximations,
which would probably save some time. Does anybody
2006 Mar 17
0
challenge that the password server supplied us is not the one we gave our client
Hi,
I've some problems with one of our samba fileserver (debian stable
3.0.14a-3sarge1). Every few weeks, I get the following error messages for
all users that want to access/mount a share:
[2006/03/16 08:52:53, 2] auth/auth.c:check_ntlm_password(312)
check_ntlm_password: Authentication for user [PID51C9] -> [PID51C9]
FAILED with error NT_STATUS_LOGON_FAILURE
[2006/03/16 08:52:57, 1]
2006 Oct 31
0
6197520 svccfg import prints misleading message if supplied manifest with empty pg type
Author: sdussud
Repository: /hg/zfs-crypto/gate
Revision: f61d652f8555ce9713866ebafccf8dc96979b524
Log message:
6197520 svccfg import prints misleading message if supplied manifest with empty pg type
Files:
update: usr/src/cmd/svc/svccfg/svccfg_libscf.c
2008 Feb 21
0
m4 scripts ignore user-supplied CFLAGS and LDFLAGS
Hi all,
There is a discussion going on one russian forum about NUT
cross-compiling and packaging for some custom embedded firmware.
And one of the authors complained about NUT script for checking
ssl library ignoring supplied CFLAGS and LDFLAGS with the
desired include and library paths.
I checked several scripts in m4 folder and all of them do
something like this: