Displaying 20 results from an estimated 1000 matches similar to: "Yeah !!!"
2006 Feb 23
5
sortable_list added to by AJAX question
I have a working sortable_list that is added to by AJAX. The problem is
that when a new item is added, it''s not sortable. I found a post on
scriptaculous using behaviour.js to refresh the DOM when an item is
added, but I can''t figure out how to do it with Rails.
To test the behaviour method, I used this:
var myrules={
''div#steps ul'' :
2006 Apr 29
1
Textile to LaTeX
Hello,
Is there a patch laying around somewhere to convert
Textile to LaTeX? (Instiki did/does this?)
Or, better yet, is RedCloth 3.1 still in the pipeline?
In ruby-talk 129874 (7 Feb 2005), why the lucky stiff wrote:
>
> Let me give you a roadmap of what to expect with RedCloth 3
> in the coming months.
>
> RedCloth 3.1 will focus on getting us diverse outputs.
2005 Nov 21
3
New code: proposed release?
So I just wanted to review what most of my new code does for those
who are not familiar with it yet.
======
The biggest feature of my work is the docbook export. This means that
any valid textile markup can be exported to the docbook standard. I
added a new chapter tag to go along with the export.
ch. 1. Here is the title
In HTML, this will produce:
<h1>1. Here is the
2006 Feb 25
0
Dumper, mySQL adapter and TIMESTAMP ... something strange ?
Hi,
As explained by MiKael Navarro in the following post
(http://www.ruby-forum.com/topic/55662#new) it seems that there''s a
problem with the way the mySQL adapter treats the TIMESTAMP column.
Actually, when an SQL schema with for example:
created_on TIMESTAMP
is dumped into ruby schema, it will lead to:
t.column "created_on", :timestamp, :limit => 14
but if we
2006 Apr 14
0
Tickets #4343, 4725 and 4744
Hi,
I wrote 3 little patches (2 defect correction and one
enhancement). Would it be possible to have feedback on them ?
#4343 : allow to generate correct fixture for us people that use rails
with a legacy database and different naming convention for the
primary key
#4725 : fixes layout of generated help in text_helpers
#4744 : allows to add a default option to
2006 Mar 06
4
rails internals?
Is there a list for discussing Rails internals or is that kind of one
of those jealously guarded secret things?
Also, I seem to be being a bit of a prat today, but if you read this closely:
http://www.rubyonrails.org/images/headlines/community.gif
Bit of a grammatical error there. (Sorry!)
Giles
2006 Jun 14
7
CR issue
Hi,
I am using RedCloth (3.0.4).
First using online text2html (http://www.textism.com/tools/textile/) ,
"123
456"
returns <p>123<br />456</p>
But by code:
<code>
require ''RedCloth''
puts RedCloth.new("123\n456").to_html
</code>
I got:
<p>123
456</p>
CR is not taken in consideration. Is there any parameter I am
2004 Aug 06
4
Problem with ices on OpenBSD 2.9 w/ Icecast 1.3.10
On Tuesday, 10 July 2001 at 14:10, Nick Ludlam wrote:
> From: "Brendan Cully" <brendan@icecast.org>
> > On Tuesday, 10 July 2001 at 03:21, Nick Ludlam wrote:
> > > From: "Brendan Cully" <brendan@icecast.org>
> > > > That handles the segfault, I don't know why the stream wouldn't be
> > > > sent fast enough though...
2006 Feb 20
4
Obtaining the ID of a newly saved model object
Hi,
I''m struggling with this and I''m not sure if it is obvious or dumb (or both).
I have a basic create method like so:
def creatematerial
@material = Material.new(params[:material])
if @material.save
flash[:notice] = "Material successfully created."
end
Ok so far, but now I want to retrieve that object that was just saved so that it can be used in the
2006 Feb 07
17
Easy way of dealing with nil properties in templates?
Is there an easy way to deal with nil properties in
templates? All I''m aware of are these methods, and
it''s quite tedious and surely violates DRY.
<%= @member.name unless @member.name.nil? %>
<%= @member.name.to_is %>
<%= "#{@member.name}" %>
csn
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the
2006 Jun 05
3
possible bug in trunk base.rb? BREAK_RE.
Hello All, first post to the list.
I just checked out trunk and it broke my tests.
Turns out that the BREAK_RE regex found in base.rb is missing the "/m"
mode modifier.
I am still getting my head around the library so i may be missing
something but was that done on purpose?
Thanks.
jeremy
Index: base.rb
===================================================================
--- base.rb
2006 Jun 16
3
shortcut for full url as the linktext?
Is there a shortcut for this:
"http://foo.com":http://foo.com
?
Thanks,
---John
2005 Nov 16
4
RedCloth repository moved to SVN
I''ve been getting increasing resistance from helpers who prefer
Subversion over CVS. I feel that it''s slowing down development. So,
done. Mailing lists, releases, news will still be at Rubyforge. Bug
tracking will likely move to the new repository soon as well.
The new repository is at: http://code.whytheluckystiff.net/
Checkout RedCloth from
2005 Nov 21
4
Code blocks
Oh yes, also I added a shortcut for code blocks. Instead of
<pre><code>, you can surround it with three backticks (```).
- Lucas
http://rufy.com/
2006 Mar 29
1
getwinegit.sh 0.31 released!
OK, I'm tired now but this is a new release an it owns ;). It should
be quite stable but I didn't test it. So what has changed:
0.31 One more Release, I'm glad about this one
- Some smaller an greater Fixes
- After Compiling, the Script creates a helperfile to help mode 4
- Sections in Logfile
- Trap included to handle ctrl+c
- Implemented a
2006 Apr 01
1
getwinegit.sh 0.32 released!
One more Version! It's time to test this script until it is one of the
last versions. I don't want to spend more time into this so I desided
to soonly quit this project. Here the Changes since 0.31:
0.32 No Changes to Functitonality, but cool stuff :)
- Better Trap-handling
- Nicer Sleeper-function (I love it)
- No output to the shell but only the ones by getwinegit.sh
blackbox? no,
2006 May 10
2
hard_breaks
Dear Dressers of RedCloth,
I have a question:
text = "Foo\nBar\n\nBaz"
RedCloth.new(text, [ :hard_breaks ]).to_html
# => "<p>Foo<br />Bar<br />\nBaz</p>"
Shouldn''t that really be "<p>Foo<br />Bar</p><p>Baz</p>"?
So long,
--
Christoffer Sawicki
2006 Jun 16
1
Odd behavior
I''m getting a lot of odd behavior with RedCloth.
Perhaps I''ve configured something wrong.
Here''s one example...
h1. header line
# one
# two
lala haha
------------ Returns the following---------------
<h1>header line
<ol>
<li>one</li>
<li>two<br />lala haha</li>
</ol></h1>
Any ideas about what this might be?
2005 Nov 24
1
Warnings on tests
Lucas, tell me about changeset 103.
<http://code.whytheluckystiff.net/redcloth/changeset/103>
The require lines are causing a pile of warnings. Were you having
problems with the previous revision?
_why
2014 Sep 18
6
[PATCH v2 2/3] hw_random: fix stuck in catting hwrng attributes
Amos Kong <akong at redhat.com> writes:
> I started a QEMU (non-smp) guest with one virtio-rng device, and read
> random data from /dev/hwrng by dd:
>
> # dd if=/dev/hwrng of=/dev/null &
>
> In the same time, if I check hwrng attributes from sysfs by cat:
>
> # cat /sys/class/misc/hw_random/rng_*
>
> The cat process always gets stuck with slow backend (5