similar to: Rails 0.13 failing on Win XP

Displaying 20 results from an estimated 2000 matches similar to: "Rails 0.13 failing on Win XP"

2006 Mar 28
0
MySQL problems and undefined class User
Hello I''m having some issues with MySQL losing it''s connection, or undefined class User on Windows XP. I use Login and UserEngine. Rails 1.0/1.1, MySQL 4. MySQL problem (one of them): Mysql::Error: Lost connection to MySQL server during query: UPDATE sessions SET `data` =
2006 Jan 04
3
Intermittent problem with link_to_remote()
Hi folks, My page displays links for ''categories'' using the link_to_remote() function. Clicking on one of these links goes to the controller and returns any child categories. I''m finding that the page works ok but after a number of clicks (average 5 or so), it crashes with an error: ============================================== Processing Base#index (for
2005 Jul 05
0
Strange behavior on windows
Folks, Excuse me if this is obvious. I have done a google but haven''t found anything. I''m just going through the Ruby on Rails book and installed the software from the SVN server as it mentioned that a lot of things in the book won''t work with the current stable release. I started with the Depot example and ran: >ruby scriptgenerate scaffold Product Admin
2006 Feb 14
1
ArgumentError in <controller not set>#<action not set> ??
Has anyone ever seen this before? It doesn''t happen n a predictable manner, and can occur via different controllers. Someone else posted about this back in December but no one replied. I''m completely stumped! Here is the text, thanks. ArgumentError in <controller not set>#<action not set> undefined class/module CustomerDomain RAILS_ROOT: script/../config/..
2005 Dec 01
0
Anyone see similarly inconsistent code generation errors?
I''m curious to see if anyone else has been experiencing errors such as the following at unpredictable times (usually after changing something on a page and then re-loading it in development mode): ArgumentError (negative argument): /vendor/rails/actionpack/lib/action_controller/ code_generation.rb:13:in `*'' NoMethodError (undefined method `shift'' for
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
2010 Dec 10
0
Encoding issues when uploading files
Hello everybody, I have some troubles with uploading files in my Rails project. I use Rails 3, Ruby 1.9.2, rack 1.2.1, and both webrick / passenger on apache I was investigating and have isolated the strange behaviour on a simple empty project: view: <% form_tag({:action => ''upload''}, :multipart => true) do %> <%=text_field_tag :desc %>
2006 Aug 04
1
route error with controllers in a module, should just work
This is ALL I have added to my routes.rb map.connect ''admin'', :controller => ''/admin/welcome'' I have found plenty of examples saying this is correct if you have a WelcomeController in the Admin module, which I do :) But now webrick won''t even start ??? Look at those 4 colons ::::, what is that about ? help ! => Booting WEBrick...
2013 Feb 10
0
Nested attributes doesnt get updated
Hi Am building a nested form and my code works fine with sqlite3 but throws errors when using Oracle during update action. Am getting the following error: ActiveRecord::RecordNotFound in AWRequestsController#update Couldn''t find WADetail with ID=5000000015 for AWRequest with ID=5000000022.0 Request *Parameters*: {"utf8"=>"✓",
2007 Oct 18
0
rake spec:models failing
Hi there, I''m having trouble with `rake spec:models`. It''s failing on: - 1 old rspec/rails project - all new rspec/rails projects But, it *is* working fine on my other (older) rspec/rails projects. All projects are on rspec & rails 1.0.8, Rails 1.2.3, os X ppc Here''s a fresh rspec/rails project with failing rake task $ rails test_app -d postgresql $ cd
2005 Nov 02
1
Windows, Segmentation Faults, config.load_paths and config.cache_classes
I am doing some testing with the rails trunk, version I switched to because of memory leaks in 0.13.1 under linux environment. Right now the application is running fast and steady under linux, with no memory leaks using SCGI Rails Runner 0.4.3 from Zed, BUT it has become unusable under Windows (our main development environment) where I am getting a lot of segmentation faults. BUT the problem
2008 Mar 18
0
rake tasks
Hi All, New to merb, I was wondering if there are any similar rake tasks to that of the rails rake stats? Im using merb version 0.5.3 Tried the aok task and am getting the following: eoghan-js-Computer:test_app eoghanj$ rake aok (in /project/merb/test_app) /usr/local/lib/ruby/gems/1.8/gems/merb-0.5.3/lib/merb/version.rb:45: warning: already initialized constant RELEASE rake rcov (in
2011 May 21
4
request.format = :mobile causes error "undefined method `ref' for nil:NilClass"
I have a strange problem with setting request.format = :mobile I can reproduce this problem on a completely fresh Rails 3.0.7 app with no special gems. This seemed to work well in Rails 2 but for some reason is hiccuping here, not sure what''s different in Rails 3 that makes this hiccup. If you look at the stack track, it doesn''t even pass through my app stack once -- weird --
2011 Nov 25
4
Sprockets File not Found Exception.
Hi Everyone, I was trying out some sample applications for Rails. I created some controllers and pages. But when i try to access one of them i get an exception on the webpage: --------------------------------------------------------------------- Sprockets::FileNotFound in Pages#home Showing c:/railscode/test_app/app/views/layouts/application.html.erb where line #6 raised: couldn''t
2005 Oct 19
3
Finding all parents of acts_as_tree relationship
I''m using acts_as_tree to maintain a hierarchy of categories (each top-level category can contain multiple categories and each sub-category can contain multiple sub-categories, etc.). I want to be able to find all parents of a particular category. I realize that I can use @category.parent or even @category.parent.parent to move up in the hierarchy, but I need this to happen dynamically
2007 Sep 25
2
mdadm problem.
So I'm trying to RAID-1 this system which has two identical disks installed in it, and it isn't working for some reason. I started by doing a CentOS-4 install on /dev/sda1 as root, and with /dev/sda2 as my swap. I finish the install, yum update, and then I want to make the mirrors. I copy the partition table from one disk to the other: # sfdisk -d /dev/sda | sfdisk /dev/sdb I create
2006 May 11
3
Semi-OT: Backing up maildir
We switched our mail server over from mbox to maildir a few months ago and couldn't be happier - the performance under normal load is incredible. However we now have a problem with backup.. Typically we would run tar on the mail server, sending its output to another server via ssh.. Like this: tar cfp - /home | gzip | ssh other.server (cd /backups && tar xfp -).. I have tried
2005 Jun 13
1
Question on Eager Associations
Hi - I am trying to use eager associations to cut down on database queries. I have a feeds table, an items table, a categories table, and a categories_items table. feeds have items, and items have many categories (and categories can be assigned to many items), thus the categories_items table which is a many-many join table. I do @feed = Feed.find(1) which works fine, but now I want to use
2005 Apr 26
2
SQLite error
I have an app that seems to run fine when I develop on windows, but in my linux deployment environment I get this error: uninitialized constant SQLite Here is the stack trace: /usr/lib/ruby/gems/1.8/gems/activesupport-1.0.4/lib/active_support/dependencies.rb:183:in `const_missing''
2006 Aug 09
0
recent changes in routes
I''m writing a plugin that automatically creates a named route buy hijacking RouteSet''s draw method. This no longer seems to work in edge rails. Anyone know what changes in routes effected this and what the preferred way would be now to automatically include route? Here''s the code that used to work: class ActionController::Routing::RouteSet alias_method