Displaying 20 results from an estimated 10000 matches similar to: "What''s the model pattern for just storing an array of ints?"
2012 Feb 01
6
Does Devise make use of a "status" method? Weird bug.
So I''ve inherited a legacy application and I''m trying to work around the
edges as I put an admin tool interface on top of the existing code base.
I install Devise for user authentication, since I''ve used it in the
past. I change none of the default code. And yet, on successful sign
in, I get an error:
Render and/or redirect were called multiple times in this action.
2006 Jun 19
2
finding duplicates in an array
an application i am working on sends emails to an array of users. it is
possible for the user''s email to actually be in the array more than
once.
i don''t have a real strong grasp of the ruby syntax yet, but is there an
easy way to go through and either remove all of the duplicates or at
least only send an email to that user once?
--
Posted via http://www.ruby-forum.com/.
2006 Jun 09
4
View into a String?
I''ve got a nice XML view of my data that works just fine when I call it
from the browser. Now I''d like a different controller method to take
that XML and write it to the file system. Since the XML view lives in
an RXML file, is there a trick to telling the controller "Get your
output into a string" instead of writing it back to the browser? After
writing it out
2005 Mar 23
2
Does X100P clone provide Timer?
Does anyone know if the X100P clone cards provide the timer needed to
run MOH and the Conferencing service? I have no need for a T1 card, but
I'm running asterisk on a dual processor machine with the wrong kind of
USB devices, so none of the dummy timers will work for me.
Also, I'm running Asterisk@Home (2.4 Kernel). Anyone know if upgrade to
the 2.6 kernel will allow me to use the
2006 Jun 15
1
Ok, I''m stumped on arrays of form fields
My Alert object has_many Links. I''ve got the whole system setup where,
once I have the Alert object created, I can use a nice form_remote to
show the user all the Links currently attached, and add more. But the
form itself starts out with 0 links.
What I''d like to do now is construct the form with a couple of default
"Place link here" objects in the array, and
2006 Jun 02
3
Where are the best AJAX examples?
Googling for this has not solved my problems. Is there a particular
site that is recommened for its examples and tutorials on Rails'' AJAX
capabilities? I know exactly what I want to do, just not how to do it,
and am looking for some code to pore over.
1) I have a dropdown that represents the name of an image in a library.
When the dropdown value is changed, I would like to refresh
2006 Mar 14
2
Max retries exceeded to host...
The past two days, I've been having issues with my two VoIP service
providers where calls just suddenly hang up. The following is from the
log:
Mar 14 13:50:55 WARNING[5887] chan_iax2.c: Max retries exceeded to host
64.34.45.100 on IAX2/voipjet-3 (type = 6, subclass = 11, ts=250000,
seqno=80)
Mar 14 13:50:55 DEBUG[10428] channel.c: Didn't get a frame from channel:
IAX2/voipjet-3
Mar
2018 Apr 25
2
Icecast + Google Analytics
How to do it?
25.04.2018 14:33, Felix-Antoine Morin <antonixfelinski at gmail.com>
>Its okay now, it is working... ;)
>
>
> Au plaisir,
> Félix-Antoine Morin
>
>
> 769 Villeray
> Montréal, Qc.
> Canada
> H2R 1J2
>
> (514) 690.36.89
>
> felixantoinemorin.com
> Facebook <https://www.facebook.com/felixantoine.morin>
>
>
2018 Apr 24
3
Server renew...
Hi there, (sorry for my bad english speaking)
I was broadcasting my Iphones audio feed to the Icecast server :
http://104.236.126.104:8000/
or
http://104.236.126.104/ (port 8000)
But now it seams like that server is dead... An other developper set it up
for me, so I don't know if we just need to re-activate it by paying or
else... It was working in December 2017.
I use the application
2003 Feb 06
3
Win98 policies,profiles and logon scripts
I am running Samba 2.2.3a and have my users logging into the 'samba
domain'. My WinNT and WinXP users are working fine with roaming profiles
and policies. My problem is my Win98 users. The logon script doesn't seem
to be working, i.e. when I log onto a Win98 machine (logging into the
domain), the logon script doesn't run. I have opened up the permissions to
the logon script
2018 Apr 25
2
Icecast + Google Analytics
Good afternoon! Can you please tell me how to connect the Icecast server to the Google Analytics system to see the statistics of the connections to the icecast server.
In advance thanks for the answer. Very much I wait. Regards, Aleks
-- реклама -----------------------------------------------------------
Милі квартири чекають на милих господарів!
Чекають саме Вас! https://goo.gl/iptNm5
2005 Jun 02
2
Adding a legend to a symbol plot
I have created a symbol plot with circles that represent the mean temperature
at lat/lon locations over the United States. The radius of the circle
corresponds to the mean temperature. I would like to add a legend that
identifies a range of temperatures (e.g. 0-10, 10-20, etc) with circles of the
appropriate radii next to them. I've read the manual on how to add a legend,
and I'm fine with
2006 Aug 19
22
Wazzup with the rubyonrails-talk Google Group?
I just got a Google Groups notification that I had been
subscribed to http://groups.google.com/group/rubyonrails-talk.
Looking at the page, it appears that about 4300 folks have
been subscribed. However, I saw nothing about this on
rails@lists.rubyonrails.org. Wazzup?
-r
--
http://www.cfcl.com/rdm Rich Morin
http://www.cfcl.com/rdm/resume rdm@cfcl.com
2023 May 25
3
data.frame with a column containing an array
I really don't know. I would call it a request for extended capabilities of
[.data.frame, rather than a feature or bug. But maybe wiser heads than mine
who monitor this list can sort it out.
-- Bert
On Wed, May 24, 2023 at 8:52?PM Georg Kindermann <Georg.Kindermann at gmx.at>
wrote:
> So is this an expected behavior or is it a bug which should be reported
> somewhere else?
>
2005 Jan 07
5
Shorewall, PPTP and Samba
Good Morning Everyone,
I have a server that runs Shorewall/Samba/PPTP (Poptop). When we try to
connect to the PPTP server from outside of the company, the Windows XP pro
client can establish the connection. We can then ping the server and the
clients behind the server without any problem, but the issue becomes that we
cannot map to any of the shares on the samba server or to any client for
that
2001 Apr 14
0
Samba -- Just Do It!
As I get older, hopefully wiser, I try and look at ways I can make a
contribution to various causes that I believe in. Examples would incluce
my alma maters, various legal or political groups (that share or
advocate my views), or other groups of "right thinking" people, to name
a few. Of one in particular, open soucre comes to mind. And, within the
relm of open source, Samba in
2010 Feb 22
3
gsub patterns from vector elements w/out loop?
Dear list,
I have two vectors:
x <- c("one","two")
y <- paste(rep(x,2),"blah")
I want to replace all occurrences of each element of x in y with
something else, so that y looks like this:
y
[1] "something else blah" "something else blah" "something else blah"
[4] "something else blah"
I can do this using a loop:
for (
2023 Feb 19
2
Using 'dummy.ups' for a real application, not just testing...
Good Morning,
I am working on setting up a 12V DC UPS that will power a NAS and a router
for a few hours. It contains some lithium-ion batteries, and a BMS to
control charging. Since it is just a dumb box with batteries, it has no
intelligence to inform the NAS of its status. This is where NUT comes in...
I would like to incorporate a Raspberry Pi NUT server into this scheme.
The Rpi can
2009 Mar 31
3
Accept POST data from external source?
Ok, this is harder than I thought. I''ve got a hunk of XML coming in
from an entirely external source that I do not control (but another
department in my company does, so it''s not like a giant security hole).
I was hoping to just have them POST their data to me, and then I''d read
the raw stream and parse it.
I''m sure folks know what I ran into -- Invalid
2010 Nov 10
2
Centring titles for pairs of plots.
I would like to centre titles for pairs of plots in a 3-x-2
array. Each row of the array corresponds to a calendar year
and I would like to have the year value centred between the
two plots in the row, and just above their upper edges.
I have attached an example in "demo.pdf" showing roughly
what I want. I managed to produce the example using