similar to: HAML?

Displaying 20 results from an estimated 1000 matches similar to: "HAML?"

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 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
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 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 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 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 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
2007 Jun 19
0
Default 500 Error Page in Production
Currently, Merb just shows a string on error: "500 Internal Server Error" I''ve added this to my merb_init.rb: if MERB_ENV == ''production'' module Merb def self.html_exception(e) File.read(DIST_ROOT + "/public/500.html") end end end http://nubyonrails.com/500.html Potentially a plugin could be written to log this to the database.
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
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
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 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 Jan 06
1
Camping Podcast
I''m putting together an episode of the Rails podcast that will be dedicated to Camping. I already have the first interview recorded. I''d like to get 3 or 4 more short interviews (short...maybe 4.096 minutes each). If you''d like instant fame, send me an email and tell me what camping project you would like to talk about, what your skype username is, and when is a good
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
2007 Feb 15
1
wrong startup information in production environment
Hi, I check out the last codes from merb repository. And the startup information for production environment just like that: ====================================================== dev:/var/www/apps/upload_merb/current/log# /etc/init.d/merb_init start Merb started with these options: --- :template_ext: :html: :herb :js: :jerb :xml: :xerb :config: dist/conf/upload.conf :drb_server_port:
2007 May 14
7
Help a newb with 0.3.1
Hi, first off thanks Ezra for Merb - it''s certainly interesting and I''m keen to have a play. However, I''m having difficulties in getting started. I''ve followed the docs for setting up mrblog and everything seems to be installed correctly, and merb appears to start fine: $ merb you must install the markaby gem to use .mab templates you must install the
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''
2010 Mar 30
0
using haml in internationalisation with haml views
I''m trying to use haml in my locale files but cant get it to parse. en.yml --------- page: content: " %p some paragraph %p another paragraph " view.html.haml ------------------- (works) =Haml::Engine.new(t(''page.content)).render -------------------(does not) =t(''page.content) is the first example the only way to do this? or am I going about
2008 Feb 15
2
HAML question - conditional multiple classes on a div
I am looking into HAML and am trying to convert one of my ERB templates to see what I think of it. Everything was going pretty well until I got to the following snippet: <div class="<%= t.done ? "task done": "task" %>"> <p class="title"><%= h(t.description)%></p> </div> How would you do this in HAML? (I know how to