Displaying 14 results from an estimated 14 matches similar to: "find :all :include broken on Oracle 10"
2007 Jun 07
6
Problem with response.should render_template
Hello, I have problems with this spec controllers:
http://pastie.caboo.se/68634
when I run:
rake spec:controllers
I get this error:
...............F......
1)
''DocTypeController should update and redirect to show'' FAILED
expected redirect to {:action=>"show", :id=>1}, got redirect to
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/
2011 Aug 29
32
Weird assignment problem, very confused :(
Hey, I have the following line in my controller:
User.create(:email => "fuuu-+RB1Aph5k6s@public.gmane.org", :password =>
''asldfkjadsfadsf'', :ip => request.remote_ip)
my IP is 127.0.0.1 - now User.find_by_ip(''127.0.0.1'') returns 0
records although User.first contains ''127.0.0.1''
if I change it to:
User.create(:email =>
2006 Aug 04
1
how to count totals for each unique name in a table?
hello, i am having trouble on how to implement this. i have a table of
doctor information where each doctor has a town and county field. i
would like to create a view that shows the amount of doctor_types in
each town. For example
if the user selects the ''General Doctors'' search button, a view like
this will show up. The next step would be for the user to select which
2009 Jun 20
2
Special characters in Rd example section will cause errors
Hi (Duncan?),
The other day I noticed some characters will cause errors in R CMD
CHECK because of parse_Rd(), and AFAIK, these chars include '%', '{'
and '}'. For example, note the comments in the example section:
%~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~%
\name{testfun}
\Rdversion{1.1}
\alias{testfun}
\title{
A Test
}
\description{
A test
}
\usage{
testfun()
}
\value{
NULL
}
2011 Aug 25
2
replicate lines of data frame
Greetings!
I am just now learning to use R for my dissertation project. I need
to manipulate a lot of text and numeric data. I created a data frame
that has 7 columns and 127 unique rows. Now I need to replicate each
line 6 times and then later change values in the first 2 columns.
I am trying to figure out how to accomplish this. I think that I need
to use rep(my.df, each=6) but it does
2006 Dec 08
2
trouble using ActiveRecord classes
I''ve been trying unsuccessfully for the better part of today to write a
worker that can use by ActiveRecord model classes.
The bizarre thing is that worker just stops at the point accessing the
database connection. An exception isn''t raising, it just dies.
My worker class is below, I''ve interspersed log messages throughout to try
to determine where it is dying.
=====
2008 Jan 18
2
has_many :through with self-referencial AND polymorphism
Hello, despite many readings I still don''t understand how to solve my
problem.
I have Publication, Picture, File classes
A Publication can be related (a one way relation, like a www link) with
another Publication, Picture or File
I tried this :
Publication :
has_many :related_elements, :dependent => :destroy, :foreign_key =>
:publication_id
has_many :related, :through =>
2007 Feb 07
0
strange sqlite3 errors - validates_associated & failing activerecord unit tests
I''m getting two strange errors, both which I believe relate to sqlite3.
The first one is with validates associated. Here is my test:
require File.dirname(__FILE__) + ''/../test_helper''
class SubscriptionPlanTest < Test::Unit::TestCase
fixtures :subscription_plans
fixtures :publications
def setup
@six_month_gold = subscription_plans(:six_month_gold)
2006 Jun 10
0
Dynamic file paths in FileColumn
I have a file uploader application in ROR using the very nice FileColumn
plugin. In looking at the source code I can see that there is a
DEFAULT_OPTION hash with some root path options and such which can be
merged from an options paramater. These static path changes are not a
problem.
My question is dynamic path options. My upload form, when you boil it
down, has two fields. The first is
2009 Oct 22
1
Help regarding removing Inf from dataframe, creating new dataframe with selected variables, count function
Following is my query:
1. Removing Inf from one column of dataframe.
2. out of 10 available dates, count how many times a security is present. (repeat for each security)
3. Out of dates, the security is present, I want to read latest status of market cap.
4. Change in market cap represent by 0/1 so even if market cap status changed once, take value 1.
5. create output file containing some already
2013 Feb 19
0
ajax breaking multiline select habtm parameters
I have a journalist and publication model related with a habtm. In the edit
journalist form there is a multiline select for publications.
When :remote => false this works well, the parameter for the publications
looks like:
publication_ids"=>["", "4256","4271"]
BUT if I use :remote => true the parameter array allways has size = 2:
2006 Jun 12
8
Input/output error on linux
Hi,
I''m trying to use mongrel 0.3.13 with Rail 1.0
Believe it or not, on OS/X it works well for weeks at a time. On
linux I''m getting Input/output errors after anything from a few hours
to days, never more than a week. Once they start they don''t stop.
The only pattern I''ve seen is that it always (seems) to happen while
rendering an rhtml file.
2007 May 08
1
Can't get Ruby on Rails with Apache and FastCGI
Hi!
Environment
=========
Solaris 10
Apache 2.2.0 with fcgid_module
Ruby 1.8.4
Rails 1.2.3
I am trying to get FastCGI working. Initially I used "dispatch.cgi"
successfully but when I switched to "dispatch.fcgi" I get
====================================================
Application error
Rails application failed to start properly