similar to: Rake migrate errors, but it still works

Displaying 20 results from an estimated 1000 matches similar to: "Rake migrate errors, but it still works"

2006 Jun 02
0
Warning messages after upgraded from rails 1.0 to 1.1
Just upgrade from rails 1.0 to 1.1 Everytime I run the unit and/or functional tests, I got the following messages. Is there something I need to do to remove? I am not sure where to start. Thanks in advance. /usr/lib/ruby/gems/1.8/gems/activerecord-1.14.2/lib/active_record/validations.rb:334: warning: `*'' interpreted as argument prefix
2006 Nov 04
0
rake db:migrate is semi-broken
Whenever I run rake db:migrate I get the following "error": antrover:~/Sway/Projects/mi7/branches/sway_dev_mi7 dhoefler$ rake db:migrate (in /Users/dhoefler/Sway/Projects/mi7/branches/sway_dev_mi7) /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/active_record/validations.rb:334: warning: `*'' interpreted as argument prefix
2006 Apr 14
1
rake test errors
I have Rails 1.1.2, ruby 1.8.4 and gentoo linux running kernel 2.6.15. Here are the errors: gregg@gregg2 ~/user/DMS $ rake test (in /home/gregg/user/DMS) /usr/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/ ordered_options.rb:2: warning: method redefined; discarding old []= /usr/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/ ordered_options.rb:11: warning: method
2006 May 17
3
Rails "Application Error" with apache and mod_fcgid
Hello, I have a gentoo system that I am trying to remotely develop rails applications on using apache and fcgi. I created the simple hello world example from Dave Thomas'' book to test the system and I receive an "application error" when I try to go to the page. I can startup webrick and use links to view the page just fine, but nothing doing through apache. I have
2006 Jul 20
6
Ruby on Rails & FastCGI 500 Error
I''m getting an error 500 and I''m at my wits end as to what could be causing it. I''m sure the path to the ruby executable is correct so what else could be causing it? -- Posted via http://www.ruby-forum.com/.
2006 Jan 06
0
Rails ActionWebService and gSOAP interoperability problem
Hi! I''ve successfully created a Rails web service. I can connect to it with an XML-RPC client, without any problems at all. However, when I try to use a gSOAP application to connect to the web service, it doesn''t work. The back trace that I get is at the end of this message. From the back trace, it appears that the SOAP request is not being recognized as a SOAP
2006 Jan 07
0
gSOAP and ActionWebService interop problems
Hi! I''ve successfully created a Rails web service. I can connect to it with an XML-RPC client, without any problems at all. However, when I try to use a gSOAP application to connect to the web service, it doesn''t work. The back trace that I get is at the end of this message. From the back trace, it appears that the SOAP request is not being recognized as a SOAP request, and
2006 Apr 26
0
Re: gSOAP and ActionWebService interop problems
I am experiencing a similar problem, not with gSOAP, but with Apache''s SOAP library. Just like Guido, XML-RPC works perfectly, but the SOAP request processing fails during protocol discovery. Rail''s SOAP client also works perfectly, so I''m fairly certain the error is not in my code. I am new to both ActionWebService and the Ruby XMLRPC module, so I''m
2006 Apr 17
5
XML-RPC Webservice API
Hi, After following the excellent tutorials in the Agile Web Development with Rails book, I was able to get my webservice working pretty much perfectly :) I can access it via SOAP and XML-RPC and look at service.wsdl to find the API. What I can''t do however is get the API for the XML-RPC call. It fails with : Internal protocol error: NilClass is not a valid input stream. It must
2007 Oct 23
2
to_json inconsistency?
Hello, ActiveSupport::JSON::Variable.to_json is the only to_json without an "options" parameter. Is this intended? For example, this code in a .rjs page[@user.dom_id].visual_effect :drop_out, :afterFinish => ActiveSupport::JSON::Variable.new("foo") fails with ActionView::TemplateError: wrong number of arguments (1 for 0) On line #7 of
2006 Aug 04
8
Demo in rails2.pdf of add_price migration, PostgreSQL 8.1.4
People, I''m looking at the migrate example on p 74 of the rails2.pdf It''s a simple example of using a migration to add a column to the products table. Here is a copy of the migration file named 002_add_price.rb after I generated and then edited it: class AddPrice < ActiveRecord::Migration def self.up add_column :products, :price, :decimal, :precision => 8, :scale
2006 Aug 10
2
Software caused connection abort
Hi Zed or anyone that is also looking at Mongrel, Just want to report something that, although doesn''t crash mongrel, is rather annoying. I am running the latest Mongrel 0.3.13.3 - ruby version on cygwin (yeah, poor me). When I start mongrel_rails with ActiveRecord::Base.allow_concurrency = true in environment.rb, I see a lot of "Error sending file
2006 Jun 21
0
SQLServer Timestamp parsing problem in sqlserver_adapter.rb
So, I''ve used Rails to tie into a legacy system which is on SQL Server 2000 with a required timestamp field, DBTimeStamp. The field is defined in SQL Server as type timestamp, but when rails is pulling it in, it appears it may be casting to a datetime format. So, when I try to read or write to the field, it gives me a parsing error: NoMethodError: private method
2007 May 31
0
Rails AR/SQLServer Unit Test: [6912] failed (but getting better)
"bitsweat" has given AR/SQLServer some love, but it''s still unhappy... http://dev.rubyonrails.org/changeset/6912 ------------------------------------------------------------------------ r6912 | bitsweat | 2007-05-31 10:15:56 -0700 (Thu, 31 May 2007) | 1 line Fix an edge case with find with a list of ids, limit, and offset. Closes #8437.
2011 Jul 23
0
Rendering of Javascript updates with Rails > 2.1
Hey, i am currently upgrading a Rails 2.1 app to 2.3 to benefit from Rails engines. The app requires rendering javascript updates to strings, which does not work with 2.3 anymore: data = ActionView::Base.new(Rails::Configuration.new.view_path).render(:update) do |page| page["div[id=''foo'']"].removeClass("bar") end whihc results in an error because the
2008 May 13
0
Problem geting web interface to work
Hi, i have installed CruiseControlRB 1.3.0. With no project added the web interface at localhost:3333 looks find. I have successfully added one of my projects (batch file which builds some c++ code) which is also building fine. But the web interface is no more working - i get the following message "Errno::EINVAL in Projects#index". I have attached a log (run with --trace) which
2011 Aug 07
2
PROBLEM WITH PAPERCLIP
hello, i am trying to upload a image file ...using paperclip in rails 3 i did as follows 1. In gemfile => included gem paperclip 2.In config/environments /development.rb => Paperclip.options[:command_path] = "/usr/bin/" (convert path) 3.created a controller *picusers *and defined => def create @picuser = Picuser.create(params[:picuser]) end 4.created a model *picuser
2006 Jun 07
2
How to send post data with link_to_remote?
Hi, I''m trying to send a post body with my link_to_remote call. Prototype supports the ''postBody'' option, but I can''t seem to get link_to_remote to set that. Here''s what I''m trying: link_to_remote ''move up'', :url => { :controller => ''upload'', :action => ''position_ajax'', :id
2009 Sep 10
1
undefined method `protect_against_forgery?'
When I use plugin ''railstree'' (http://www.hashcode.eti.br/?p=91) as following code: node = Node.new :label => menu_item.name, :link_to_remote => { :base => self, :update => "container", :url => {
2006 Aug 15
2
has_many + finder_sql & :include
Hello, In a model I have: has_many :things, :finder_sql => '' select * from other_things '' + '' where id = #{id} '' When I do MyClass.find(:all, :include => :things) I get a weird error: from c:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/active_record/connection_adapters/abstract_adapter.rb:120:in