Displaying 20 results from an estimated 10000 matches similar to: "Question about interaction of external processes and a Rails app"
2006 Feb 09
0
Single Table Inheritance
What am I doing wrong?
I have a simple MySQL table:
drop table if exists agencies;
create table agencies (
id int not null auto_increment,
type varchar(20) not null,
name varchar(255) character set utf8 not null,
primary key (id)
);
An equally simple Model:
class Agency < ActiveRecord::Base
end
class FotoAgency <
2023 Mar 18
4
Minimize sshd log clutter/spam from unauthenticated connections
Dear OpenSSH developers,
a publicly accessible sshd on port 22 generates a lot of log clutter
from unauthenticated connections. For an exemplary host on a university
network, sshd accumulates 5~20k log lines on a single day (more than 90%
of the total amount of syslog lines). That is despite the host having a
restricted configuration (no SSH password authentication, firewall rate
limit for
2006 Apr 04
10
Ruby server infrastructure evolution -> app. servers?
All,
Just musing about this whole FastCGI thing (that I hadn''t even thought
of since 1999 when looking at OpenMarket for a customer and even then it
was "old"), and wondering when we might see projects/products that
attempt to provide Ruby application services in a J2EE-like container.
I see the Cerise project - any interesting information on that?
I''m assuming
2023 Mar 18
3
Minimize sshd log clutter/spam from unauthenticated connections
On 18.03.23 14:34, David Lang wrote:
> modern syslog daemons (including rsyslog, which is default on just
> about every linux system) allow you to filter efficiently on the
> message contents, not just the severity, so you can opt to throw out
> the messages you don't want.
>
> I advocate for a slightly different way of dealing with it, filter
> these messages from
2023 Mar 18
1
Minimize sshd log clutter/spam from unauthenticated connections
modern syslog daemons (including rsyslog, which is default on just about every
linux system) allow you to filter efficiently on the message contents, not just
the severity, so you can opt to throw out the messages you don't want.
I advocate for a slightly different way of dealing with it, filter these
messages from your main logstream, but put them into either a script directly,
or a
2006 Jun 27
2
non-traditional rails app
I''d like to convert some simple, general ruby scripts I have into rails
apps just for testing purposes. Many of these apps are not DB driven, so
the whole CRUD concept does not apply to them... here''s a sample:
require ''socket''
server = TCPServer.new(''12345'')
while (session = server.accept)
Thread.new(session) do |this_session|
2006 Mar 06
6
rails app in professional development environment
I''ve been working on my rails app which will be a web app that i want to
launch as a business. Being new to rails i''m wondering what professional
web app developers do for their development environment. Right now i''m
developing and testing on my laptop. I think i''ve gotten far enough along
where i want to put it up on a hosting machine to develop further,
2007 Jul 28
3
SMS Gateway .... for Rails app? (a bit OOT)
I''m simply looking for a SMS gateway... The ones like what Twitter uses...
The intended audience would be globally.
Some of you would have used them and I''d really appreciate if you could
share your experience.
I''ve Googled and the problem isn''t that there is none, the problem is
that there are simply too many. Almost like looking for a webhosting. So
human
2006 Apr 04
3
uuidtools across processes
Hello,
It seems that there is a small probability of collisions among uuid''s
produced by uuidtools'' UUID.random_create() running in concurrent user
processes on a host (fcgi)? The ~2 bytes extracted from the randomized
clock_sequence make a collision unlikely.
http://rubyforge.org/frs/download.php/8572/uuidtools-1.0.0.zip
Do I miss something?
DD
--
Posted via
2006 May 15
4
Issue with ip aliases and routing
I need to get this working. I have a single interface eth0 with a primary
adress of x.x.214.162 on a /30 block network. This interface is properly set
up and works fine, however, I also have five aliased adresses on the same
interface: eth0:1 @ x.x.6.230, eth0:2 @ x.x.6.235, eth0:3 @ x.x.6.240,
eth0:4 @ x.x.6.245, and eth0:5 @ x.x.6.250. All of these adresses are on a
/27 block network. After
2007 Sep 20
5
Horrible problem - calls losing sound
We're having a horrid problem with our asterisk setup.
Sometimes calls just go dead - we can't hear what the other end is
saying. (I think they can't hear us either). The call doesn't hang up
until one of the callers gets bored.
Internaly we use Thomson ST2030 SIP phones.
Externaly we have 3 ISDN BRI lines (6 channels total), connected to an
Eicon Diver server card (4BRI).
2006 Jun 09
4
app at root domain
I have my app up and running at www.domainname.com/controller/ ... but
need to get it set up at just www.domainname.com
I see that by default, rails is loading the pre-made index file in the
/public dir. How can I override this without changing any directories
around in my app?
Thanks!
-stirman
--
Posted via http://www.ruby-forum.com/.
2006 Mar 20
6
Rails and Offline processing
How are you guys handling threads or server processes that have to,
for example, process the data in your application on a periodic basis?
Cron jobs can do it and then run on the database. But, are there ways
to launch threads within the rails application itself.
I have heard of WebBrick ways, but I am working with lighttpd,
fastcgi? (textdrive if you are really interested).
2006 Jun 20
8
Integrating multiple applications
I''ve got a couple apps that I use (billing app, support ticket app,
some other custom apps) that I want to integrate into one site. They
will all use the same layout for the most part, and will link between
each other.
When I initially thought of doing this, I figured if I put the apps at
different roots - /billing /support etc - then the links wouldn''t work
at all, because
2010 Jul 19
1
geokit app
Newbie here :)
So, a friend mentioned that geokit is the way to go if I want to make
a simple location based app.
I basically want to make a list of locations so the app should allow
me to
Create a location, give it a name and an address along with the geo
location information associated with it.
(Geokit will take care of this last thing right?)
I tried looking for sample apps but had no
2006 Mar 10
9
Observers?
Hello all!
I''m having an issue with Observers, and I''m hoping someone knows the
answer.
Here is the definition:
app/models/vehicle_observer.rb
> class VehicleObserver < ActiveRecord::Observer
> def after_save(vehicle)
> breakpoint
> if vehicle.has_new_mil_indication?
> UserMailer.deliver_mil_notice(vehicle)
> end
> end
> end
2005 May 28
4
ADSL Network
Hi Guys,
Thi sis my first post, sorry for my english, I''m Italian.
I desperate try configure home server/router connected over ADSL with
dynamic IP.
I''ve registered to no-ip and in order to connect externaly to my home
server. My system is gentoo based.
I''ve just installed different pubblic servers with static IP and
shorewall and had no problems, but my own home
2006 Jan 23
11
mysql dates
does anyone know of a way to make the date_helper deal with mysql dates with 00 values in them?
I have lots of dates that are like the following:
2005-04-00
2005-00-00
and I need to set null values in a date_select for elements that are 00. These are valid dates in mysql.
In the absence of an immediate solution to the above, I''ve been trying to find out how InstanceTag.new works so I can
2006 Feb 02
4
uninitialized constant Test (NameError)
I have three Rails apps on my laptop.
Two can runs tests just fine.
The third generates this error when I try to run any tests:
> /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/
> active_support/dependencies.rb:200:in `const_missing'':
> uninitialized constant Test (NameError)
> from ./test/unit/../test_helper.rb:5
> from
2006 May 23
12
Mod_fcgid question: is this normal?
I installed mod_fcgid yesterday. It works great for my Rails
app. But in my fastcgi.crash.log is constantly get this output:
[23/May/2006:08:12:07 :: 29040] starting
[23/May/2006:08:18:48 :: 29040] asked to terminate immediately
[23/May/2006:08:18:48 :: 29040] terminated by explicit exit
[23/May/2006:08:22:03 :: 29391] starting
It also shows up in the Apache error log. Is this normal? Or
should I