Displaying 20 results from an estimated 1000 matches similar to: "simple SQLITE3 error!!??library routine called out of sequence"
2010 Nov 15
0
Problem testing Authlogic UserSession
I''ve posted this to the Authlogic group but things seem a little quiet, so
perhaps someone here can help:
''m testing Authlogic 2.1.6, running under Rails 3.0.1., using rspec
2.1.0
I have the following:
user.rb
class User < ActiveRecord::Base
acts_as_authentic do |config|
config.login_field :email
config.ignore_blank_passwords false
2010 Nov 22
3
Issue using bundler
I run bundle install, or bundle update, and it fails. I''m using RVM, so
if I switch to Ruby 1.9.2, this works fine, but using Ruby 1.8.7 it
fails. Any idea?
jeremy-woertinks-imac:winovations jeremywoertink$ bundle update
Fetching source index for http://rubygems.org/
Using rake (0.8.7)
Using RedCloth (4.2.3)
Using abstract (1.0.0)
Installing activesupport (3.0.1)
2012 Feb 06
3
Bundler - how to re-install all gems after os update?
I had a working Rails setup using RVM on Ubuntu 11.10 with /home on a
separate partition. I installed Ubuntu 12.04 (Alpha) on the root
partition, leaving the home partition unchanged. I now find that some
things don''t work, I think due to the fact that the system has been
updated and versions of libraries have changed. For example I get:
$ rails c
2010 Dec 22
5
rvm, rails and sqlite
i need to use old version of ruby (1.8.7) and older version of rails
(2.1.0) so i decided to use rvm. however since i''m somewhat new to ruby
and rails i''m having issues. i created a gemset with rvm for my project,
installed rails 2.1.0 into it. after that i created a project and a
scaffolding for it. however i bumped onto an issue with sqlite3 (or
sqlite3-ruby). it seems to me
2005 Dec 07
3
ActiveRecord::Observer problem
Hi all,
I have a problem with an observer. I have a simple observer...
class ActivityObserver < ActiveRecord::Observer
observe Customer
def after_create(model)
bind_params(model)
@al.action = "create"
@al.save
logger "#{model.id} : created"
end
private
def bind_params(model)
@al = ActivityLog.new
@al.user_id = User.current.id
2012 Jun 14
0
Query about TSRV
Hi All,
This question may not belong here, but I asked this on the
R-SIG-FINANCE list and so far have not got any reply, so was hoping
someone here may help.
I have a basic query about TSRV and was hoping you all can shed some
light on the issue.
I have 22500 records for each day. So if I take the slow frequency as
5 mins I can have 75 subgrids. An estimate of the 5-minute realized
volatility
2013 Feb 17
2
problemas con syslinux 5.01 y hp mini 210-1040la
?Buenos dias!
Soy nuevo en la lista y aun no se muy bien como funciona, espero que hablar en espa?ol no sea un problema
Tengo una HP mini 210-1040LA en donde el teclado no responde mientras se ejecuta el menu de syslinux ver. 5.01, me gustaria saber si existe alguna solucion. Mientras tanto regresar? a la version anterior y har? pruebas.
Ya he probado en varios equipos y solo ocurren en la hp
2010 Nov 30
2
Help with yum and cpio: MD5 sum mismatch
I am trying to install Ruby-1.8.7p302 on a CentOS-5.5 server in
preparation for a Rails-3 application deployment. I have downloaded
the source from Rubyforge.org, unpacked it, and ran ./config and
make. Everything built without error. I then ran checkinstall to
create an rpm package. That too completed without error.
However, when I try to install the resulting package using:
yum localinstall
2011 Sep 25
2
Noob Rails patcher - problems running the sqlite3 tests...
Hi,
I am following the guide here:
http://guides.rubyonrails.org/contributing_to_ruby_on_rails.html
I have an ubuntu 11.04 VM setup, installed rvm, and ruby (ruby 1.8.7
(2011-06-30 patchlevel 352) [x86_64-linux]).
Pulled down the rails from github and created a 3.0 branch:
$ git branch --track 3-0-stable origin/3-0-stable
$ git checkout 3-0-stable
I can run the non-db tests ok, all pass
2008 Nov 19
1
mle2 simple question - sigma?
I'm trying to get started with maximum likelihood estimation with a
simple regression equivalent out of Bolker (Ecological Models and Data
in R, p302).
With this code:
#Basic example regression
library(bbmle)
RegData<-data.frame(c(0.3,0.9,0.6),c(1.7,1.1,1.5))
names(RegData)<-c("x", "y")
linregfun = function(a,b,sigma) {
Y.pred = a+b*x
2011 Apr 12
4
OS X - `require': no such file to load -- sqlite3/sqlite3_native
I''ve searched and search, tried a number of things like unstalling
sqlite3 and reinstalling. Reinstalling Rails, building sqlite3 from
source, etc. Nothing seems to work. When I try to start up my server I
get the following:
MacBook-Pro:splash Ross$ rails server
/Volumes/Macintosh
HD/Users/Ross/rails_projects/splash/json/ruby/1.9.1/gems/sqlite3-1.3.3/lib/sqlite3.rb:6:in
2011 Apr 23
1
rake spec fails where rake spec:(models|controllers|views) pass
I''m still trying to work into Ruby 1.9.2 and am now experiencing
something that makes no sense to me. Using rspec 1.3.2 and rspec-rails
1.3.4 with rails 2.3.11 on ruby 1.9.2-p180, when I
$ rake spec:models
they all pass. When I
$ rake spec:controllers
they all pass. When I
$ rake spec:views
they all pass. But when I
$ rake spec
I get
<path to
2012 Feb 27
0
Rails 3.1 and SQLite3
I am getting this message when running my tests against RoR-3.1
.rvm/gems/ruby-1.8.7-p352/gems/activerecord-3.1.1/lib/active_record/
connection_adapters/abstract/connection_specification.rb:71:in
`establish_connection'': Please install the sqlite3 adapter: `gem
install activerecord-sqlite3-adapter` (sqlite3 is not part of the
bundle. Add it to Gemfile.)
However, I already have this in my
2011 Mar 22
2
Problems with SQLite3
Hi!
I''ve got a very strange problem. Suddenly the SQLite3 Backend stopped
working.
Example 1:
> rake db:rollback
== CreateProducts: reverting
=================================================
-- drop_table(:products)
rake aborted!
An error has occurred, this and all later migrations canceled:
SQLite3::SQLException: near "CASCADE": syntax error: DROP TABLE
2009 Dec 29
1
help with WebBrick
Anyone knows how to fix that?
[...]
/set.rb:202: [BUG] Segmentation fault
ruby 1.8.7 (2009-06-12 patchlevel 174) [i686-linux]
Aborted
[...]
and server shut down :(
--
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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To
2005 Jun 10
1
Convert extensions.conf INTO MySQL script
I swear I read somewhere on one of the MANY pages that there is a script out
there that can read the extensions.conf file and create the MySQL DB records
on the fly. Anyone know where I look for such a thing?
Sure speeds up migration!
Chris Coulthurst
chris@shuksan.com
2010 Jul 20
20
render :js => "alert('Test !')"
Hi Folks,
I use render :js => "alert(''Test !'')" in my modele, but instead of
having the alert displayed, the browser try to donload a file containing
this string : <<render :js => "alert(''Test !'')">>. Do you know why I the
browser behaves such a way ?
Regards
--
Posted via http://www.ruby-forum.com/.
--
You received
2006 Feb 11
6
models and validation problem
In my model, I am attempting to correct some bad data rather than just
pass an error message back to the user. The problem is that my fix
seems to get the data past validation but it then puts the bad data into
the database rather than the new(and improved) data. If I pass in
web_site with the value of ''www.test.com'', it will pass validation but
it won''t add
2007 Nov 07
16
file access with mongrel running as windows service
i have an archive of documents (word, excel, jpeg, png, gif...)
residing on a network share that is accessed via send_file.
when running mongrel on the command line the files are properly
delivered.
with mongrel running as a service they don''t.
now normally i would think that should be fixable by configuring the
service to run under a user that can read the files....
but
2008 May 23
3
Help plz
hi i just switched from xp to Ubuntu and i installed steam and half life and guild wars and i cant seem to get it to work right. Every time i try to run them they begin to load up then when they are about to start the screen goes blank for a second and then im back at the desktop and the computer is acting almost as if the program is running but its not and the resolution is the games plz help.