Displaying 20 results from an estimated 2000 matches similar to: "Rails 1.1 in Production"
2006 Apr 14
2
Rails 1.1.2 is working on shared hosting that has rails 1.0
After many hours I got working
It is in spanish but you can copy paste the code.
http://wiki.onrails.com.ar/onrailscomarwiki/show/Instalacion+de+Rails+y+Gems+en+un+hosting+compartido
P
http://wiki.onrails.com.ar
--
Posted via http://www.ruby-forum.com/.
2006 Jan 05
1
File_column image validation
Hello,
Is it possible to enforce minimum image size and other validations using
file_column? if so does anybody have some examples. I have looked at Kyle''s
file_column extension and I saw that it enforces format''s (jpg,pdf etc) but
nothing for size.
Thanks!
Sunder
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2006 Jan 09
7
File_column Dynamic directory
I asked this question earlier and did recieve an answer but I am not
sure Ifully understood the answer as I am getting all sorts of
errors when trying to implement.
Basically I want to add a layer to the path for my files. I have the
following set up in my model class:
file_column :image,
:store_dir => :dynamic_dir
def dynamic_dir
2007 Sep 19
3
Rails cannot connect error after updating using ruby and rails to slightly newer versions
I am on a mac. Have been developing using a manually installed
(according to the hivelogic instructions) ruby, rails, gems, mongrel
setup. Life was good.
When I noticed that my ruby version was out of date, I decided to
switch to using macports to maintain the software on my mac. I used it
to install a new ruby and gems, and then used gems to get the latest
rails. Life seemed to be good.
Next I
2006 May 05
3
Cannot find gem for Rails =1.1.2
First post here:
The error is below and i''m sure folks have posted it before, but perhaps
i''ve missed the solution:
I''m using apache because i first need to see if rails can work with
apache. Some particulars:
gem -v
0.8.11
ruby -v
ruby 1.8.4 (2005-12-24) [i686-linux]
rails -v
Rails 1.1.2
rails-1.1.2 is installed (via gem) and environment.rb''s
2006 May 23
7
back-porting 1.1.1 app to 1.0 rails server
I''ve been developing new application on local machine in rails 1.1.1.
Hosting provider (godaddy) is at rails 1.0.0 and not upgrading any time
soon I''m told. I set "RAILS_GEM_VERSION = ''1.0.0''" in my environment.rb
file to get past inital errors, but now I''m getting the following error:
2005 Nov 29
6
draggable revert problem
Hello,
I have tried implementing the shopping cart ajax example and have run into
some problems. The only differences with the shopping cart is
My list of products are generated from a partial view
The images of the products come from an http link.
However, Iam seeing a strange behavior when I drag and drop the elements to
my cart. On the first drag and drop the image successfully reverts to
2010 Mar 21
4
Deploying my rails app to GoDaddy
So I''ve written my first real-world RoR app and I''m now getting ready
to deploy it. Unfortunately, my client decided to use GoDaddy as the
hosting provider and based on what I''ve seen so far from the web, it''s
not really the smoothest or ideal hosting for RoR apps. There were
several posts here that I tried to follow but they were kinda old
(2008, 2007). Most of
2006 May 02
7
vendor/rails seems to be being ignored in preference to gem?
I have edge rails in /vendor/rails on DreamHost, but when running
dispatch.fcgi I get the following error in my logs:
[02/May/2006:08:52:32 :: 29365] terminated gracefully
[02/May/2006:08:53:53 :: 19526] starting
[02/May/2006:08:53:54 :: 19526] Dispatcher failed to catch: undefined
method `clear_connection_cache!'' for ActiveRecord::Base:Class
(NoMethodError)
2006 May 11
5
Problem running application in cpanel
Hi,
I installed rails following the instruccions from
http://wiki.rubyonrails.com/rails/pages/HowtoInstallAndRunRubyOnRailsOnCpanel
but when i try see the application i have a 500 Internal Server Error, this
is only with apache because i can run with webrick
Please i am desesperate
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2006 Feb 08
5
debugging 500 Internal Server Error when dispatch.fcgi run?
I''m trying to get my Ruby on Rails application to work under Apache. It
works fine when run as WEBrick ("ruby script/server").
As suggested in
http://www.ocssolutions.com/support/ruby/troubleshooting-ruby-on-rails.php
, I tried running dispatch.fcgi on the command line. When I run it, no
matter where I run it, it outputs:
500 Internal Server Error
Both the #! (shebang)
2006 Feb 12
7
form_remote_upload plugin
form_remote_tag does not support the input type=file. This is due to
javascript security limitations. I created a plugin that modifies
form_remote_tag so that if you pass it the option: :html =>
{:multipart => true}, it will submit via an iframe, allowing you to
upload files. It works nicely with file_column :). Currently, it
only works with RJS templates (no :update option), and I only
2006 Apr 12
2
wiki.OnRails.com.ar Argentine Comunity Started
We are in beta now.
http://wiki.onrails.com.ar
Any question contact me
pedro.visintin at gmail
--
Posted via http://www.ruby-forum.com/.
2006 Jun 06
2
Need help on ipfw IDS support.
Hi,
Is it possible to integrate SNORT with IPFW. I have an entire network behind
an IPFW BRIDGE. Just need IDS capability enabled for the network. Just an
hint is enough. Any other way I can achieve this in IPFW.
-Sunil Sunder Raj
2006 Apr 10
5
Inflections.rb in spanish
Hi:
I have a problem with the plural of fracancia, I got fragancium but in
spanish is fragancia.
I modified inflections in environment.rb
Inflector.inflections do |i|
i.irregular ''fragancia'', ''fragancias''
end
but is ignored.
The solution that I found was comment this inflection on inflections.rb
#inflect.singular(/([ti])a$/i,
2007 Jun 04
3
Expected ... to define (rails version 1.2.2)
Hi, I''m having a mysterious problem that occurs when I''m using Rails
1.2.2. My app works fine when the environment.rb file reads:
RAILS_GEM_VERSION = ''1.1.6''
When I change this to:
RAILS_GEM_VERSION = ''1.2.2''
and try to load http://<mydevhost>:3000/srs/, I get the following
traceback in the developer log:
Expected
2006 Jan 17
3
file_column :root_path question.
I''m developing on Windows and deploying to FreeBSD+lighttpd using
Switchtower and I''ve got things generally working. My problem now is
that file_column data gets zapped every time I deploy, because
Switchtower creates a whole new myapp/public directory with each rev.
I looked through the file_column docs and found the :root_path option,
which I use in my models as follows:
2008 May 21
3
How to access Rails::Configuration instance methods
There was a thread yesterday about ENV["_"] which is not available to
Windows,
I got to playing around with how to find access to the
initializer_path or in this case the root_path
My question is more about why I don''t have access to what appears to
be a public method than finding the root_path.
I did this in 2.0.2 with script/console
The Rails object has a Configuration
2006 Jun 28
6
file_column plugin. Storing files outside RAILS_ROOT
I also posted this on Rails Engines forum. Sorry for the double post.
I am trying to configure file_column plugin so that it stores the images
in a directory completely outside of RAILS_ROOT.
I have no problems in storing the files by setting :root_path option.
But I can''t get to display these images using ''url_for_file_column''.
What I get instead of the image is
2005 Jun 29
5
Dual-ISP Masq
I know this is a FAQ and that it''s been discussed much before, I''m just
looking for a few key things.
I need to setup our gateway so that traffic FROM a range of IPs is sent
out, masqueraded, via a new cable connection.
I''m running 2.6.9.
Am I going to require any of the CONNMARK patches or other patches from
http://www.ssi.bg/~ja/#routes? I''m really not sure