Displaying 20 results from an estimated 1000 matches similar to: "helpers adding digits to generated links"
2006 Aug 02
2
Mongrel crashes whenever an exception is raised
Hi all,
I have a rails app running on mongrel on freebsd using mongrel 0.3.13.3 with
ruby 1.8.4.
Mongrel dies every time the application generates an exception. I have the
same setup running on a linux box without any problems.
Mongrel crashes with the following error:
Bus error (core dumped)
And the following message in /var/log/message
kernel: pid 57638 (ruby), uid 0: exited on signal 10
2006 Jun 15
2
ruby/rails users in Ireland - interest in forming a user group?
Hi all,
I''m interested in starting a ruby/rails user group in Ireland and I''m trying
to gauge the level of interest. So if you''re interested please get in touch
(aidanf at gmail.com). I would also appreciate any suggestions/pointers
about starting/organizing a user group.
cheers,
AF
-------------------------------
http://www.aidanf.net
2006 Jun 15
2
AWS Client - There has to be a better way
I''m working on building a SOAP client with AWS, i.e:
class PersonAPI < ActionWebService::API::Base
api_method :find_all, :returns => [[Person]]
end
soap_client = ActionWebService::Client::Soap.new(PersonAPI,
"http://...")
persons = soap_client.find_all
This works well but I think it breaks down quickly when you try to do
real world work. Lets take a moderately
2006 Jun 26
13
Why no forum app in rails yet?
Hi Guys,
So creating a forums application seems like something that rails can
handle easily and well, and whatever implementation that came to
fruition would be head and shoulders above existing products like
vBulliten and phpBB.
Even the existing rails forums are using php-based forum products! An
insult if you ask me.
So my question -- is there any current development of a rails-based
2006 Jun 07
9
Unobtrusive Javascript for Rails
I made a brief post on here the other day about this and now I can
proudly present the initial release of our unobtrusive_javascript
plugin for Rails. We''ll be working with Dan Webb of Vivabit to roll in
much of the functionality in his own as-yet unreleased
unobtrusive_javascript plugin into a single plugin.
This is essentially a preview release and probably not suitable for
use on a
2006 Apr 11
15
Migrating rails 1.0 app to 1.1 - Noob question
Hi all, I''ve upgraded my system to Rails 1.1.1 successfully.
After much looking I haven''t found out how to migrate an existing
application to a new rails version though. What is the procedure, if
any, for upgrading the application I''ve developed in 1.0? Is there a
script I need to run?
--
Posted via http://www.ruby-forum.com/.
2006 May 09
3
validations erasing the form
Hi there
I have a for with a couple of text_fields. I''m doing some validation
via the model and when the validation "works" I get there was an error
on blah blah
the problem is the form is erased and I have to fill up the form again!
I saw that scaffold keeps the form filled when the validation "works"
but I dont know exactly what''s making it happen!
I would
2014 Sep 02
2
making the passphrase prompt more clear
I am going to preface this email by saying that I know very little
about OpenSSH internals, the protocol, etc.
I do a lot of work with novice programmers, and one step that comes up
relatively early is generating SSH keys. In case you haven't done it
in a while, the output looks like this:
$ ssh-keygen -t rsa
Generating public/private rsa key pair.
Enter file in which to save the key
2005 Feb 03
2
E&M Wink problems
We're having some difficulty connecting a T1 fax board card to asterisk,
with E&M Wink. We've successfully connected it to other E&M Wink T1s,
but have been unable to get asterisk to hear it's dialing. Asterisk can
dial down to it with no problem, and it hears all the digits, but
whenever it sends digits down to asterisk, * always only "gets" the
first one.
This is
2006 May 09
5
Solaris migration error:Lost connection to MySQL server
We have installed rails 1.1.2 and Ruby 1.8.4 on solaris. When we attempt
to
run the initial migration we get the following error:
Mysql::Error: Lost connection to MySQL server during query: SELECT
version FROM schema_info
/web/server/pkgs/ruby-1.8.4/lib/ruby/gems/1.8/gems/activerecord-1.14.2/lib/active_record/connection_adapters/abstract_adapter.rb:120:in
`log''
2008 Jan 14
2
grep(): returning the matched value
Hi,
I'm looking to use the grep function (or something else) to return the matched pattern as opposed to the whole element. For example:
x <- c("pjhj24jhjhd")
grep("[[:digit:]]{2}", x, value=T) returns "people", whereas I simply want "24".
Any help would be appreciated,
Thanks, Aidan
[[alternative HTML version deleted]]
2023 Mar 23
1
`dendrapply` Enhancements
Hello Aidan,
Sorry for dropping this for a while.
? Thu, 2 Mar 2023 21:03:59 +0000
"Lakshman, Aidan H" <AHL27 at pitt.edu> ?????:
> //after
> curnode = eval(lang3(R_Bracket2Symbol, parent->node, DEND_IND), env);
lang3() always constructs a new language object. If you do end up using
eval(), it may make sense to move lang3() out of the loop and reuse the
existing object
2006 Jun 05
1
Unobtrusive javascript...what if?
What if...you could produce accessible, unobtrusive javascript, using
Rails built-in javascript/prototype helpers, with just one extra line
of code in your layout, a plugin, and one small enhancement to the
helpers. Something like this:
[php]
<% form_remote_tag :controller => ''foo'', :action => ''bar'',
:unobtrusive => true %>
# which produces
2011 Dec 19
3
[LLVMdev] Disassembly arbitrary machine-code byte arrays
Hi Aiden,
The 'C' based interface you could use in is llvm/include/llvm-c/Disassembler.h, which in there is:
/**
* Disassemble a single instruction using the disassembler context specified in
* the parameter DC. The bytes of the instruction are specified in the
* parameter Bytes, and contains at least BytesSize number of bytes. The
* instruction is at the address specified by the
2013 Jan 09
2
Using objects within functions in formulas
Dear all,
I'm looking to create a formula within a function to pass to glmer()
and I'm having a problem that the following example will illustrate:
library(lme4)
y1 = rnorm(10)
x1 = data.frame(x11=rnorm(10), x12=rnorm(10), x13=rnorm(10))
x1 = data.matrix(x1)
w1 = data.frame(w11=sample(1:3,10, replace=TRUE), w12=sample(1:3,10,
replace=TRUE), w13=sample(1:3,10, replace=TRUE))
test1 <-
2015 Jan 16
13
[Bug 88514] New: X segfaults when using prime offloading to nouveau card
https://bugs.freedesktop.org/show_bug.cgi?id=88514
Bug ID: 88514
Summary: X segfaults when using prime offloading to nouveau
card
Product: xorg
Version: unspecified
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component:
2012 Jan 06
1
ggplot using scale_x_date gives Error in seq.int(r1$year, to$year, by)
Dear all,
ggplot gives me an error when trying to plot time series data using a
date variable as the x axis.
g<-structure(list(Date = c("2011-12-23", "2011-12-30", "2012-01-06",
"2011-12-23", "2011-12-30", "2012-01-06", "2011-12-23", "2011-12-30",
"2012-01-06"), variable = structure(c(1L, 1L, 1L, 2L, 2L,
2023 Feb 23
1
`dendrapply` Enhancements
Hi everyone,
My apologies if this isn?t the right place to submit this?I?m new to the R-devel community and still figuring out what is where.
If people want to skip my writeup and just look at the code, I?ve made a repository for it here: https://github.com/ahl27/new_dendrapply/tree/master. I?m not quite sure how to integrate it into a fork of R-devel; the package structure is different from
2011 Oct 01
1
error using ddply to generate means
Dear list,
I encounter an error when I try to use ddply to generate means as follows:
fun3<-structure(list(sector = structure(list(gics_sector_name = c("Financials",
"Financials", "Materials", "Materials")), .Names = "gics_sector_name",
row.names = structure(c("UBSN VX Equity",
"LLOY LN Equity", "AI FP Equity",
2024 Jan 17
2
cwilcox - new version
>
>
> Performance statistics are interesting. If we assume the two populations
> have a total of `m` members, then this implementation runs slightly slower
> for m < 20, and much slower for 50 < m < 100. However, this implementation
> works significantly *faster* for m > 200. The breakpoint is precisely when
> each population has a size of 50; `qwilcox(0.5,50,50)`