Displaying 20 results from an estimated 4000 matches similar to: "Getting data back from thread spawn"
2005 Jul 06
4
Bug in shop demo
http://script.aculo.us/demos/shop if you drag an item from the product
list straight to the droppable area to remove an item from the cart,
it''ll still add it to the cart.
-PJ
2006 Apr 27
15
Which is faster, calling helpers or rendering a partial?
Using partials is a nice way to separate chunks of content into
separate pages as opposed to building strings in helpers, but I''m
wondering which is faster. It scares me when I see stuff like:
Rendered users/_public (0.00051)
Rendered users/_public (0.00009)
Rendered users/_public (0.00008)
Rendered users/_public (0.00008)
Rendered users/_public (0.00008)
....50 more times
Has anyone
2005 Jun 24
9
new mysql gem
Hi everyone,
For those who have/had problems with Webrick not properly closing MySQL
connections, there is a new MySQL gem. (Actually the version was
released some time ago, just nobody took the time to make a gem)
So run "gem update" or just "gem install mysql" to update (not sure if
the latter also updates).
Special thanks to Tobias Luetke, who forwarded the gem to Chad
2006 May 05
1
Help with ActiveRecord
Model:
class AdminQueue < ActiveRecord::Base
set_table_name ''adminqueue''
end
Interacting with it in script/console
>> AdminQueue.new
=> #<AdminQueue:0x240a910 @attributes={"topic_id"=>nil,
"resolved"=>nil, "updated_on"=>nil, "action"=>nil, "type"=>nil,
"post_id"=>nil,
2006 Apr 26
1
Possible acts_as_authenticated bug (or rails)
The code that comes with the plugin uses a method that looks like this:
def password_required?
crypted_password.blank? or not password.blank?
end
with validations that look like this:
validates_presence_of :password, :if =>
:password_required?
validates_presence_of :password_confirmation, :if =>
:password_required?
validates_length_of
2005 Oct 21
21
PHPonRails ?
I''ve have a very tight schedule project that MUST (not my option), be
developed in PHP. Is there a Rails based framework for this platform?
I like the Rails way of things, but in this case, I cannot choose the
programming language, so please don''t offend me :-)
Thanks in advance,
Alessandro
_______________________________________________
Rails mailing list
2006 May 28
14
Lightbox and RJS
Hi,
I am trying to include lightbox functionality in my app, but there is
a slight complication. Apparently lightbox initializes all the links
to lightbox events on page load. However, in my case, some new links
to lightbox events will be rendered to the page through ajax events
(obviously this means after the page loads). So I figure I need to
find a way to call lightbox''s
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 May 16
18
Ruby''s purpose?
Before I get flamed, I just want to start off by saying that I am new to
Ruby and I really enjoy this language and want to see it succeed.
But, what niche does this language fill?
These are serious question, not a put down of the language.
Does it has something to offer for Web 2.0?
Is it just another scripting language?
Does it suppose to replace something else?
Does it suppose to work with
2013 Mar 25
3
nscd
Has anyone had problems accessing random websites since going up to 6.4?
Since about the day after I got partly upgraded, if I try to access
nytimes.com, or orbitz.com, I get server not found.
With a lot of work, I, my manager, and the other admin, found that setting
options edns0 in /etc/resolv.conf fixed it - I suspect that the network
folks updated their internal nameservers (which are M$)
2005 Dec 25
5
RJS not working?
I''ve been attempting to add a simple rjs ''delete'' method to my
project. However, no matter what I try, it simply doesn''t work. Even
the easy, easy stuff seems broken. (Yes, <%=
javascript_include_tag :defaults %> is being included in the template.)
For example, from:
http://www.codyfauser.com/articles/2005/11/20/rails-rjs-templates
VIEW:
<h1
2006 Feb 09
9
RMagick on OS X - HOW
Hello all.
I''m a seasoned system administrator and have no fear of building
source packages on a variety of platforms, but RMagick has, until
recently, evaded all of my attempts to building it on my PowerBook.
Someone else just mentioned that they had trouble with RMagick on
OS X (Intel, don''t really know if my advice will help) so I
decided to post a HOWTO to the list.
I
2012 Nov 12
1
dovecot lost mail! Cause?
Hi,
After using dovecot for several years now, today happend something which
makes me really feel unconfortable: An email received was just not
delivered properly, or, is lost! The mail (from an external server) was
sent to two local mailboxes, user1 and user2. user1 received the message
but for user2, it *magically* disappeared.
MTA is exim4 which definitely processed the messages and handed
2007 Mar 30
7
Some additional attacks on Cookie Session
Aside from the replay attacks discussed, there are some other attack
vectors on the cookie_session store.
I appreciate (and admire!) Jeremy''s good humor on all of this:
> Planting the seed here led to quick ripening and plenty of pesticide.
> Thanks for the fish, all.
>
> jeremy
Anyway, here''s what we came up with:
1. Brute Force
SHA512 can be computed _very_ fast.
2006 May 02
96
[ADV] Second Edition of Agile Web Development with Rails
ANNOUNCING AGILE WEB DEVELOPMENT WITH RAILS, SECOND EDITION
===========================================================
http://www.pragmaticprogrammer.com/titles/rails2/
Rails has changed a lot since we announced the first edition of the
book a year ago. DHH says that the 1.1 release "boasts more than 500
fixes, tweaks, and features from more than 100 contributors." Who
are we to
2011 Oct 31
5
Kaplan Meier - not for dates
I have some data which is censored and I want to determine the median. Its actually cost data for a cohort of patients, many of whom are still on treatment and so are censored.
I can do the same sort of analysis for a survival curve and get the median survival... ...but can I just use the survival curve functions to plot an X axis that is $ rather than date? If not is there some other way to
2003 Sep 12
1
asterisk and defunct perl procs
Trying to figure out why I'm having all of my test (and demo) perl script in a defunct status. Each run creates a problem:
ps output
root 26253 1356 0 16:39 pts/1 00:00:00 asterisk -vvvc
root 26270 26253 0 16:40 pts/1 00:00:00 [pj.pl <defunct>]
root 26271 26253 0 16:40 pts/1 00:00:00 [pj.pl <defunct>]
root 26273 26253 0 16:40 pts/1 00:00:00 [pj.pl
2013 Jun 23
1
Dsync only one mailbox
Hi,
I am looking for a way to sync only selected files/mailbox'es using
dsync.
Am I using the dsync -m option incorectly?
It looks like it's being ignored.
And as for the main INBOX (/var/mail/username) what should be the
parameter for -m?
dovecot --version
2.1.7
dsync -u pj -D -v -m Alerts -o mail_location=mdbox:/home/pj/mdbox
backup mbox:/home/pj/:INBOX=/var/mail/pj
doveadm(root):
2006 Aug 10
6
Multiple sites using one data source
Hi,
Just wondering if anyone has any suggestions as to the best way to
provide access to the same data source for the (possible) creation of
multiple web sites. I figure my options are:
- Direct database access over tcp
- ActionWebService
- Wait for ActionResource
I''ve done up some work with ActionWebService already, but I don''t think
it''s going to work because it
2017 Mar 20
3
Xen C6 kernel 4.9.13 and testing 4.9.15 only reboots.
El Lunes 20/03/2017, PJ Welsh escribi?:
> Still just starts the kernel and wihtin 4 seconds reboots with 4.9.16-24.
> Thanks
> PJ
Edit grub's entry and add "noreboot" to your xen parameters, maybe when the
kernel panicks xen detects it and automatically reboots it.
> On Mon, Mar 20, 2017 at 2:23 PM, Johnny Hughes <johnny at centos.org> wrote:
> > On