Displaying 20 results from an estimated 500 matches similar to: "markably in instance_var mungling"
2018 Jul 30
0
2.3.2.1 - EC keys suppport?
> I did some local testing and it seems that you are using a curve that is not acceptable for openssl as a server key.
>
> I tested with openssl s_server -cert ec-cert.pem -key ec-key.pem -port 5555
>
> using cert generated with brainpool. Everything works if I use prime256v1 or secp521r1. This is a limitation in OpenSSL and not something we can really do anything about.
>
>
2018 Jul 30
2
2.3.2.1 - EC keys suppport?
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
</head>
<body>
<div>
<br>
</div>
<blockquote type="cite">
<div>
On 30 July 2018 at 21:00 ѽ҉ᶬḳ℠ <
<a href="mailto:vtol@gmx.net">vtol@gmx.net</a>> wrote:
</div>
<div>
<br>
2006 Apr 25
5
markaby or erb?
Guys,
We''re embarking on a new dev project, and I''m curious....why would one
choose markaby over erb? I for one am no fan of the erb syntax, but
aside from that it''s similar to other technologies I''ve used in the
past: PHP, JSP, ASP, etc.
Why would one choose markaby over erb? What are the benefits? What are
the drawbacks? Is there anything remarkable
2012 Sep 14
1
calling method on base intended to simulate initialize on instances?
class A
def initialize
setup_b
setup_c
end
def b_and_c
"#{@b} and #{@c}"
end
private
def setup_b
@b = ''b''
end
def setup_c
@c = ''c''
end
def setup_d
@d = ''d''
end
end
a = A.new
a.instance_variable_get("@b") # => "b"
a.instance_variable_get("@c") # =>
2007 Nov 06
5
textarea fails on rows attribute
Hi,
Camping 1.5.180
Ruby 1.8.6
It looks like Camping is choking on the ''rows'' attribute for input tags:
input(:name => ''cuid'', :type => ''text'', :size => 10, :rows => 3)
That will fail with:
Markaby::InvalidXhtmlError no attribute `rows'' on input elements:
2006 Jan 22
2
Using register_template_handler to serve CSS files (Making ActionView handle .css as .rhtml)
Hi,
I wanted to be able to use some Rails code inside CSS files, so I set up
a controller (StylesController) to serve CSS files that reside inside
the controller''s view folder when the browser requests /stylesheets/:action
So in the controller I just define empty actions with the names I want
my style sheets in (ie: def cooleffects end - that would respond to
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
2007 Sep 27
14
Camping and ruby2ruby
Hi everybody,
I would like to use ruby2ruby in a caming project, but there seems to
be an incompatibility with camping, ruby2ruby and markaby.
Unfortunately I receive strange Markaby::InvalidXhtmlErrors.
To demonstrate, that only combination of all three components causes
the problem I added the following code. I relies on Markaby and
ruby2ruby only and works fine (a.k.a. as expected).
2006 Mar 12
0
ERB and Builder template engines shouldn''t be so heavily wired in ActionView::Base
Problem:
1. ERB and Builder template engines are heavily wired in ActionView::Base
2. Should be optional. If we use different engine - why load all their
stuff if not needed?
3. There are template engines which expect files in their own locations
and cache them in their own way. For instance a template engine may
store templates in a database. These engines don''t need any central
source
2006 Jun 19
2
is there a ''Markaby_scaffold'' available?
I discovered Markaby recently, and am loving it! I''m generating scaffolds,
then converting them to Markaby ''.mab'' files. It got me wondering... Has
anyone written a plugin to generate scaffolds in Markaby, yet?? That would
be truly awesome if there was on out there already.
--
Best Regards,
-Larry
"Work, work, work...there is no satisfactory
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 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
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
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 Nov 05
0
Any workaround for Rails caching?
> > I mean fragment caching. I get errors like this:
> >
> > ActionView::TemplateError
> >
(/usr/lib/ruby/gems/1.8/gems/markaby-0.5/lib/markaby/builder.rb:192:in
> > `method_missing'': no such method `length'') on line
#0
> > of app/views/items/index.mab:
> > 1:
> > 2: cache("#{@site.server_name}/index_items") do
> >
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 Aug 02
7
form_for not working with Markaby
I''m playing around with Markaby and I decided to write a little blog app.
I''m running into issues with forms however. If I use form_for the output of
the form gets swallowed. For example:
form_for :article, @article do |f|
f.text_field :title
f.check_box :published
f.text_area :description
f.text_field :pub_date
f.text_area :content
end
gets rendered as an empty form
2006 Mar 30
3
Rails 1.1, Markaby, options_from_collection
Last night, I upgraded one of my rails apps to 1.1. This app uses
Markaby exclusively for its'' views, and once I checked out the latest
revisiong of Markaby (r33), everything was working fine except for one
thing:
select_tag(''province_id'', options_from_collection_for_select(@provinces,
"id", "name"))
Now returns this (as you see it is spitting
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 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