Displaying 20 results from an estimated 900 matches similar to: "console and webrick problems"
2005 Dec 18
3
automatically generate migration from db/SQL?
Hi,
I''d like to use migrations to build my initial database. Is there a gem
or plugin that will generate the migration code for initial db if I
point it at a live database or sql file?
If yes, then can you automatically generate the incremental migrations
as well?
Thanks,
Jason
2005 Dec 24
2
Where can I get a royalty-free/open-source spinner image?
Hi everyone,
Where can I get a royalty-free copy of the spinner.gif or some other
AJAX activity icon? I don''t want to swipe one without asking.
Thanks,
Jason
2006 Jan 23
3
running rake commands from rake migrate
Hi there,
How can I run rake commands from a rake migration? I''m looking to run
rake engine_migrate and others commands from a migration in order to
migrate my engines along with my core app. Any advice is appreciated.
Thanks,
Jason
2005 Dec 16
11
mysql mem-tables vs. memcached
Could someone please elaborate on the technical differences and practical
impact of whether choosing memory-based tables in MySQL or using memcached.
I got this far on my own:
It seems that MySQL uses the NDB engine for transaction-safe memory access
in a cluster. the memory storage engine seems to be faster but not
synchronizable by any means in a cluster. memcached seems to be ultimately
fast
2006 Jul 31
1
Starting backgroundrb from rails and restarting with rails
Hi,
I have my rails sites tricked out with capistrano, and backgroundrb, so
I can easily use the ant tasks, but I would like to be able to start and
stop backgroundrb from within rails.
I have a few reasons for this:
1. Using fastcgi, backgroundrb would start under the apache user and the
same mod_security context as apache, instead of my developer account
which has many more privileges.
2.
2006 Jan 31
2
Setting a default order for a model?
Hi,
I''m using a room model throughout my code. I keep doing the following:
@rooms = Room.find(:all, :order => ''buildings.name, room_number'',
:include => :building)
I have to copy this into several of my controllers and I feel that I''m
violating the DRY principle. Can I set this as the default order in my
model? If so, how would I do that?
Thanks,
2000 Sep 22
3
[?] RPM install problems (Linux)
When I try to install the R RPM under Mandrake Linux 7.1 (intel),
I get the following error:
[root at edgeworth programs]# rpm -ivh R-base-1.1.1-1.i386.rpm
error: failed dependencies:
libreadline.so.3 is needed by R-base-1.1.1-1
[root at edgeworth programs]#
I do have realine installed:
[root at edgeworth programs]# rpm -qa | grep readline
readline-4.1-4mdk
and
2006 Mar 20
1
RJS & IE Woes
Hi,
I''m trying to do a very simple slide_down effect with RJS templates.
Basically a user selects a check box and a text box slides down.
This works great in firefox, but causes IE to crash. The text box appears
and slides down. Then the browser crashes.
the in the partial is
<div id=''forklift_div''>
<label for=''incident_forklift''>Was
2020 Jun 16
2
LUKS layer / best practice
Hi all,
with regard to LUKS; should it placed before LVM or after? Any
recommendations? TRIM command fully supported through all layers etc?
--
Leon
2006 Jan 27
1
Caching from screen scraping
Hi all,
I need to do some screen scraping from my rails app. Given an ethernet
(MAC) adress, I scrape results from an internal web page that returns
location and hostname. How can I cache the result from that screen
scraping as to be polite to the scrapee? I would like to expire the
results daily. In perl, I would use Cache::File. Can I use rails caching
for this? What''s the best
2006 Jul 27
3
timer service
hi everyone,
I have this case where I need to check some records in the database of a
specific data condition every 5 seconds and do some business logic if
this scenario is true.
Problem is there doesn''t seem to be any timer service in the rails
framework. Anyone have a general idea of how to attack this problem?
thanks,
-dan
--
Posted via http://www.ruby-forum.com/.
2010 Dec 01
2
How to draw a rect() behind a hist() ?
Hi,
I have the following code:
hist(gps$heartpercent, breaks=5)
rect(90, par("usr")[3], 100, par("usr")[4], col = "red")
How do I get the rectangle to appear behind the histogram. Barring that,
how can I make certain bars of the histogram to be a certain color?
Thanks,
Jason
2006 Jul 29
9
export to a CSV or XLS file
hello everyone,
Any idea how can i export a resultset from a database to a CSV or XLS
file from the application ? would like the user to have the option to
export selected data to a CSV/XLS file.
Any plugins or libraries avaiable to accomplish this ?
Thanks for your time,
VASU.
--
Posted via http://www.ruby-forum.com/.
2006 Apr 22
0
Connecting to existing postgreSQL database in Win32
I''ve been runnning Perl under Apache for a while but have decided to try
using Ruby-on-Rails. My current database is postgreSQL 8.1. I have no
problem connecting to it using Perl or PHP 5. However, I''m obviously
missing something ''cos no matter what I do I cannot connect to the
database from RoR.
I have followed all of the instructions I could find and when I start
2017 Mar 10
1
polkit helper timeout and defunct pkla-check-authorization processes on CentOS 7.3
Hi everyone,
We seem to be having issues on multiple CentOS 7.3 machines. The problem
seems to revolve around polkitd. At some random time, polkitd seems to stop
responding on my systems. Along with this, there might be hundreds of
defunct pkla-check-authorization processes. If I reboot, then things are
fine for a while.
I don't see any activity in the unabridged journal to suggest anything
2006 Jul 14
8
CAS Authentication filter.
Hi
CAS is a centralized authentication service, and the cas_auth filter can
be installed to automatically make your web application authenticate
against a CAS server. The SVN path to the plugin is
http://svn.ki.se/rails/plugins/cas_auth
and a homepage with some information can be found at
http://opensource.ki.se/casauth.html
For use, just install the plugin in your application and set
2020 Jun 16
1
LUKS layer / best practice
Also, if you want to use deduplication (via VDO) then you must
remember to "dedupe then encrypt"
Storage > LUKS > VDO > LVM
old but good reference to: https://access.redhat.com/articles/2106521
On Tue, Jun 16, 2020 at 3:00 PM Jason Edgecombe <jwedgeco at uncc.edu> wrote:
>
> I recommend having LUKS be "under" LVM. the layers would be:
> /dev/sda ->
2006 Apr 03
15
How should I pick a random entry from the database?
Hi guys. Total newbie here. I''ve been doing web stuff since 1996 but
only began the foray into scripting last year. I haven''t got my skull
completely 360 degrees around OOP yet. It''s just me here (in Japan) and
there are no Ruby groups in my area (never mind any in English).
I''ve got a database table - real simple: question, answer, and id fields
- and I
2018 Dec 04
2
Update failure: Mate requires libgtop-2.0.so.10
> Date: Monday, December 03, 2018 20:41:20 -0600
> From: Frank Cox <theatre at sasktel.net>
>
> I just tried updating this laptop to the shiny new Centos version
> and it appears that Mate doesn't like the new version of libgtop,
> as you can see here:
>
> Error: Package: marco-1.16.1-3.el7.x86_64 (@epel)
> Requires: libgtop-2.0.so.10()(64bit)
>
2006 Feb 10
4
hiding header/footer on html print?
Hello all,
I am using what might be a "poor mans" reporting... html -> print.
Who knows a way to hide the browser-included header and footer of the print?
thanks.
--
------------------------------
Forget the icing. Bake the Cake!
- the epi-centered developer
------------------------------
Peter Fitzgibbons
-------------- next part --------------
An HTML attachment was