Displaying 9 results from an estimated 9 matches for "gpb".
Did you mean:
gp
2007 Dec 05
5
Running php from RoR
...ipt from within rails.
The action is triggered by a button.
def load_stock
if result = system(''php test.php'')
flash[:notice] = result
end
end
However, it keeps returning false.
If I run the command from the Windows command line it works.
Any ideas?
Thank you.
GPB
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send e...
2012 Nov 29
0
Simper analysis with Morisita-Horn
...groupp <- group[perm[p, ]]
ga <- comm[groupp == comp[i, 1], ]
gb <- comm[groupp == comp[i, 2], ]
for (j in 1:n.b) {
for (k in 1:n.a) {
########### Morisita-Horn
aNp <- sum(gpa[k, ])
bNp <- sum(gpb[j, ])
dap <- sum(gpa[k, ]^2)/aNp^2
dbp <- sum(gpb[j, ]^2)/bNp^2
topp <- (gpa[k, ] * gpb[j, ])
contrp[(j - 1) * n.a + k, ] <- 2 * topp/((dap + dbp) * aNp * bNp)
#############
}
}
perm.contr[, p] <- colMeans(contrp)...
2007 Oct 24
8
validates_confirmation_of not working
...a symbol
[Full trace at the end of this message.]
However, if I do only this:
validates_confirmation_of :password
It jumps over the validation because no matter what I put in the
password and password_confirmation fields, changes are always saved.
Any advice, greatly appreciated.
Thank you,
GPB
-----
Full trace for validates_confirmation_of :password, :on
=> :password_update
C:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.15.3/lib/active_record/
validations.rb:296:in `send''
C:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.15.3/lib/active_record/
validations.rb:296:in `validates_...
2007 Nov 02
1
1 error(s) on assignment of multiparameter attributes - Very Strange
...y/lib/ruby/gems/1.8/gems/rails-1.2.5/lib/commands/server.rb:39
C:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`gem_original_require''
C:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`require''
script/server:3
Any help, greatly appreciated.
Thanks,
GPB
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send...
2007 Dec 11
1
501 Syntax: HELO hostname - Mail problem
...;
C:/ruby/bin/REShop/vendor/rails/railties/lib/commands/server.rb:39
C:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`gem_original_require''
C:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`require''
script/server:3
Any ideas?
Thank you in advance,
GPB
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send e...
2004 Jul 09
5
RE: the "cisco vs. Linux" thread
FYI this topic has been covered on the Zebra and Quagga lists
- hardware processors, memory, NICs, etc
- software OS (Linux, *BSD), drivers, etc
I''ve been running a couple of Linux routers for about 2 years now, I''m
using
them as core routers so I bought a couple of rackmount "server" boxes
with
redundant PSUs and h/w RAID (1) for hotswap disks.
I''m using
2006 May 04
5
Child calls
If I use <%= parent.name %> and or <%= parent.child.name %> then i get
the correct record.
BUT if say <% nameholder = "parent.child.name" %>
<%= nameholder %> it just prints parent.child.name.
How do I get ruby to recognize nameholder as object?
Thanks,
James
--
Posted via http://www.ruby-forum.com/.
2006 Apr 18
4
PHP and Rails integration
There a few php solutions that I would like to integrate with my Rails
app. Namely PHPBB(No offense RForum) and WordPress. Is it possible to
use these in a Rails environment, and what kind of issues/stumbling
blocks would I face if I attempted to?
Thanks,
James
--
Posted via http://www.ruby-forum.com/.
2012 Jun 24
0
nouveau _BIOS method
......IO2L. .IO3B..
0070: 02 08 49 4f 33 4c 0a 10 08 53 50 33 4f 0a 2e 08 ..IO3L...SP3O...
0080: 49 4f 34 42 0b 20 0a 08 49 4f 34 4c 0a 20 08 4d IO4B. ..IO4L. .M
0090: 43 48 42 0c 00 00 d1 fe 08 4d 43 48 4c 0b 00 80 CHB......MCHL...
00a0: 08 45 47 50 42 0c 00 90 d1 fe 08 45 47 50 4c 0b .EGPB......EGPL.
00b0: 00 10 08 44 4d 49 42 0c 00 80 d1 fe 08 44 4d 49 ...DMIB......DMI
00c0: 4c 0b 00 10 08 49 46 50 42 0c 00 40 d1 fe 08 49 L....IFPB.. at ...I
00d0: 46 50 4c 0b 00 10 08 50 45 42 53 0c 00 00 00 f8 FPL....PEBS.....
00e0: 08 50 45 4c 4e 0c 00 00 00 04 08 53 4d 42 53 0b .PELN....