Displaying 20 results from an estimated 1000 matches similar to: "Markaby (Markup as Ruby) plugin"
2006 May 22
0
+ camping 1.4.103 and markaby 0.4.55
Consider this Camping 1.5 pre-release.
gem install camping --source code.whytheluckystiff.net
Look for:
* The new Markaby features.
<http://redhanded.hobix.com/inspect/lessMethod_missingInMarkaby.html>
<http://redhanded.hobix.com/inspect/markabySMagicPermeationBranch.html>
* The Camping::FastCGI class.
* R(C, ...) properly escapes wacky arguments.
_why
2006 Jun 28
4
[markaby] Trouble accessing session values.
Evaluating session variables inside a markaby paragraph tag always returns
false. For example
welcome.mab
--
p "Good morning Mr. #{session[:user]}."
--
displays:
Good mornig Mr.
How can I access session variables in maraby?
--
Best Regards,
-Larry
"Work, work, work...there is no satisfactory alternative."
--- E.Taft Benson
-------------- next part
2006 Oct 03
4
! camping 1.5 + markaby 0.5
Not too different from their corresponding last releases, but documentation
has been filled in for both.
To upgrade:
gem install camping --source code.whytheluckystiff.net
And, here is a complete changelog:
== Camping 1.5
* Camping::Apps stores an array of classes for all loaded apps.
* bin/camping can be given a directory. Like: <tt>camping examples/</tt>
* Console mode -- thank
2006 Dec 17
1
Markaby template & layout (can't get them to work together)
Hi all,
I am starting a new rails app with the Markaby plugin (had some issues
installing, but think its working).
First, i created an index.mab file for a controller containing:
h1 "First template"
That rendered fine. Also, I do not have a "def index ..." in the
controller.
Then I created an app/layouts/application.mab file. It didn''t get picked
up until after
2007 Jan 06
0
! camping 1.5.180
Just a few minor changes released before I add gem support.
* R() now accepts a Hash in its arguments which can be used to build a query
string.
R(Topic, @topic.id, :page => 24) #=> "/topic/14?page=24"
* Base#to_a, discussed here.[1] Can be used to forward requests.
Both the camping and camping-omnibus gems are fresh.
gem install camping-omnibus --source
2006 Jul 06
0
Trac/SVN access
Incident to the volume of spam which is being hurriedly stuffd into any of the
myriad of crevices which Trac exposes, I''ve locked down the wiki and ticketing
system to allow only the truly dedicated student of Camping.
As always, your access can be had at:
https://code.whytheluckystiff.net/access/
Then you may login with one fell click to a very low link on the Trac site.
Sorry for
2006 Mar 04
1
How to install Markaby as a Rails plug-in
After many hours of messing around and researching...
I''m still unable to get why''s Markaby installed as a Rails plug-in.
The command below is what I keep seeing everywhere:
ruby script/plugin install
http://code.whytheluckystiff.net/svn/markaby/trunk
It seems like code.whytheluckystiff.net isn''t responding...
Maybe I''m missing something... :)
Is there an
2006 Jun 15
8
Markaby Installation Issues
Ok,
So I followed the directions.. I did a ''gem install markaby'' (which sounds
like its enough to get me going for rails), but I wasn''t sure, so I tried to
install the plugin as well.
Plugin installation fails looking for a file:
Script/plugin install http://code.whytheluckystiff.net/svn/markaby/trunk
Outputs this error:
+ ./trunk/svnindex.xsl
2006 Oct 10
0
how do I start/use Markaby 0.5?
I''ve upgraded from Markaby 0.3 to 0.5 using gem install markaby. When
I start my app and attempt to view my /articles/list.mab file, I get
this error:
Missing template .../app/views/articles/list.rhtml
I checked the readme and the changlog on why''s site to see if there
was any solutions mentioned, but didn''t find anything. Is there a
special
2006 Nov 03
2
[OT] Markaby trunk and Rails ivars
Can someone explain the new Markaby syntax to me? I''m using Markaby
as a Rails plugin, fetched from the trunk.
I''m losing my instance variables somehow (@thing is always nil):
class ThingsController < ApplicationController
def index
@thing = "Bacon of the chunky variety"
end
end
# app/views/index.mab
h1 { "You should see a thing here:" }
p {
2006 Apr 05
0
markaby, installation problem,
Hello,
I get this error when installating Markaby plugin.
Using a browser I can access this site, but here ''open-uri.rb''
says ''404 Not Found''. Am I missing the point?
Thanks in advance.
site:/home/jnowak/project# ruby script/plugin install
http://code.whytheluckystiff.net/svn/markaby/trunk
+ ./trunk/svnindex.xsl
2006 Apr 14
2
Markaby trunk broken?
Hello!
Does anyone know how I can check out the Markaby trunk? I''m getting this
error:
<code>
ruby script/plugin install
http://code.whytheluckystiff.net/svn/markaby/trunk
+ ./trunk/svnindex.xsl
/usr/local/lib/ruby/1.8/open-uri.rb:290:in `open_http'': 404 Not Found
(OpenURI::HTTPError)
from /usr/local/lib/ruby/1.8/open-uri.rb:629:in `buffer_open''
2007 Aug 05
0
Markaby syntax question
Hi,
I am just getting into Rails and I thought I''d try Markaby too.
I have a mab file with the following in it:
form_for :user do |form|
p do
label "First Name:", :for => "first_name"
form.text_field :first_name, :size => 40
end
(... cut similar)
submit_tag "Add User", :class => "submit"
end
2007 Jan 20
1
Camping on Media Temple?
I''m getting into camping in a big way--I love that you can put
together full-fledged apps with so little code and overhead.
Does anyone know of any documentation about getting Camping apps
running on Media Temple''s GridServer? Of course I''ve found the
Camping server page[1], but I can''t work out how to associate running
camping apps with a (sub)domain
2006 Sep 10
11
Using partials with Markaby
I''m trying to use a partial from within Markaby. I haven''t been able to
figure out how to access a parameter passed into the partial. Here''s the
code I''m using:
h1 "Create a new note"
if @note
render :partial => ''form/errors'', :record => @note
end
...
(that snippet, as well as the partial is stolen shamelessly from Restolog
2006 Jun 13
11
markaby
What''s the current status of Markaby? I''ve played with it a bit and
love it and am considering using it for a large project I''m starting.
If you''ve used it, I''d love to hear your comments!
Jamie
2007 Nov 26
0
Best Way to Write Helpers Using Markaby?
Hey there Merbers,
I''m a Merb neophyte checking it out with a simple app exploration
after being inspired by Mr. Katz''s presentation @ JQueryCamp and with
the desire to use Markaby if at all possible (I heart camping). I''ve
done a little exploration of how to use Markaby in helper code, but
any guidance would definitely be appreciated (I definitely do not
2006 Aug 19
0
! camping 1.4.149 + markaby 0.4.74 gems
The Camping 1.4.149 development gems is out. Really, the only update is the
migrations stuff. (Camping::Models::V class.)
The Markaby 0.4.74 is the merging of the xhtml-careful and trunk. If you''ve been
using development gems for the past few months, this won''t be much of a change
for you. If you''ve been using trunk, it''s a big change, I''ll have a
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 Apr 21
4
WebDAV library for fastcgi/webbrick
Hello,
I am trying to find a WebDAV library for Ruby that works with fastcgi
(production) and Webbrick (development).
I''ve found this link which mentions a Webbrick WebDAV library:
http://redhanded.hobix.com/inspect/
webrickWebdavHandlerSafelyExtractedFromTheWild.html
Unfortunately it sounds limited to Webbrick which will not suit the
production environment.
Does anyone know of a