similar to: Rails to static site

Displaying 20 results from an estimated 7000 matches similar to: "Rails to static site"

2006 Jun 13
5
Transform Rails site into DVD
I''m considering implementing a PHP based site that display videos with quite some database logic to Rails. Now we were considering publishing the site on DVD too. Is that possible (e.g. with RubyScript2Exe)? How fast is database performance going to be? Currently there are movies inside the database but we can extract them if necessary. The database scheme is quite large and the number
2006 Mar 06
7
Set base url?
I have an application running on a Lighttpd instance which is proxied by an Apache server. It seems to work fine but my urls are incorrect: all urls reference / which is not where my application runs at the Apache server. How do I set the base url of a Rails application? My Apache has the following proxy rules: ProxyPass /hieraki http://localhost:3001 ProxyPassReverse /hieraki
2006 Jan 13
2
FastCGI problems
I''m having a lot of problems with my Typo install. My fastcgi fails horribly after a reboot: [13/Jan/2006:16:55:28 :: 19796] Dispatcher failed to catch: (Interrupt) /usr/lib/ruby/site_ruby/1.8/fcgi.rb:597:in `each'' /usr/lib/ruby/site_ruby/1.8/fcgi.rb:597:in `each_cgi'' /usr/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/fcgi_handler.rb:52:in `process!''
2006 Sep 07
6
Template "specialisation"
I want to use a sitewide default template and use a specific version in some controllers to have a good DRY approach to my layout. Those controllers should add a little bit more HTML before rendering the results of the actions, in order to avoid copying the entire sitelayout every time. How can I do that? Currently my code is like this: class WelcomeController < ApplicationController
2006 Mar 23
2
rails lighttpd fastcgi archlinux
When I try to access the rails app, it''s giving me "Routing Error: Recognition failed for "/"" displayed on my browser. Has anyone ran into this problem before? -- Vincent H Gov -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060323/78ccb76e/attachment.html
2006 May 29
2
Subfolder in Maildir
Hello, We have installed a brand new Dovecot because it seems very interesting as an IMAP server. We created a mailbox for a test user and we succeeded in copying some mails into it. However making subfolders does not work. The only folders we can create are in the root, next to the INBOX that is. We thought Maildir does support subfolders (as opposed to mbox), are we wrong here? Our Dovecot
2006 Aug 18
3
RoR logo on own webpage
Hello, are there any restrictions in using the RoR logo on my own homepage? Something like: powered by Ruby on Rails ..__logo__.. -- Jochen
2006 Oct 02
1
Scaffold problem with PostgreSQL
We are having a problem scaffolding with PostgreSQL. We are following the depot tutorial from the AWDWR and it gives problems: $ ruby script/generate scaffold Product Admin exists app/controllers/ exists app/helpers/ exists app/views/admin exists test/functional/ dependency model exists app/models/ exists test/unit/ exists test/fixtures/
2006 Aug 31
2
Url rewriting for random urls
Hello, I have discovered the good use of stylesheet_link_tag and javascript_include_tag (I''m still learning) and it is very useful because I have to use the relative_url_root way. Now I wonder how I can use that for other URLs. I want a background image for a table cell so I have to write something like: <td align=''right'' valign=''bottom''
2011 Mar 11
1
HTtrack for Centos 5.5 ?
Does anyone know how to install HTtrack on Centos 5.5 please ? -- With best regards, Paul. England, EU.
2006 Mar 23
3
when (not) to use belongs_to
I know you get a lot of questions like this, but I couldn''t find one which answers exactly what I''m after. I''m reasonably new to rails, and I''m having a bit of trouble with when to use belongs_to. On the rails wiki ( http://wiki.rubyonrails.org/rails/pages/belongs_to), it says "In general, the Foo model belongs_to :bar if the foo table has a bar_id foreign
2006 Mar 13
2
Routing in Rails
I am fiddling around with some special setups and my routing does not work. So I wonder: how does routing work in Rails? Is everything caught by dispatch.cgi script because it is the 404 handler? What happens with static content? Is it supposed to be found before the cgi script?
2005 Dec 12
1
Almost there, but no dhcp support?
I have a booting dom0 kernel now, upart from a problem with the cdrom but more serious a problem with dhcp. When I request a dhcp lease I get the following error: dhcpStart: socket: address family not supported by protocol pf_file Which kernel option should I enable? I studied all networking options in the kernel configuration but I can''t find the right one to enable...
2003 Aug 13
1
AW: Acknowledgemnts and some new stuff
> I am also indebted to Giuliano Pochini for his code for preserving > directory links when downloading with wget. The Apache server does not > preserve symbolic links in the download. What happens is that instead of > one directory of files with another directory pointing to it, there > are dupicate files downloaded. This is a bad waste of bandwidth. How is this done? Will it work
2006 Jan 10
2
DBDesigner4 to AR model (script)
Hi list, I have hacked together a small script to generate an ActiveRecord model from a DBDesigner 4 (fabForce.net) model file. Take it apart and feed it to the pigs ;). the article: http://tua.ch/ruby/current.html and the script: http://tua.ch/ruby/dbmodel/compute_model.rb best of whishes for the new year, kaspar code manufacture & ruby lab at http://www.tua.ch/ruby
2006 Mar 07
13
hosting multiple rails apps in one webroot?
It''s actually REALLY easy with lighttpd on linux. Two apps... Myserver.com/code/ => /apps/code/ Myserver.com/test/ +> /apps/test/ Each application needs this in the environment.rb /apps/code/config/environment.rb ActionController::AbstractRequest.relative_url_root = "/code" /apps/test/config/environment.rb ActionController::AbstractRequest.relative_url_root
2002 Jun 05
1
Web CVS Interface Currently Unavailable
I''ve removed the link from the index to the CVS WEB interface until I can figure out how to stop the %$#@s who are running HTTrack, WebStripper, etc. against it. In the mean time, all sites having in-progress sessions using these tools have been blacklisted. -Tom -- Tom Eastep \ Shorewall - iptables made easy AIM: tmeastep \ http://www.shorewall.net ICQ: #60745924 \
2007 Feb 15
2
Wiki to doc/ in tarball
So I finally started building a script that does it. Anyone interested in helping with it so that it produces readable output? First step is getting raw wiki pages. I'll do this directly by getting them from the filesystem. You can get them from here: http://dovecot.org/tmp/wikipages.tar.gz Next there's http://dovecot.org/tmp/wiki2txt.pl which is my horrible Perl script that kind of
2018 Feb 02
1
Does samba support fsync() a directory?
Hi! Afair, fsync()ing a directory is subject to platform-specific and implementation-defined behaviour, and may either - work as you'd want and (probably) expect - fail with an error - fail silently at least if your application targets more than one operating system/kernel - and even on one and the same platform, different filesystems might exhibit sublty different patterns of behaviour.
2005 Jun 02
4
Net > DMZ and AllowFTP
I am trying to get the AllowFTP action to work for Net > DMZ traffic and FTP pasv. I know it is kind of working, as the user can log in, however, it fails at the port. I have had to open up some high ports for pasv to work. Now I know this aint cool, so does anyone know what a person has to do to get the AllowFTP action to work the same way it does if I was just ftp to the firewall, which does