similar to: edge and 1.8.2/1.8.4 issues

Displaying 20 results from an estimated 2000 matches similar to: "edge and 1.8.2/1.8.4 issues"

2006 Mar 10
0
WEBrick crashing
ruby 1.8.2 (2004-12-25) [i386-mswin32] latest version of edge rails - patched to make the server work with win32 (http://dev.rubyonrails.org/ticket/4139) On some pages WEBrick is crashing with the following: d:/programming/ruby/lib/ruby/1.8/profiler.rb:27: You have a nil object when you didn''t expect it! (NoMethodError) You might have expected an instance of Array. The error occured
2006 Mar 30
9
script/console not working after Rails 1.1 upgrade
Whenever I do script/console I get an error message: Loading development enviroment. c:/ruby/lib/ruby/1.8/irb/init.rb:151: in ''parse_opts'' : undefined method ''upcase'' for nil:NilClass (NoMethodError) from c:/ruby/lib/ruby/1.8/irb/init.rb: in ''setup'' from c:/ruby/lib/ruby/1.8/irb/init.rb:54: in ''start'' from c:/ruby/bin/irb:13
2007 Sep 18
10
Routes
hi all, I want to move some routing tasks out of the router and into the controller. The goal is to make Merb feel less like mod_rewrite and give the user more control at the controller. The new Router is simple: it takes the path_info (not the whole request) then outputs a controller class and some parameters from the path matching. The rest of the routing would be done at the controller level.
2006 Jan 16
2
Basic (newbie) Webrick / ssl config question
I have a simple Intranet app I want to make accessible via the Internet for remote access by our employees. I want to use ssl (https) connections and I''ve found enough messages to imply Webrick as included in rails can do the job. The message at http://wrath.rubyonrails.org/pipermail/rails/2005-January/001993.html even appears to tell me exactly how to do it by modifying
2006 Jan 25
7
Global Data, where can it go?
I''m developing a stateful Ruby application that needs to keep data in one location where all people accessing the site can modify its contents. This data will be read-from/written to often, so I would prefer for rails to keep it in memory, rather than a database. My frist try involved global variables. After discovering that they were being "re-initialized" with each new
2007 Feb 04
10
[AAF] remote indexing via DRb with acts_as_ferret
Hi! Aaf trunk has undergone several major refactorings the last days, with the result that you can now transparently switch your app from local to remote indexing and back :-) If you plan to scale your app to more than one physical machine, or if you have problems with corrupted indexes and the like under high load, you really should give this a try. I wrote some documentation to get you
2007 Aug 28
3
Still getting "too many open files"
We have still having problems with Ferret dying on us regularly with the error message: >> ferret server error IO Error occured at <except.c>:93 in xraiseError occured in fs_store.c:127 - fs_each doing ''each'' in /var/www/web1/oms/current/script/../config/../index/production/band/20070805130005: <Too many open files> << We are running Ferret as a
2006 Feb 20
3
file_column and login_engine incompatibilities
Hi, has anyone come across any incompatibilities between file_column and login_engine? I''ve been having strange issues where a User model with file_column in it is failing to save the images properly. Everything uploads to the tmp dir fine, but then it never gets copied to the proper permanent location. No errors - everything happens fine except for that final part. I have
2005 Aug 15
5
Customized Autocompletion
In the customized autocomplete demo, how does it know what content to use as the value of the autocomplete? The returned UL has the name, email address and an image. Yet only the name is used. How does it do this? I''ve been trying to get something similar going all morning with little success. Also, what does :skip_style=>true do? I couldn''t seem to find a mention of it
2006 Jun 21
14
[Bounty] 1 pizza for 1 simple plugin
So here''s the deal. I don''t know the innards of rails well enough to do this quickly but you might. First person to write this and release it under MIT license or public domain, and tells me, gets a free pizza from your favorite local delivery place. You pick the toppings, I''ll call ''em and order it up for you. Yeah a pizza isn''t much but I''m
2006 Apr 05
4
How to do IN(?) query?
I''m trying to do an IN query, where I have an array of user objects imaginatively named ''users'': :conditions=>["user_id IN (?)", users.collect{|u| u.id }.join('','')] this ends up with: ... IN(''1,2,3'') ... Obviously I want this to be: ... IN(1,2,3) ... or even ... IN(''1'', ''2'',
2006 Apr 12
8
500 Server Error - stumping me at the moment
I''m trying to deploy an app on Dreamhost and I''m getting the infamous 500 Server Error. Nothing in the rails logs because it looks to be happening before it gets there. In the apache error logs we have: [Wed Apr 12 12:51:51 2006] [error] [client 194.80.32.9] FastCGI: comm with (dynamic) server "/home/rlivsey/thatsprogress.com/current/public/dispatch.fcgi"
2006 Jun 13
9
act_as_versioned and join tables?
Greetings! I''m attempting to use the act_as_versioned plugin to provide versioning functionality for my rails app, but can''t think my way through this: How can you use act_as_versioned to perform versioning on a HABTM join table? It is easy to see how to do so for join models (:has_many :through) but not so for the join table. I want to use act_as_versioned to maintain
2006 Jan 05
5
File_column crashing WEBrick when using :magick options
I''m trying to use file_column in an app I''m writing. Simple file uploads are working fine. However, when I try and use the :magick options to make resized versions, WEBrick dies. This is the Media model: class Media < ActiveRecord::Base file_column :media_item, :magick => { :versions => { :thumb => {:size =>
2006 Mar 30
11
Illegal char \002? Need to restart Rails to see changes?
Hi all, I''m developing an app on a home Windows computer and using SVN/Capistrano to deploy to a Linux server. I''m encountering some bizarre behavior that I think has something to do with Linux and Windows text file types, but I''m not sure. What''s happening is that, whenever I edit my view files and reload the page in my local browser, I see errors saying
2006 Jun 21
3
Call action & display nothing?
Can you do a periodically_call_remote to an action but then not display any new view? say the new action was called ADD. I don''t want to do an rhtml file for add, and I don''t want to render anything in the controller... I want to leave the page as it is. How is this done? Thanks, Ben Lisbakken -- Posted via http://www.ruby-forum.com/.
2006 Jul 22
1
browser_detect plugin
I just knocked up a quick plugin based on Rafael Lima?s Javascript which was inspired by the Browser selectors in CSS post by 37signals. It?s pretty naive at the moment, but could be nice to build on in the future. It adds two helper methods available in your views - browser_is? and browser_name <%= browser_name %> => mozilla (or whatever) <% if browser_is? :mozilla %> do
2005 Sep 16
4
Autocompleter handling multiple completes
Has anyone extended the Autocompleter to do multiple auto-completes in a single input field? I''m looking to achieve similar functionality to the del.icio.us <http://del.icio.us> post page which allows multiple auto-completes of tag names in the tags input field. cheers, Rob -------------- next part -------------- An HTML attachment was scrubbed... URL:
2007 Jul 03
6
How index works!
Hi, i''ve a project in wich i have 2 different rails apps accessing the same DB. The backoffice, as usual, changes data. The frontoffice has a search capabilities with acts_as_ferret (paginated) for search. Maybe this is a newbie question but, when i delete index and restart front app all the articles are indexed, but the new one''s (via backoffice) are not searchable. Does
2006 Apr 13
3
Creating 2nd rails app on Dreamhost?
My hosting provider is Dreamhost, and for some reason can''t figure out something that should not be that hard to do. Being a linux newbie isn''t helping me much either :-) On Dreamhost, each domain gets its own subdirectory. To setup my web app for each domain, I just go to the parent directory of that domain in a telnet session, and type "rails mydomain.com", and