search for: livsey

Displaying 20 results from an estimated 81 matches for "livsey".

2006 Feb 20
3
file_column and login_engine incompatibilities
...ng up there. I''m off to a meeting now so can''t look any further, but will spend the evening ripping it apart to see what''s wrong unless anyone else has come across this before, or can point me in the right direction! Thanks in advance to any advice or pointers. -- R.Livsey http://livsey.org
2005 Aug 15
5
Customized Autocompletion
...mail 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 in the docs. Thanks in advance. -- R.Livsey http://livsey.org
2006 Apr 05
4
How to do IN(?) query?
...(:all, :conditions => [ "category IN (?)", categories]) When I try this, the array is printed and my query looks something like: IN (''--- !ruby/object:User \nattributes: ..... Any ideas? Thanks in advance - I''ll carry on Googling and see what I can turn up! -- R.Livsey http://livsey.org
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 12
8
500 Server Error - stumping me at the moment
...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" aborted: (first read) idle timeout (120 sec) [Wed Apr 12 12:51:51 2006] [error] [client 194.80.32.9] FastCGI: incomplete headers (0 bytes) received from server "/home/rlivsey/thatsprogress.com/current/public/dispatch.fcgi" Any idea...
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 Jul 22
1
browser_detect plugin
...ve 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 something <% end %> More on this blog post: http://livsey.org/articles/2006/07/22/browser_detect-plugin Or view the source: http://svn.livsey.org/plugins/browser_detect/ -- R.Livsey http://livsey.org
2006 Jan 05
5
File_column crashing WEBrick when using :magick options
...I wrote a small app to test it and all went ok, so it would seem to be something file_column related as opposed to simply RMagick itself not working. Anyone any ideas as to how to solve this issue? Running on Windows XP box if that makes any diff and using edge rails. Thanks in advance. -- R.Livsey http://livsey.org
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/.
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:
2006 May 19
1
LoadError - no such file to load -- pathname (Dreamhost)
...mething so have an archive of old working versions on the server) so it wouldn''t appear to be a problem with my code, but with the server itself. Has anyone on Dreamhost had this issue too, or know of any way to debug further so I can help sort it out quickly? Thanks in advance. -- R.Livsey http://livsey.org
2005 Aug 19
1
In place editor, load in text
...JAX. Any suggestions would be welcome. I''m going to have a look at implementing something like that now, but I can''t promise how far along I''ll get this evening. It''s also my birthday this weekend, so I guarantee I won''t be working over it :o) -- R.Livsey http://livsey.org
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
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
2006 May 02
7
vendor/rails seems to be being ignored in preference to gem?
...I get the same printed to the shell when running dispatch.rb too. It appears to me that it''s trying to use the gem version of rails on DH and not the copy I have in /vendor/rails. Any ideas on why this is happening, or things to check, would be appreciated. Thanks in advance. -- R.Livsey http://livsey.org
2006 Jan 20
1
stack level too deep from has_many / belongs_to relationship
...`item_class'' #{RAILS_ROOT}/app/controllers/items_controller.rb:112:in `new'' So this seems to be getting into a recursive loop around the RoutineExercise belonging to Routine and Routine having many RoutineExercises, but I can''t work out why. Thanks in advance. -- R.Livsey http://livsey.org
2006 Aug 25
1
Time based fragment caching plugin
...e the code in the block. It deals with expiring the fragment itself, so if using this you don''t need to have the expiry time in your views and you can keep yourself DRY by having the expiry time in just one place. Hopefully it''s of use to someone. SVN repo is here: http://svn.livsey.org/plugins/timed_fragment_cache/ More details on my blog: http://livsey.org/articles/2006/08/25/timed_fragment_cache-plugin-fragment-caching-with-time-based-expiry Thanks. -- Richard Livsey http://livsey.org --~--~---------~--~----~------------~-------~--~----~ You received this message becaus...
2006 Jan 27
9
RedCloth Hard Breaks
Has anybody gotten :hard_breaks to work with RedCloth? I''m doing: self.body_html = RedCloth.new(self.body).to_html(:textile) which works, except that it doesn''t transform hard breaks to <br /> tags, which is really important for me. However, if I do: self.body_html = RedCloth.new(self.body, [ :hard_breaks ]).to_html(:textile) then it converts ALL breaks into <br
2006 Mar 26
4
edge and 1.8.2/1.8.4 issues
...Any ideas on what to try next? Ideally I want to get 1.8.4 working, but that may not be an option if it''s a problem with 1.8.4 itself and not my setup. I guess this is what I get for living on the edge :o) Really need to go out and buy a Mac one of these days. Thanks in advance. -- R.Livsey http://livsey.org