Displaying 20 results from an estimated 1000 matches similar to: "Problem with image caching"
2006 Nov 23
2
Mongrel + Apache 1.3 + OpenBSD
Hello,
I want to install a mongrel rails server with an apache in fronthead,
all that on OpenBSD. But OpenBSD is released with a homemade Apache
1.3.29 patched by the OpenBSD team. I really want to keep this version
of apache and I don''t want to change it to Apache 2.x (because of the
security and the license but it''s not the point here). But for having
mongrel, it has to be with
2006 Nov 28
11
New Rails Site: Wordie
My latest stupid web trick, built, with love, in Rails:
http://wordie.org
Make lists of words. See who else likes the same words. Basically, it''s
a dating site. Built on thanksgiving while half-watching football and
launched yesterday. In other words, half-baked, but I thought some of
you might find it mildly amusing.
John
____________________________
John McGrath
Squirl: a site for
2006 Jan 09
1
Saving an upload
I am creating a database for movies (films) and television shows (shows)
that will have has_and_belongs_to_many relationships with the pictures
table.
CREATE TABLE screenshots (
id serial NOT NULL,
filename character varying NOT NULL,
content_type character varying NOT NULL,
primary key (id)
);
CREATE TABLE films (
id serial NOT NULL,
name character varying NOT NULL,
2002 Feb 03
1
simple traffic shaping problem
Hi All,
I read the advanced networking howto and find a useful way to shape my
adsl link.
is says:
"tc qdisc add dev ppp0 root tbf rate 220kbit latency 50ms burst 1500
[...]
Change 220kbit to your uplinks *actual* speed, minus a few percent. If
you have a really fast modem, raise ''burst'' a bit. "
My adsl''s upload brandwidth is about 120 kbits/sec,
2007 Feb 03
7
Interesting radio button behavior with "onclick"
Hello:
I have radio buttons like this:
<% fields_for :goalhist do |g| %>
<table>
<tr>
<td align=left><%= radio_button_tag (''duedate'', 0, checked = false,
options = {:onclick => ""}) %>
Start now
</td>
</tr>
<tr id="detailed" style="display: none"><td colspan=2>
2007 Feb 04
10
where to install script.aculo.us ?
I''d like to try autocompletion, and my understanding based on AWDWR:2,
and on various website tutorials, is that I should install the
script.aculos.us
javascript library.
My question is how to do that. The instructions on their site tell me
to "Put prototype.js, scriptaculous.js, builder.js, effects.js,
dragdrop.js, slider.js and controls.js in a directory of your website,
2006 Nov 27
3
Power User Tipping Point: PHP to Ruby
I have been waiting for a tipping point to start using Ruby
applications instead of PHP applications. My criteria include the
availability of Ruby and RoR web hosts and Ruby equivalent applications
readily available for PHP. I keep finding PHP applications to fill my
needs but not Ruby applications or hosts offering Ruby support. For
example, I use content management systems which are
2006 Oct 14
4
Editable data grid
Does anyone have a good recommendation for implementing an editable
data grid (like a spreadsheet) based on a dbase table/model?
What I would like is something similar to Google Spreadsheets.
Thanks,
Peter
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group,
2006 Nov 30
41
TDD killing my joy of Rails
I''ve been working through the book ''Beginning Ruby on Rails E-Commerce''
which is very heavy on Test Driven Development. As in, you have to
write tests for scaffolding methods and validations and crap like that.
And then they fail. And you KNOW its the test not the method. So you
spend 2x the time writing a test that has to be adapted when
requirements change. You
2007 Mar 04
2
Installing
I have skimmed through many web pages, how to''s and editorials, my
final conclusion is that the programming language for this particular
part of the program is going to be Ruby.
There are many reasons:
1. Apple will support it in 10.5
2. There seems to be a lot of support for it in the Mac community
3. Ruby developers seem to be Mac people.
4. There is better documentation than
2006 Nov 24
2
Mongrel + Apache 1.3 + OpenBSD
Hello,
I want to install a bunch mongrel servers with an apache in fronthead,
all that on OpenBSD. But OpenBSD is released with a homemade Apache
1.3.29 patched by the OpenBSD team. I really want to keep this version
of apache and I don''t want to change it to Apache 2.x (because of the
security and the license but it''s not the point here). But for having
mongrel, it has to be
2007 Feb 13
5
default database schema and relationships
hi everyone..
i''m a high school teacher who wrote a webapp in PHP and MySQL for my
curriculum.. i use it to keep attendance, take notes per student or
class and keep track of activities. i would like to soup it up and
have read both the pickax and version 2 of agile web dev...
now i''m starting to work and i''d like to rename columns and
relationships in the database so
2008 Jan 03
1
Mongrel stops to loading the page in browser
Hi all,
I have a problem with mongrel-1.1.2 running with Apache Apache/2.0.61
and MySQL 5.0.45 on FreeBSD 6.1.
I''m developing my application with InstantRails that uses Mongrel and
everything is working great. I have about 30 shops in a table. I also
store the logo images (png files) in the table for each shop. Under
Windows/InstantRails everything is working correct.
When i however
2006 Oct 26
3
reply-to address of this list
Could one of the admins maybe specify the reply-to address for this
mailing list? It''s frustrating to realise you''ve just sent a message
to an individual, having meant to send to list.
Chris
2006 Nov 23
1
Script to restart webrick
Enjoy this little script to restart webrick:
#!/bin/sh
pid=$(ps -o pid,command | grep ''\<ruby script/server\>'' | awk ''{print
$1}'')
kill -9 $pid
ruby script/server
Run on prompt by entering: sh scriptname.sh
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are
2006 Nov 28
2
collection_select and selected_value
Hi,
I am using collection_select to build a drop down list. I would like
to have the current value selected. How can I do that?
My current code is straight from the example in Pragmatic Programmers
book [2nd ed, p480] copying here for reference.
<%=
@users = User.find(:all, :order => "name" )
form.collection_select(:name, @users, :id, :name)
%>
I went through the api docs
2006 Dec 11
1
assert_redirected_to error
I''m new to TDD in rails, I''m getting this weird error with
assert_redirected_to.
Here''s my test:
def test_friendship_request_accept
@request.session[:user] = users(:nathan).id
get :accept, { :id => 1 }
assert_redirected_to :controller => "/users/profile", :action =>
"index", :id => users(:nathan).id
end
When I run this I
2006 Dec 11
1
Using link_to_remote to add a record
I am trying to use link_to_remote to simply add a record to a database
table called "ratings". I''ve seen some examples of this being done but
can''t seem to get it to work. Any ideas about what I''m doing wrong?
Here is what I have in my view:
<%= link_to_remote( "1", {:url => { :controller => "ratings", :action =>
2004 Jan 20
2
Brandwidth for making internet calls
My ADSL connection speed is 512Kb up and 128Kb down.
When making calls from Asterisk to IAX and back to the Asterisk, the
sound is choppy and 20% of voice messages was lost. What is the
production bandwidth requirement per internet call. I understand there
is no guarantee of QoS but at least a benchmark to follow.
--
David Kwok
Iaxtel/FWD # 17001813482
-------------- next part
2007 Jan 16
4
RJS - What the the advantages? / Why use?
Hi,
I''ve read up on RJS and understand the concept/how-to-use. It''s still not
clear in my mind when and why to use RJS? Can anyone drop in a couple of
bullet points re advantages + when/why would RJS make sense?
Thanks
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: