Displaying 20 results from an estimated 1000 matches similar to: "Default 500 Error Page in Production"
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 May 12
0
HAML?
Is anyone developing with HAML templates in Merb?
I had to do a few hacks but got it generally working (Merb trunk). I
did have to do odd things like print @_layout_content straight out
instead of calling catch_content(:layout). And, templates seem to be
cached even if I set :cache_templates to false in merb.yml.
I hope to be at the MerbHack night at RailsConf and would love to hack
on this part
2007 Jun 19
1
Plugin Requirements
I like the style of the Merb plugin manager....installing gems
straight from RubyForge.
However, the current implementation in trunk wants to find an install
script and a Rakefile.merb. Many gems would still be useful without
this and could be easily packaged with a Merb app for deployment.
Right now it wil "rescue nil" if no uninstall script is found, but the
others are required.
Is
2007 Aug 29
11
Non-Erubis Templates
Trunk Issue: Because of the use of ''autoload'', template handlers other
than Erubis are not loaded automatically (Haml, XMLBuilder). Either
this should be fixed, or the documentation should be updated to
instruct people how to use non-Erb template engines.
Apparently the solution is to do something like this in merb_init.rb:
::Merb::AbstractController.register_engine
2007 Jun 19
0
Default 500.html
Argh....ignore that last message. It looks like the trunk was already
updated to serve public/500.html sometime in the past week.
--
Geoffrey Grosenbach
........................
Blog | http://nubyonrails.com
Podcast | http://podcast.rubyonrails.com
Screencast | http://peepcode.com
2007 Mar 06
0
[PIMP] Topfunky''s httperf PeepCode screencast
Hey Everyone,
Topfunky (Geoffry) has created a great PeepCode screencast on using
httperf to performance measure your web applications:
http://nubyonrails.topfunky.com/articles/2007/03/05/peepcode-page-caching-and-httperf
http://peepcode.com/products/benchmarking-with-httperf
Topfunky put a ton of work into this and really got it right. The
attention to detail is very good and he researched
2007 Jun 05
0
Fwd: testing - test/spec and rspec
are you guys aware of this??
:)
Begin forwarded message:
> From: topfunky <topfunkycorporation at gmail.com>
> Date: June 4, 2007 8:35:24 PM EDT
> To: PeepCode <peepcode at googlegroups.com>
> Subject: Re: testing - test/spec and rspec
> Reply-To: peepcode at googlegroups.com
>
>
> On 5/28/07, Neil <neilrahilly at gmail.com> wrote:
>> Just
2007 Mar 06
4
[PIMP] Topfunky''s httperf PeepCode screencast (Zed A. Shaw)
Hi,
Thanks Zed - this is very interesting. One item in particular caught my
eye: Does anyone on this list have any comments or validation that
Rails 1.2.1 is 2-4 times as slow as Rails 1.1.6? Topfunky provided a
link that purports what looks like really horrible performance and
memory characteristics for Rails 1.2.1, even v. 1.1.6:
2007 Sep 24
1
Mosquito TDD Framework Updated
Mosquito, the TDD framework for Camping has been updated (0.1.3).
We''ve tried to keep it backwards compatible, so your apps should
continue to work. But feel free to submit a bug report at RubyForge if
you have any problems.
Changes:
http://rubyforge.org/frs/shownotes.php?group_id=351&release_id=14845
Download:
http://rubyforge.org/projects/mosquito/
Docs:
2007 Oct 13
1
Formatted Routes?
Is anyone using formats with the url generator in trunk? I can''t
figure it out and it seems to be unimplemented in the router code.
I want to do something like
url(:articles, :format => "xml")
# => /articles.xml
or
url(:formatted_articles, :format => "xml")
--
Geoffrey Grosenbach
........................
PeepCode Screencasts
http://peepcode.com
2007 Jun 01
0
Thief, a Simple Camping App
For your entertainment, a simple Camping app to watch your Backpack
account and show a list of recently updated pages. I hope to implement
an RSS feed soon.
Uses Hpricot to parse the XML from Backpack.
http://svn.topfunky.com/public/camping/thief/
Geoffrey Grosenbach
........................
Screencast | http://peepcode.com
2006 Mar 25
2
Rails Plugins: How to copy artefacts to the public directory during install? When is install.rb executed anyway?
Hi,
I want to write a plugin that uses JavaScript and I am wondering how to put
the static content, i.e. the JavaScript, in place?
I read the documentation I found (
http://wiki.rubyonrails.org/rails/pages/Plugins and links) and looked at the
listed plugins.
One thing I found was that subversion seems to be a prerequisite for
providing or even installing plugins. Is that right?
The other thing
2006 Nov 18
0
Camping S5 Presenter App
I attended a lecture in Sydney, Australia earlier this week that
featured a rulin'' presenter app written in Camping. It recreates Eric
Myer''s S5 presenter app, but with a better implementation in Ruby.
I hope I''m not jumping the gun, but the author is Myles Byrne and he
posted a link to the svn here (don''t bug him with feature requests
for a few
2007 Jun 27
5
Mosquito Fixtures Won''t Load
I can''t get fixtures to load correctly in a Mosquito test. The first
fixture loads in the unit test, but the rest don''t load at all.
File structure:
tracker/
tracker.rb
test/
test_tracker.rb
fixtures/
tracker_measurements.yml
tracker_projects.yml
Relevant test code:
require ''rubygems''
2007 Jun 19
5
TentSteak 0.2.0
The second release of TentSteak is out and available as a gem on
rubyforge ("gem install tent_steak"). This version introduces a
handful of new form helpers, a couple method renames, editable HTML
tables, and some application bootstrappers for kickstarting Camping
and initializing ActiveRecord.
It''s still in active development, and I''d very much appreciate
2007 Jul 11
4
Extending Markaby for SVG
Hi all,
I love the elegance of Markaby for HTML generation. I''d like to do
something similar for SVG, e.g.:
svg11 do
title "Slide Title"
rect({:x=>2,:y=>2,:width=>508,:height=>318,:fill=>"aqua"})
g({:style=>"fill:blue;
stroke:black", :transform=>"translate(17,-38)"}) do
circle({:cx=>70, :cy=>100,
2006 May 18
3
capistrano and Dreamhost issue
Hi,
i''m striving to capistranize a foo app on DH.
Everything is hosted on DH to simplify a bit :
- svn repository (http access)
- the application
- the DB
I used the recipe of Jamis Buck modified by Geoffrey Grosenbach which
you can find here : http://nubyonrails.com/pages/shovel_dreamhost
I did the least modifications possible. As recommended.
1) When I launch the
2008 Jan 27
4
Rails versions and documentation, confused learning rails
Okay, I am new to rails. I see that the new release of rails does not apply
to anything on the site with regards to tutorials including screencasts.
What I don''t understand is how I am suppose to learn Rails 2.0 if there is
no docmentation for it. I did see that on peepcode there is a pdf for what
has changed but how does that help me?
How do I get an understanding of the design
2006 Jun 15
1
Problem with deployment on TextDrive using shovel script
Hi,
I try to deploy rails application to textdrive account.
I use Geoffrey Grosenbach''s script
http://nubyonrails.com/pages/shovel
Unfortunatly I receive error message :-(
Can you help me with this problem? I have no clue where exactly problem
is :-(
Please see log below
----
LOG
----
c:\Projekty\truck\trunk>rake --trace remote:exec ACTION=setup_lighty
(in
2007 May 04
22
CampingConf?
Campers --
In a few weeks there will be a bunch of people in Portland, OR, for a
conference. A long time ago some campers mentioned that might be a
good time for us to get together and hold a mini CampingConf for a few
hours. Is anyone interested? Does anyone want to organize it?
I''m thinking Wednesday night, May 16.
We could possibly get a spot at FreeGeek (not likely since they are