Displaying 20 results from an estimated 30000 matches similar to: "Using @flash directly is deprecated..."
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 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
2006 Oct 14
3
[Markaby] Any workaround for Rails caching?
The ability to use Rails'' caching is very important to
me. Is there any way at all to get Rails caching
working with Markaby templates? Right now if I use
cache tags, I get some "length" error.
Thanks,
Joe
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
2008 May 16
4
Corsair Flash Voyager utility
Hi,
a year ago i installed corsair flash voyager utility with wine. This is the encryption tool for a corsair usb-stick, that runs only under windows, but i hoped, i could use it with ubuntu and wine. But it didn't work. So i tried to uninstall it. But i can't get rid of it.
Even now, with Hardy heron 8.04 and the newest update for wine, i can't uninstall corsair flash voyager
2006 Aug 17
3
[MARKABY] Multiline text?
Anybody know if it''s possible to have multiline text in Markaby without
resorting to a bunch of text statements or putting the text block in
another file and using render :file ? I need to add chunks of HTMLized
javascript to my templates.
Joe
--
Posted via http://www.ruby-forum.com/.
2006 Aug 09
3
[Markaby] yield instead of @content_for_layout?
We''re supposed to use yield instead of @content_for_layout, but I can''t
get yield to work in a Markaby template:
yield
text yield
Either one of these lines results in a ''no block given'' error (but ''text
@content_for_layout'' works). Anybody know how to use yield instead?
Thanks,
Joe
--
Posted via http://www.ruby-forum.com/.
2006 Aug 09
2
[Markaby] sub-templates?
Has anybody figured out how to do sub-templates in Markaby?
Thanks,
Joe
--
Posted via http://www.ruby-forum.com/.
2004 Nov 02
1
ICECast in Flash / IEWin
Hello,
Michael Smith <msmith@xiph.org>:
>
> We don't sent a content-length header because there's no way to know the
> content length in advance - it's a stream, after all!
I kown this, after more than 1 hour the flash player stop to play. But during 1
hour It's possible to listen music, better than hearing nothing.
> > So, I made a small PHP proxy and
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:
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).
2014 Aug 07
2
NV25 doesn't draw most icons
Hello!
I've installed Fedora 20 Mate i386 on an old system with GeForce4 Ti
4200 AGP (NV25) and I see significant visual defects. Many icons are
not shown. They can reappear if they are selected of the mouse goes
over them. Screenshot:
http://red-bean.com/proski/nv25/screenshot.png
All entries on the left should have icons, but only two have them.
The problem goes away I create a file
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''
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 Jul 26
3
Is Truer Coding Nirvana Possible?
I''ve been web developing for a long time, and last week it felt like the
final piece of the puzzle finally fell into place for me with Markaby
(no more angle brackets, slashes, closing tags, quotes, etc. Yay!) to
reach a state where web development is enjoyable and easy and powerful.
I''ve gone from:
ASP (NOT .Net), PHP, Perl
MySQL
CVS
Dreamweaver, Frontpage, and numerous
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
2009 Oct 07
2
Rails, flash, function and parameter
Hi,
I try do update the flash on my page with ajax.
I have this on my layout :
<div id="flash_messages">
<%= render :partial => ''layouts/flash'' %>
</div>
I have this on my ApplicationHelper :
def reload_flash
page.replace "flash_messages", :partial => ''layouts/flash''
end
and I try do that on my controller :
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 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 {
2007 May 07
3
Module Madness
I''m wanted to make a "global" module that I could include in my
application for some shared code between them. I''ve been making
several camping apps and wanted them all to share a helper/partial
that contained the navigation.
I ran into a lot of difficulty when trying to include it, the primary
problem being "methodUndefined" errors. I did finally get it to
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