search for: quire

Displaying 20 results from an estimated 83 matches for "quire".

Did you mean: quirk
2006 Apr 18
9
SQL Syntax Errors
Hi, I''m running Rails on Mac OS X 10.4. I''ve installed ruby/gem from darwinports, and then rails through gem. I have a recurring problem where I get an SQL syntax error: Mysql::Error: #42000You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '''' at line 1: INSERT INTO
2006 Aug 08
4
Creating a child simultaneously with parent via form
Hi there I''ve got a user model and an address model; a user has_many addresses. A user object can be created via an html form which also allows for an initial address to be created. I''ve got a controller method working to save both objects via the form, but I suspect I can achieve this in a more rails-esque manner. Here is my controller method: def signup @user =
2006 Feb 09
4
Login_Engine: trouble configuring
...getting login_engine to work. I''ve followed the steps in the README file to the letter (I think) with the exception of the Mailer stuff and cannot get my application to run. Heres what I have; module ApplicationHelper include login_engine end ##################################### require ''login_engine'' class ApplicationController < ActionController::Base include LoginEngine helper :user model :user before_filter :login_required end ################################### In environment.rb; module LoginEngine config :salt, "thr...
2010 Feb 23
12
"no such file to load -- gettext/rails" error
...lled: C:\Ruby\lib\ruby\gems\1.8\gems\gettext-2.1.0 Any ideas? ============================================= C:\rails_apps\aaa_arb>ruby script/server -e production => Booting Mongrel => Rails 2.3.5 application starting on http://0.0.0.0:3000 C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_re quire'': no such file to load -- gettext/rails (MissingSourceFile) from C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `re quire'' from C:/Ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_suppo rt/dependencies.rb:1...
2006 May 03
2
WEBrick initialisation error
...erver.rb:24:in `initialize'' from u:/ruby/lib/ruby/gems/1.8/gems/rails-1.1.2/lib/webrick_server.rb:59 :in `dispatch'' from u:/ruby/lib/ruby/gems/1.8/gems/rails-1.1.2/lib/commands/servers/web rick.rb:59 from u:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `re quire'' from u:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_suppo rt/dependencies.rb:147:in `require'' from u:/ruby/lib/ruby/gems/1.8/gems/rails-1.1.2/lib/commands/server.rb:3 0 from u:/ruby/lib/ruby/site_ruby/1.8/rubygems/custo...
2006 Jun 21
1
Newbie Four Days on Rails
...ls\rails_apps\ToDo>ruby script/generate model category c:/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:149:in `activate'': can''t activate act ivesupport (= 1.0.4), already activated activesupport-1.3.1] (Gem::Exception) from c:/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:37:in `require_gem_with_ options'' from c:/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:31:in `require_gem'' from ./script/../config/../config/environment.rb:57 from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `re quire'' from c:/ruby/lib/ruby...
2007 May 15
5
rake db:migrate sucks
...db:migrate,it sucks with the following errors: rake aborted! uninitialized constant ActionController c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:2028:in `const_missing'' D:/RubyForge/gmaps/config/../app/controllers/application.rb:4 c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_re quire'' c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'' D:/RubyForge/gmaps/config/../lib/tasks/importing_tasks.rake:36 c:/ruby/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/tasks/rails.rb:7:in `load'' c:/ruby/lib/ruby/gems/1.8/ge...
2007 Dec 04
2
Mongrel 1.1.1 Win32 (latest) + Rubygems
...* Daemonized, any open files are closed. Look at log/mongrel.pid and log/mongr el.log for info. ** Starting Mongrel listening at 0.0.0.0:4001 ** Starting Rails with development environment... ** Rails loaded. ** Loading any Rails specific GemPlugins e:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_re quire'': no such file to load -- e:/ruby/lib/ruby/gems/1.8/gems/mongrel- 1.1.1-x86 -mswin32-60/lib/mongrel/init.rb (MissingSourceFile) from e:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `re quire'' ||||||| V from e:/ruby...
2006 Aug 18
3
connect to postgres db
...ialStepFive) and try the "rake" commmand and get this: rake aborted! no such file to load -- postgres so I ran with -trace and get this: F:\rubySampleApp>rake -trace -------------------------------------------------------------------- f:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_re quire'': no such file to load -- ace (LoadError) from f:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `re quire'' from f:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:1749:in `do_o ption'' from f:/ru...
2007 Feb 07
3
Gem problem with ActiveRecord/Oracle (without rails)
...en the small script below. I have the ruby-oci adapter installed, the newest version of gems and the newest version of ActiveRecord. When I run the code I''m getting the follow error following my code. It seems to be an issue with gems as far as I can tell. Any help? Thanks, Drew Code: require ''ruby_gems'' require ''active_record'' ActiveRecord::Base::establish_connection( :adapter=>"oci", :host=>"***", :database=>"***", :user=>"***", :password=>"***") class Employee < ActiveR...
2009 Jul 28
6
how to set smpt server for our rails applicaion
....rb:92:in `const_missing'' from G:/my/MyMovies/config/environment.rb:43 from c:/ruby/lib/ruby/gems/1.8/gems/rails-2.3.3/lib/initializer.rb:111:i n `run'' from G:/my/MyMovies/config/environment.rb:9 from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `ge m_original_require'' from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `re quire'' from c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.3/lib/active_suppo rt/dependencies.rb:156:in `require'' from c:/ruby/lib/ruby/gems...
2012 Mar 13
2
Manipulate strings reordering some elements
Hi R-Users, I want to manipulate some strings in the following way. I have the following vector with spanish municipalities: municipios<-c("Allande", "Aller", "Amieva", "Avil?s", "Belmonte de Miranda", "Dega?a", "Franco (El)", "Gij?n", "Goz?n", "Grado", "Grandas de Salime",
2009 Jun 12
2
Fail to start a lower Version ( Rails 1.1.6) Rails Project
...ls of version 1.1.6 but when i am going to start to start the server then i got the following error.. D:\simpleticket>ruby script/server ./script/../config/boot.rb:25:Warning: Gem::SourceIndex#search support for Strin g patterns is deprecated ./script/../config/boot.rb:28: undefined method `require_gem'' for main:Object (N oMethodError) from D:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb: 31:in `ge m_original_require'' from D:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb: 31:in `re quire'' from script/server:2 So, At this...
2016 May 27
2
Updating RegMask inline
Hello Mentors, I have completed writing simple register mask calculator pass, an immutable pass that stores RegMasks and provides API to query them, and a target specific pass for X86 target which currently iterates through all MI in given MF and if a call instruction is found then it quires for RegMask to Immutable pass and prints which registers are clobbered and preserved as per actual register allocation for callee function. So now I need to update RegMask for call instruction, so as per our previous discussion on IRC if we add a method to update RegMask, Do we have to do it in t...
2016 May 27
3
Updating RegMask inline
...gt; > > I have completed writing simple register mask calculator pass, an > immutable pass that stores RegMasks and provides API to query them, and a > target specific pass for X86 target which currently iterates through all MI > in given MF and if a call instruction is found then it quires for RegMask > to Immutable pass and prints which registers are clobbered and preserved as > per actual register allocation for callee function. > > > > So now I need to update RegMask for call instruction, so as per our > previous discussion on IRC if we add a method to update...
2006 Apr 04
4
strange problem with table displayed
Hi I have a strange problem maybe someone have similar experience? I have a simple ruby program that grabs some datat from database and displays it in browser. It displays a column of number and gives a total at the bottom. For some reason when viewing the page in browser it cuts off about have the table and gives no total. And even some of the data in the table is wrong like instead of
2006 Nov 27
5
win32 problems
I''m setting up a Rails app for a client that uses Windows. I''m getting this error: c:/ruby/lib/ruby/gems/1.8/gems/mongrel-0.3.18/lib/mongrel/rails.rb: 32: uninitial ized constant Mongrel::HttpHandler (NameError) from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/ custom_require.rb:21:in `re quire'' from c:/ruby/lib/ruby/gems/1.8/gems/mongrel-0.3.18/bin/ mongrel_rails:10 from c:/ruby/bin/mongrel_rails:18 Setup: Windows Server 2003, Standard Rails 1.1.6 Mongrel 0.3.18 Mongrel Service 0.1 Daemons 1.0.3 Cgi Multipart OEF fix 1.0.0 Win32-Service 0....
2006 Feb 25
5
WEBrick Bad File Descriptor Error
All of a sudden I have a wierd error when running script/server on a Windows XP box. Webrick is failing with a bad file descriptor error. I''m sure it''s conflicting with something in my enviornment, but I cannot figure out what. I googled the issue and haven''t been able to find any answer for it. Although, I did find a workaround. If I''m using a port above
2007 Apr 10
8
ferret-0.11.4-mswin32 not compatible with Ruby1.8.4
Just a quick note for future reference - at least for me, ferret won''t work on Ruby 1.8.4. gem install ferret Successfully installed ferret-0.11.4-mswin32 ruby -v ruby 1.8.4 (2005-12-24) [i386-mswin32] irb irb(main):001:0> require ''ferret'' A windows error message box appears - ruby.exe - Entry Point Not Found The procedure entry point rb_w32_write could not be located in the dynamic link library msvcrt-ruby18.dll. And the following shows in the command box. LoadError: 127: The specified procedure could n...
2006 May 15
2
Error creating controllers in InstantRails-1.3a
...MyTest E:/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:204:in `report_activate_error'': Could not find RubyGem rails (> 0.0.0) (Gem::LoadError) from E:/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:141:in `activate'' from E:/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:37:in `require_gem_with_ options'' from E:/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:31:in `require_gem'' from ./script/../config/boot.rb:38 from E:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `re quire'' from script/generate:2 What am I mis...