search for: bannasch

Displaying 20 results from an estimated 37 matches for "bannasch".

2006 Mar 22
9
render partial from withit mail template
Hi, I''m trying to include a partial in an email template but it throws me this: undefined method `controller_path'' for SupportMailer:Class Extracted source (around line #12): 11: 12: <%= render :partial => ''footer'' %> I guess email views are a little different from normal ones as they don''t seem to have a access to a proper controller (?)
2006 Mar 02
6
Lighttpd and fastcgi problems...
Hi, I''m having difficulty getting ruby running via Lighttpd and fastcgi. My lighttpd.conf reads: server.port = 81 server.pid-file = "/tmp/test_lighttpd.pid" server.modules = ( "mod_redirect", "mod_access", "mod_fastcgi", "mod_accesslog", "mod_simple_vhost" ) server.document-root = "/tmp/mis/public"
2007 Dec 22
12
error when installing on jruby (fastthread dependency)
I''m running jruby trunk which has integrated rubygems 1.0.0 and when I try and install mongrel with gem it blows up when the fastthread dependency tries to do a native compilation. I couldn''t find a copy of the gemspec in the svn checkout but looking at the one installed when gem installing mongrel didn''t show any platform differentiation. There is platform
2011 Jan 13
9
spurious <li> generated when list followed by 3
RedCloth master generates a spurios <li> element when a numbered or undumbered list is followed by three or more newlines. RedCloth.new("* one\n* two\n* three \n\n\n").to_html #=> "<ul>\n\t<li>one</li>\n\t<li>two</li>\n\t<li>three</li>\n</ul>\n<li>" # note extra trailing <li> outside <ul> A colleague
2006 Apr 18
7
Connecting to multiple databases
Hi Everyone, I am trying to connect to multiple databases and followed along the Recipe in Chad Fowlers ''Rails Recipes'' book (which basically is about establishing the connection in a subclass of ActiveRecord::Base, and inheriting all classes in need of this connection from this class) Chad Fowler says: "You won''t be able to instantiate an External, of course,
2007 Jan 31
7
GET request works via curl, crashes from Java
...so I can compare the two in more detail? I was able to set a breakpoint in the rails controller method and get detailed info from rails about the request that worked. But none of my breakpoints get touched with the request that causes the error. Thanks for any help or pointers. -- - Stephen Bannasch Concord Consortium, http://www.concord.org
2007 Nov 13
16
mongrel startup fails now: already initialized constant OPTIONS
I updated to ruby 1.8.6p111 last night and updated some gems and now mongrel doesn''t work: MacOS 10.4.10 $ ruby --version ruby 1.8.6 (2007-09-24 patchlevel 111) [i686-darwin8.10.1] $ gem list rails *** LOCAL GEMS *** rails (1.2.5, 1.2.4, 1.2.3, 1.2.2, 1.2.1, 1.2.0, 1.1.6) Here''s a simple test: $ rails test5 create ... $ cd test5 $ script/server => Booting
2006 Mar 07
13
hosting multiple rails apps in one webroot?
..."text/plain" ) -------------- Doing this with SCGI is just as easy. Just change the appropriate sections and it should work fine. Good luck!!! -Brian -----Original Message----- From: rails-bounces@lists.rubyonrails.org [mailto:rails-bounces@lists.rubyonrails.org] On Behalf Of Stephen Bannasch Sent: Tuesday, March 07, 2006 1:33 PM To: rails@lists.rubyonrails.org Subject: Re: [Rails] hosting multiple rails apps in one webroot? Thanks Peter, As I read that page virtual hosting maps hostnames => document roots (using server-root, default-host, and document-root) -- there does not appe...
2006 May 26
1
cannonical open source rails apps?
What do you think are the best examples of open source rails apps? I keep a copy of typo trunk around just to look at the code to see how they''ve solved a problem. Do you know other apps that you consider particularly well written? Thanks -- - Stephen Bannasch Concord Consortium, http://www.concord.org
2007 May 08
2
Extending SuperRedCloth
Fellows of the cloth -- I''m writing code that subclasses RedCloth and emits styled text that is not HTML. For example, I''m going to be emitting RTF and other formats from Textile or Markdown. I''ve got it working quite well with plainclothed RedCloth, but I can''t seem to override any of the methods in SuperRedCloth. Here''s a sample:
2007 Mar 24
3
Patch for superredcloth to enable textile table headers
...<td>_. c</td> </tr> <tr> <td>1</td> <td>2</td> <td>3</td> </tr> </table> -- - Stephen Bannasch Concord Consortium, http://www.concord.org
2006 Mar 21
4
Broken config/lighttpd.conf? (in EdgeRails)
I''m using Mac OS X, I installed Ruby/Rails/lighttpd/etc via the instructions from hivelogic. I think I''ve found a bug with EdgeRails, but I''m not sure how to submit it (and maybe I''m doing something wrong and someone can just point me in the right direction). Anyway I thought I''d report it just in case it is a bug. I''ve downloaded
2006 Mar 28
8
Large Database with lots of tables
Hello all, I am a rails nuby and I am evaluating using Rails for a new web application. The application will have a large number of tables (>70) that will basically mimic a large collection of paper forms that user would otherwise have to fill out. From what I have read on rails thus far it seems I would have to create a lot of models and form templates. Is this common and if so does
2007 Nov 18
18
mongrel and fastthread on ruby 1.9?
Is anybody testing mongrel on ruby 1.9. I just tried installing mongrel on trunk 1.9 and trunk rubygems and got this error compiling fastthread: /Users/stephen/dev/ruby/1.9_trunk/bin/ruby extconf.rb install mongrel --no-rdoc creating Makefile make gcc -I. -I/Users/stephen/dev/ruby/1.9_trunk/include/ruby-1.9/i686-darwin8.10.1 -I/Users/stephen/dev/ruby/1.9_trunk/include/ruby-1.9 -I.
2006 Mar 06
11
Capistrano setup fails
I can''t get past the setup step in Capistrano. I know the paths are correct and I''m using zsh locally (bash on remote), so the shell shouldn''t be a problem. It never asks for the SSH password, even. Any help you could give would be greatly appreciated. Thanks. Kenneth -- => the blog from beyond <= => www.eyeheartzombies.com <=
2009 Feb 28
1
having trouble building on Mac OS X 10.5
>Stephen Bannasch wrote: > >> I'm getting this error trying to build speex on MacOS X 10.5.6: >> >> ./configure: line 21256: syntax error near unexpected token `FFT,' >> ./configure: line 21256: ` PKG_CHECK_MODULES(FFT, fftw3f)' > >Why are you compling from Git?...
2009 Feb 28
2
having trouble building on Mac OS X 10.5
I'm getting this error trying to build speex on MacOS X 10.5.6: ./configure: line 21256: syntax error near unexpected token `FFT,' ./configure: line 21256: ` PKG_CHECK_MODULES(FFT, fftw3f)' Thanks for any tips. Details ... I'd like to use speex with ffmpeg but when I run ffmpegs configure with: --enable-libspeex I get: ERROR: libspeex not found Soo ... I
2008 May 22
2
gem install of mongrel v 1.1.5 broken in jruby
Can''t install the latest mongrel (1.1.5) in JRuby (jruby revisions ranging from 6600 to 6750[trunk] checked) -- the platform is not being identified and it''s trying to do native compilation. I''m not sure it''s actually a problem with Mongrel or JRuby however -- perhaps there isn''t a mongrel-1.1.5-java.gem on rubyforge? Some investigation below: $
2007 May 22
3
can I use acts_as_list with a has_many :through association
I''d like to be able to use a has_many :through association and treat the associations as a list but I''m getting this error when I try an use an acts_as_list method: NoMethodError: undefined method `move_to_bottom'' I''m using edge rails r6786. Here are my domain rules: Activities are things students can do. Units consists of a sequenced list of
2008 Feb 21
5
Question about entities
1.) What is everyone''s preference on NCRs or character entities? Textile 2 uses decimal NCRs, so a less-than character becomes &#60; whereas RedCloth (3.04 and prior) used &lt;. What is your preference? It gets tough because &#39; (a straight single quote) doesn''t have a character entity equivalent. 2.) How do you feel about encoding characters like quotes