Displaying 20 results from an estimated 63 matches for "comhttp".
2008 Oct 28
7
aasm callback order?
Hello!
Sometime ago I ran across a webpage where someone had identified the
full callback sequence for an object lifecycle including AASM with
it''s :enter and :exit and whatnot callbacks. Unfortunately, I can''t
find it and searches don''t seem to help.
Does anyone have a reference to a page that shows the callback
sequence with Acts As State Machine (the gem)?
I think
2007 May 05
3
DB trigger vs before_create
Hello everyone,
I''m having trouble figuring out which approach is better.
I have the following tables: products, orders and line_items.
Every time an Order is placed, the quantity field in the products
table has to be updated for each LineItem in the Order. One option is
to use DB triggers which is not as portable as using before_create in
the Order model. But with before_create I cannot
2007 May 14
6
ActiveResource and RESful edit
Hi
I''d like to know how to have ActiveResource generate a URL for the
/teams/1/edit
type of resource.
I''ve got custom_methods.rb and have used
Team.find(1).get(:edit)
This generates
http://localhost:xxxx/teams/1/edit.xml
But all I get returned is a hash of the attributes (in this case of
team 1), rather than an object of team 1.
In other words the
2006 Apr 28
6
[OT] Ruby ftp client for windows
I know this is off topic, But, my boss has tasked me with finding a better
ftp client than the one in Windows XP. Is there a Ruby client that can
recover dropped connections, ( a resume feature)? Would be nice if it could
handle secure/ encrypted transmissions as well?
Failing that, can anyone recommend a good scriptable ftp client for the
Windows plaftorm?
--
Best Regards,
-Larry
"Work,
2007 May 04
5
Something wierd with .save method
Hi,
I have a very sime app.
I need to create as many records in the db as the selected
checkboxes (named :isselected) in the view.
Here is the code snippet from the controller:
isselectedhash = params[:isselected]
for mod in isselectedhash.keys
@issue = Issue.new(params[:issue])
@issue.state = ''NEW''
@issue.mod_id = isselectedhash[mod] # this gets
2011 Feb 02
2
Ofcs2 Questions!
Hello,
First of all, i am new at the list and i have several questions about ocfs2
performance.
Where i am working i am having huge performance problens with ocfs2.
Let me tell my envoriment.
3 Xen VirtualMachines withs ocfs2 mounting an LUN exported over iSCSI. (
acctualy 3 LUNS, 3 ocfs2 clusters )
I am not the one who configured the envoriment, but it is making the
performance of my MAIL
2009 Nov 20
3
Javascript Confirm for Form Value
How could I ask a user to confirm specific form input?
EX:
<%= f.submit ''Donate'', :confirm => ''Confirm your donation amount:
###amount###'' %>
Where the ###amount### would be replaced with the amount entered in
the form.
Thanks,
Dustin
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk"
2011 Mar 06
11
Debian 6 & XCP
So i successfully upgraded my Debian vm''s to Debian 6 on XCP 1.0, but when i
try to install a new clean one it always fails.
Why is this? The VM won''t even start, while i used the Debian 6 squeeze
template.
Is this even possible?
Thanks,
Peter
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
2007 Sep 09
4
Images larger than 40k uploaded with attachment_fu won't display
I have a problem displaying images when using attachment_fu. When I
try to display the image, only about 40k appears in the browser, and
with some images even that much is not visible (just garbage when I
view source). I can display images smaller than 40k correctly.
I''m storing the images in the database (mysql) and haven''t tried
storing in the file system to see if that works
2009 Jul 13
12
.html/.html.erb/.rhtml to PDF
Hello All,
I wanted to convert .html file into .pdf.
is there any rails plugin ??
Thanks,
Sandip R~
--
Ruby on Rails Developer
http://sandip.sosblog.com
http://funonrails.wordpress.com
www.joshsoftware.com
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this
2007 Dec 03
8
xm create - Xend has probably crashed! Invalid or missing HTTP status code.
Hi,
I have compiled xen-unstable (using hg clone
http://xenbits.xensource.com/xen-unstable.hg).
I have successfully booted into the dom0 kernel.
output of xm list:
Name ID Mem VCPUs State
Time(s)
Domain-0 0 932 1 r----- 591.2
But whenever I xm create, I get:
# xm create /etc/xen/domu1
Using config file
2011 Aug 12
2
XCP - Using XenServer Web Self service portal
Ive got XCP 1.1 on 2 blades and setup a pool master, then shared the SR all
seems fine, Id like to manage it with
XenServer Web Self, though its throwing an error
Unsupported version of Citrix XenServer detected. Expected version: 5.6;
Detected version: 1.1
wasnt there a trick to change it and fake it to be correct??
_______________________________________________
Xen-users mailing list
2007 Jun 11
2
Builder::XmlMarkup and dashes
Has anyone hacked Builder::XmlMarkup to dasherize underscore tags by
default? I know I can use tag!, but I''d like to find a way for it to
translate underscores to dashes automatically. In other words:
xml.department_manager do
"fred
end
#=> <department-manager>fred</department-manager>
I tried hacking Builder::XmlBase.method_missing but got myself all
twisted up!
2014 Jun 25
2
Re: qemu-bridge-helper issue
...s a short description, but doesn't sound like it's intended to be
>> the final authority:
>>
>> http://wiki.qemu.org/Features/HelperNetworking
>>
>
>
>
> _______________________________________________
> libvirt-users mailing listlibvirt-users@redhat.comhttps://www.redhat.com/mailman/listinfo/libvirt-users
>
>
>
2004 May 13
1
pattern matching w/ Cisco dialplans
I have some Cisco 7940's running SIP image 6.3 and a newphone account.
Reguarding my dialplan I'm having a small issue. I'd like to dial
9,2,xxx-xxx-xxxx
for a LD Nufone calls - however I also need to dial local phone numbers ie
9,2xx-xxxx
Currently my dialplan looks like so
<TEMPLATE MATCH="9,1.........." Timeout="0" User="Phone"/>
2004 Nov 25
4
Callus, Mame and other emulators
Hi!
I'd like to play with snes, arcade and other retro games, but unfortunatelly
there isn't any linux emus for this.
So I run the emutaltor callus with wine, with medius succes: Callus works
fine, everything is ok, but it uses 100% CPU, and becouse of that, the soung
goes wrongs somethimes.
I don't know why it is takes so mutch work to wine... Callus emulate only 66
Mhz...
The
2013 Jun 19
2
Re: Not able to open Xen Connection using libvirt
...h xen support.
> I am pasting the snapshot of the error below:
>
> [image: Inline image 1]
>
> Can anyone tell me why I am getting this error?
>
> //
> Varun
>
>
> _______________________________________________
> libvirt-users mailing listlibvirt-users@redhat.comhttps://www.redhat.com/mailman/listinfo/libvirt-users
>
> Is this system booted with xen kernel? xen virtualization required
> special kernel it doesn't work with standard kernel.
>
>
2016 Mar 30
0
Re: VM crash and lock manager
...x issue?
> I've been using virtlockd without troubles for more than a year already
> (without selinux). For the locks, see if the lslocks command helps you.
>
> Franky
>
> _______________________________________________
> libvirt-users mailing list
>
libvirt-users@redhat.comhttps://www.redhat.com/mailman/listinfo/libvirt-users
I do not use selinux too, I preffered sanlock at the beginning because
sanlock comes with tools to remove locks. But when VMs crash abnormaly or
freeze ( see the sreenshot I missed to attach it yesterday ) there is
no way to unlease or remove th...
2008 Mar 14
3
ActionController <-> ActiveView code access ambiguity
Hi All!
This is not a problem in general but i''ve just missed the point.
If my application has a global state, which i have to use both
throughout ActionController and ActiveView, then, where to place that
state?
E.g. if I do this:
class ApplicationController < ActionController::Base
protected
def authenticated?
!user.nil?
end
end
then I can''t use that from any
2007 Aug 26
4
What do you think of Aptana?
Hello everyone,
I am new to this forum and Ruby, and already have a question - what do
you think of Aptana IDE in regards to RoR development?
Thanks, Val
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email