Displaying 20 results from an estimated 3000 matches similar to: "starting WEBrick"
2006 Jun 12
1
Searching People
Hello to all Rubyist and Railist ;)
I''m looking for people to start a blog-project, write about Rails and with
its related subject. Or if anyone have a blog that I can join in and write
some articles?
Greetings, Chris Dorner
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2006 Jun 12
6
Storing "money" in databases
Hiall,
I''m wondering what''s common practice when dealing with money values
stored in databases. I like the idea of storing all the values as
integers, i.e. all the values in eurocents not euros. Then I need to
multiply all values the users enter by 100 before storing them in the
database. Now the question is, what''s the most efficient and dryest
way to do this?
2006 May 29
2
Convert bytes to kb or mb in words
Using File.size(myfile) I can get the size of the uploaded file in _bytes_.
Does anybody know of a function to convert bytes into a more human readable
format?
If I had a wish list for a "file_size_in_words()" function, it would do
this:
10752 bytes becomes "10.5 Kilobytes".
2213814 bytes becomes "2.1 Megabytes".
238 bytes becomes "Less Than 1 Kilobyte".
2006 Jun 21
7
Mongrel 0.3.13.1 -- Quick Small Fixes
Hi Everyone,
This is a small release that fixes a little bug, some of the
documentation, and adds the new RedirectHandler code and a @redirect@
call for the mongrel.conf files. It''s fresh so don''t rely on it.
Everyone should upgrade with the usual *gem update* command (which tells
you it''s "Upgrading...") and tell me how it works.
This release fixes:
* The
2006 Jun 12
15
Mongrel Now Recommended Setup?
I see that the RubyOnRails.com site has migrated to Mongrel with Apache as a
front-end proxy.
Is that now the/a recommended setup for Rails apps? We''re still using FCGI
but I''m always interested to learn more about other folk''s successful
deployment choices.
Across all of our sites we''re pumping out about 300k pages per day so
anything that saves memory or has
2002 Sep 17
2
Install on Mandrake 8.2
Hello,
I have a fresh install of Mandrake 8.2 which comes with Samba 2.2.3a. I
wish to upgrade to Samba 2.2.5, however, I cannot find the correct RPM
to do so. Any help here is greatly appreciated. Thank you.
- Robert Dempsey
2006 May 01
6
Two developers, one on unix and one on windows
Hello all,
An interesting problem, I am developing on Windows, another developer is
using Unix, and our app and svn repository are running on a Linux box.
We need an easy way to not keep breaking our app and each others
development environs when we check in the code. The piece in question is
the dispatch.fcgi. The path to ruby is (obviously) different in Windows
and Unix. Has anyone run into
2002 Oct 05
1
Winbind and AD
Can someone who knows please explain how compatible with AD Winbind is and
specifically what advantages the new 3.0 version of Samba provides. I've
looked at the release notes but I appear to be able to quite happily access
domain accounts/groups etc, browsing and so on with a RH 7.3 machine on my
Win2K domain using winbind and am not sure whether it is worth trialling V3.
regards,
Toby
2006 Jun 12
5
railish icons?
This is a little off topic but someone here knows, I''m sure... Does
anyone have a good site to find freely available standard icons for
things like add/edit/delete/save?
I''m looking for a set of clean and simple matching icons that capture
that Railsy-Web 2.0 feel...
Maybe icons aren''t Railsy...
Steven
--
Posted via http://www.ruby-forum.com/.
2006 Jun 09
5
Rails "pasteboard"?
Hello all, I''m looking to setup a simple network "pasteboard" for files
within my organization, to circumvent people trying to email 50 meg files
and me being unwilling to open up our mail server for massive email
transfers.
I''ve seen the pasteboard idea elsewhere where you can go and paste code or
log files or whatever, and then they just fall off an hour or a day
2006 May 19
12
How to build a server
Hi,
I''ve been learning about building Rails apps for about 8 months but I
don''t really know how servers work or how to build a server. I have an
old 450 GHz Pentium computer I can play with. Since I use OS X, I was
thinking about installing a BSD system and trying to make a
MySQL/Rails server. That is about all I know about servers.
How does a server in my house get connected
2006 Apr 14
7
SHA2 Issues
Hello all,
Thank you in advance for your help with this. I am trying to implement
the user authentication method from Ruby Recipes which calls for the use
of SHA 2. Here is the code for the password:
def password=(pass)
salt = [Array.new(6){rand(256).chr}.join].pack("m").chomp
self.password_salt, self.password_hash = salt,
Digest::SHA256.hexdigest(pass + salt)
end
I open
2006 Nov 14
16
memory issues -- mongrel part of the problem?
Hi. I''m a fairly new mongrel user and have a scenario that I wanted
to run by you all, see if anyone''s synapses connect -- mine def.
aren''t!
I''m running a fairly simple rails app through a mongrel cluster (2
mongrels). This site is consistently sloooow -- memory on the server
is regularly paging (and shouldn''t be). ssh-ing in and running top
shows
2006 Apr 14
6
LoginGeneratorACLSystem Issue
Hello all,
Again, thank you all in advance for any help here. I am trying to figure
out how to show the role associated with a user, in a template. I am
using the LoginGeneratorACLSystem along with the LoginGenerator. I can
show the first name of the user by writing "<%=
session[:user].first_name %>" but when I write "<%=
session[:user].roles.name %>" it spits
2006 Apr 12
2
Tracking page hits
Hello all,
I am developing an online store and would like to keep track of how many
times each product was viewed. While I can keep track of page hits using
something like webalizer, this won''t really work (I don''t think) as the
pages are not going to be static. Has anyone else implemented this and
if so could you please point me in the right direction. A potential
solution
2006 Mar 23
2
Scheduling Reminders
Hello everyone,
I am not sure if this question belongs here but I will take my chances.
I am creating a little app to keep track of my homework and when it is
due, and I would like to send myself email reminders within x amount of
the due time. What suggestions do you have for accomplishing this? I am
running the latest versions of Ruby and Rails on a Fedora Core 5 box
with qmail. Thanks for
2006 Apr 16
2
Making requests in order
Hello all,
This is an interesting problem I have been working on. What I have is a
little multiuser project request tracking application. What happens is
that I log in and create projects and assign people to the projects.
Each project has steps associated with it, and the steps need to be done
in a certain order. Now, I have to request that the assigned person
perform each of the steps, and
2006 May 28
14
Lightbox and RJS
Hi,
I am trying to include lightbox functionality in my app, but there is
a slight complication. Apparently lightbox initializes all the links
to lightbox events on page load. However, in my case, some new links
to lightbox events will be rendered to the page through ajax events
(obviously this means after the page loads). So I figure I need to
find a way to call lightbox''s
2006 May 24
1
Authentication between Instiki and Mailman Solved!
Basically, we needed to authenticate against the cookie written by Ruby.
It turns out that you can write a cookie for the entire TLD of
*.example.com from Instiki (Rails). So, I changed the cookie writing
code in the wiki_controller to the following.
# app/controllers/wiki_controller.rb
cookies[''ldap_username_2006''] = {:value =>emailaddress,
:expires
2002 Sep 02
1
File types and performance
Hello,
I am wondering if Samba cares what types of files you are putting onto
the server and if this effects the performance of the server. Attempts
to copy various file types to my Samba 2.2.5 RH7.3 server have given
mixed results. I appreciate any help on this matter. Thank you.
Sincerely,
Robert Dempsey
Atlantic Dominion Solutions