similar to: Plugin Requirements

Displaying 20 results from an estimated 5000 matches similar to: "Plugin Requirements"

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 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 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 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 Oct 15
18
Merbivore.com - Mockups
There''s been some discussion on the IRC channel about getting a site for Merb going. Since the culture around the project is pretty casual, I figured I''d just throw a few ideas together, see what you guys think. So, firstly here are three example pages, just to show off the general look and feel. http://mr-eel.com/tmp/merb/01_frontpage.gif
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 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
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 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 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 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 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 Aug 12
2
[PATCH] merb-rakefile-more-dist-byebye.diff
In rev 410, "rake db:migrate" doesn''t run because the Rake tasks are still looking for dist/ This patch removes all the references to dist/ that I could find. Ez, consider this a full copyright transfer from me to you on this and future patches; I''ll sign something official if you need it. -------------- next part -------------- A non-text attachment was
2006 Dec 03
2
How To Create Database Tables With Merb 0.0.7?
Howdy, I just gem unpacked merb and have configured the sample_app to use an sqlite3 database. I see that the Rakefile has a task named "schema", but it points to /dist/schema/schema1.rb", which doesn''t exist. I copied /dist/schema/schema1.rb to /dist/schema/schema.rb then ran "rake schema". What''s the recommended way to create the database tables?
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 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,
2007 Jul 16
6
Advice regarding extending RedCloth
Hello, I am in a bit of a bind. I need to reliably parse mediawiki markup to html, and the only parser that I can find (mediacloth) has a lot to be desired, so I would like to extend something that works and parse mediawiki markup. My question to this list is should I start working on RedCloth or SuperRedCloth or is there a difference as far as extending them? Also does anyone know of a write up
2006 Dec 04
2
Merb on Win32 Platform
I''m trying to get Merb running on Windows XP SP2 and am experiencing some difficulties. I load http://localhost:4000/posts/new in my browser expecting to see the contents of new.herb rendered. However the following error is reported: Request: PATH_INFO: /posts/new Params: {"action"=>"new", "id"=>nil, "controller"=>"posts"}
2007 Mar 13
2
running merb locally
Stupid question, but is there a way to run merb locally, without installing it as a gem? I don''t mean freezing it into a merb app, but checking out merb and being able to run it without installing the gem first. The reason I ask is that I''m working on some debugging stuff and it''d be helpful to be able to modify the source code, run it, modify, run, and so on. (And yes,