Displaying 6 results from an estimated 6 matches for "szbeam".
Did you mean:
sbeam
2007 May 30
3
how to create a simple DHTML dialog
I am looking to create a simple dialog window like this on a page:
http://developer.yahoo.com/yui/examples/container/simpledialog/2.html
I know scriptaculous comes with Rails, not YUI, but I can''t find
anything similar there. Is there any shortcut to doing this with
existing plugins or core stuff?, or must I download another toolkit?
thanks
Sam
2007 Sep 04
2
backgroundrb install issue
I installed backgroundrb v0.2.1 via svn external per the README. But
when I go to start ''er up I get:
$ ./script/backgroundrb start
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`gem_original_require'': no such file to load -- daemons (LoadError)
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`require''
from
2007 Apr 30
1
collection_select - prepending a "any" option
Say I have a normal <SELECT> tag being generated thusly:
<%= collection_select :task, :id, Task.find(:all), :id, :name %>
what is the easiest way to add a "ANY" option to the top of the option
list? I know Task.find(:all) returns a collection object, so is there
a unshift() for that?
well OK I tried:
Task.find(:all).unshift([:id=>0,
2007 May 04
1
habtm and also has_many of the same things
Hi,
our app is a situation where users can upload files and also mark files
uploaded by other users as their favorites. So for the favorites we are
using a simple many-to-many with a tie table.
So in attempting that it looks like
class User < ActiveRecord::Base
has_and_belongs_to_many :media_file
has_many :media_file
end
class MediaFile < ActiveRecord::Base
2007 May 05
0
acts_as_attachment - no thumbnails?
the full-size pics upload OK, but no thumbs or resizing. There are no
errors or exceptions that I can see, just not getting any thumbnails.
The DB column ''thumbnail'' is always NULL
rmagick-1.15.6 is freshly installed.
I have the :thumbnails stuff setup per
http://weblog.techno-weenie.net/articles/acts_as_attachment/thumbnailing
using a model like this:
class EventPic
2007 Jun 20
0
gnarly permission issue using fcgi
deploying a Rails app for the first time on a mediatemple (dv) server
using capistrano and fcgi
everything looks OK but when I go to access the app, I get 500 errors
with things like
/usr/lib/ruby/1.8/fileutils.rb:1246:in `initialize'': Permission
denied - /var/www/vhosts/xxxxxxx.com/app/current/public/../config/../public/stylesheets/dhtml_calendar/demo.css
(Errno::EACCES)
these