Displaying 12 results from an estimated 12 matches for "bianster".
2006 Jan 09
5
form with more than 1 file upload field saves 0 byte file for 1 file field
Im using the file_column plugin to upload files from my application. The
problem I am encountering is that I have a form with 2 file upload fields
and when I submnit that form with files selected, I would get a message from
the browser(Firefox) saying that a script on the page is taking a long time
to execute and whether I want to cancel it or continue. Whichever option I
choose, only 1 file(PDF)
2006 Jul 31
6
Unable to install Gems with RubyGems on Intel OSX with DarwinPorts
I followed Duncan Davidson''s Sandboxing Rails with Darwin Ports guide and
everything went fine up till the part where I had to install gems using gem
install. I would get this stacktrace:
Attempting local installation of ''rake''
Local gem file not found: rake*.gem
Attempting remote installation of ''rake''
2006 May 15
5
Finding out the file attributes in FileColumn models
Is there a way to find out the attributes that have been passed to
file_column in models? I''ve looked through the source and it seems that the
file_column methods are generated at runtime but there''s actually no class
or instance variable that hold the file attribute.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2006 Feb 14
6
Multiple associations to the same class
Hi,
I cannot seem to create associations like this:
class Project < ActiveRecord::Base
belongs_to :manager, :class_name => ''User'', :foreign_key => ''manager''
belongs_to :liaison, :class_name => ''User'', :foreign_key => ''liaison''
end
p = Project.new
p.manager
=> 1
trying to retrieve associated objects
2006 Jun 09
1
Organising singapore.rb
I''m toying with the idea of organising a Ruby User Group for Singapore,
hence, singapore.rb. I just want to find out who would be interested in
participating in this. Also, I would really appreciate pointers on
organising something like this.
--
Practical_Guile::Clever_Tagline::Pending
http://practicalguile.com
-------------- next part --------------
An HTML attachment was scrubbed...
2006 Mar 08
2
Rake error after installing Capistrano
After I uninstalled SwitchTower and installed Capistrano, I tried run rake
--tasks and got the error message below:
rake aborted!
undefined method `namespace'' for #<Object:0x28a9258>
./rakefile:10
I''ve run "cap -A ." on my Rails application before running rake --tasks. The
same thing happens when I overwrite my copy of deploy.rb.
Hmm, what could be going wrong
2006 Feb 08
0
SwitchTower deployment hangs after HTTP Auth
I moved my Dreamhost respository to the web accessible one yesterday and
tried to deploy to the production server after updating the relevant config
parameters in deploy.rb. However, the deploy process just hangs after
suppying auth credentials. I''ve attached the output below:
loading configuration c:/ruby/lib/ruby/gems/1.8/gems/switchtower-0.10.0
/lib/swit
chtower/recipes/standard.rb
2005 Dec 29
0
asset host and link_to
i've defined an asset host for my Rails app and all files uploaded through
it are accessed via the asset host. How should i access the config object in
order to generate correct urls for these files using link_to?
_______________________________________________
Rails mailing list
Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
http://lists.rubyonrails.org/mailman/listinfo/rails
2005 Dec 29
0
reworking controllers
is there a relatively painless way of moving existing controllers into
modules other than manually creating directories and copying/pasting code
from the the affected controllers into the new files?
_______________________________________________
Rails mailing list
Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
http://lists.rubyonrails.org/mailman/listinfo/rails
2007 Aug 02
0
Deserializing objects in the controller
I''ve an AR model that serializes another object (A), which does not
inherit from ActiveRecord::Base. The problem I''m facing is that while
A can be deserialized properly in script/console, it deserializes as
YAML::Object in the controller. This means that the methods on A are
not available on the deserialized instance and I receive NoMethodError
messages.
I''ve tried to
2006 Mar 01
4
SwitchTower deployment has errors with different :db server
When I define :db to be a different server than either :web or :app, and run
"rake deploy". Switchtower will abort with an Net::SSH::AuthenticationFailed
error. The version of Switchtower I''m using is 1.0.0 and the deploy task is
the default supplied with Switchtowe.
However, I dont have any problem when :db is changed to the same as :web and
:app.
-------------- next part
2006 Jan 04
2
SwitchTower deployment
I''ve been trying to configure SwitchTower to perform deployment of my app to
a Dreamhost server. I can run rake remote_exec ACTION=setup just fine but
rake deploy keeps giving me errors when its checking out the latest revision
from the Subversion repository on the same Dreamhost server. It displays
errors like this:
loading configuration c:/ruby/lib/ruby/gems/1.8/gems/switchtower-0.1