Displaying 7 results from an estimated 7 matches for "select_rows".
2010 Apr 28
1
Trying to get Rails working with Sybase ASE
...xists.
(true)
ruby script\generate scaffold person first_name:string last_name:string
WORKS OK
rake db:migrate --trace FAILS!
(in C:/work/ror/testapp)
** Invoke db:migrate (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute db:migrate
rake aborted!
undefined method `select_rows'' for
#<ActiveRecord::ConnectionAdapters::SybaseAdapter:0x97d8be8>
c:/prg/ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/connection_adapters/abstract/database_statements.rb:27:in
`select_values''
c:/prg/ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/activ...
2008 Jan 04
2
oracle adapter + activerecord sessions do not work
...ember is nil). The session_id is staying the same and the
updated_at field is being updated but nothing I put in a session makes
it to the end of a request.
It''s also worth mentioning the oracle adapter wouldn''t work for me at
all until I found this patch code which provides the select_rows
method, seems they forgot to implement it or something:
require ''active_record/connection_adapters/oracle_adapter''
module ActiveRecord
module ConnectionAdapters
class OracleAdapter
def select_rows(sql, name = nil)
@connection.query_with_result = true
r...
2007 Oct 07
0
Rails AR/Oracle Unit Test: [7769] failed (getting worse)
.../base.rb:998:in `find_initial''
./test/../lib/active_record/base.rb:429:in `find''
./test/finder_test.rb:555:in `test_joins_dont_clobber_id''
/usr/pkg/ruby184/lib/ruby/gems/1.8/gems/mocha-0.5.1/lib/mocha/test_case_adapter.rb:19:in `run''
5) Error:
test_select_rows(FinderTest):
NotImplementedError: select_rows is an abstract method
./test/../lib/active_record/connection_adapters/abstract/database_statements.rb:34:in `select_rows''
./test/finder_test.rb:608:in `test_select_rows''
/usr/pkg/ruby184/lib/ruby/gems/1.8/gems/mocha-0.5.1/l...
2007 Feb 12
0
[861] trunk/wxruby2/doc/textile/grid.txtl: Added missing methods listing section
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!--
#msg dl { border: 1px #006 solid; background: #369; padding:
2007 Mar 20
0
[903] branches/wxruby2/wxwidgets_282/samples: Added #!/usr/bin/env ruby to the grid sample.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!--
#msg dl { border: 1px #006 solid; background: #369; padding:
2007 Feb 14
0
[875] trunk/wxruby2/samples: Add expanded grid sample
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!--
#msg dl { border: 1px #006 solid; background: #369; padding:
2008 May 30
9
find_by_sql without a model? how to do this?
Hi,
I''d like to do a "find_by_sql" without a model (e.g. <model
name>.find_by_sql("...")) as the results I get back are a once off special,
and I''m happy to handle them as an array. How do I do this?
"ActiveRecord::Base.find_by_sql(...)" does not seem to work?
Background - At the moment I''m doing within a model <model_name>,