Displaying 20 results from an estimated 5000 matches similar to: "Capistrano Documentation"
2006 Jun 13
11
markaby
What''s the current status of Markaby? I''ve played with it a bit and
love it and am considering using it for a large project I''m starting.
If you''ve used it, I''d love to hear your comments!
Jamie
2006 Jul 22
5
Prototype error. replace content inside a <TR> in IE
Does anyone know of a fix for the issue with prototype and replacing
table rows in IE?
render :update do |page|
page.replace "row_#{params[:id]}", :partial =>
''wireless_request/wrequest'', :locals => {:wrequest => @wrequest}
end
This ends up making IE throw an "rjs error [object error]"
Searching around I found a couple of posts about
2005 Oct 04
5
sorting
I just want to confirm that it''s *not* possible to sort <tr>s in
tables....
Jamie
2006 Jun 26
8
[Semi OT] BlindDown and a floated div
I am using the drop shadow technique described at
http://www.1976design.com/blog/archive/2003/11/14/shadows/ to give
several of my divs drop shadows. That part works fine.
What doesn''t work so well is when I try to BlindDown a div in Firefox
and it ends up ignoring the content below it and just overlapping it.
In IE this problem does not occur. In Firefox the overlapping does
2006 Jun 15
8
Markaby Installation Issues
Ok,
So I followed the directions.. I did a ''gem install markaby'' (which sounds
like its enough to get me going for rails), but I wasn''t sure, so I tried to
install the plugin as well.
Plugin installation fails looking for a file:
Script/plugin install http://code.whytheluckystiff.net/svn/markaby/trunk
Outputs this error:
+ ./trunk/svnindex.xsl
2005 Oct 03
3
Sortable and the Server
I want to build a sortable list that updates the server when the item
is dropped into its new position. How to create a sortable list is
clear, but I''m looking for an example of how to integrate this with
the server side. Are there any examples or tutorials around? I''m
working in a java environment.
Thanks,
Jamie
2006 Jul 02
2
:include breaks has_many :order
It would appear that using :include on a model that has_many with an
:order on another model makes it so that the order is ignored. Is this
supposed to happen? Strikes me as odd behavior.
For example
class Farmer < ActiveRecord::Base
has_many :cows, :order => ''position''
end
class Cow < ActiveRecord::Base
acts_as_list :scope => :farmer
end
If I do
2007 Mar 04
6
FreeBSD 6.1 mongrel_cluster and procfs message
I''m running the latest mongrel (1.0.1) and the latest mongrel_cluster
(1.0.1.1) on FreeBSD 6.1.
When I use capistrano to try to stop or restart my cluster I get this
(partial) output:
ps: Process environment requires procfs(5)
And my Mongrel processes haven''t stopped.
Any ideas?
Thanks,
Jamie
2005 Oct 13
6
performance
I''ve got a page I''ve implemented a bunch of observables and
sortables. There are around 330 items in the list. The Observables
(for hide/show of sublists) don''t seem to impact performance, but the
Sortables take a very long time to load when the page is refreshed or
submitted--even after accounting for the server-side processing and
latency. I''ve
2006 Jul 31
3
programmer needed (paying work)
hello,
I''m currently looking for a html/css/ajax/rails programmer. if your
interested please email neumanc@gmail.com. I have paying work, will pay
via check, money order, paypal or credit card.
I''m not sure if I can post this here or not. if not, please remove and
email me a warning as I did not see any rules on signup. Thanks
--
Posted via http://www.ruby-forum.com/.
2006 Jun 20
2
Validation error_messages_for problem
I am having trouble getting error_messages_for to work.
My controller(relevant parts) looks like
def configure
@account = session[:account]
@user = User.new
end
def add_new_user_to_account
@user = User.new(params[:user])
if @user.valid?
session[:account].users << @user
end
redirect_to :action=> ''configure''
end
end
and my
2006 Apr 04
2
typo 2.6.0 with vendor/rails
I noticed that the 2.6.0 Typo with vendor/rails has only migration
scripts numbered 1 to 9, while the tagged branch of 2.6.0 Typo has
migrations numbered 0 to 24. I haven''t seen any notes about this.
Anyone know what''s up?
2006 Jul 16
7
RJS and Action Renders but page doesn''t update
All,
I am trying to perform a simple ajax task and am having some difficulties with the page showing the response. The action performs, but no response on the page.
I have found examples on the web and I believe I have copied and pasted exactly what works from the demo site. However, on my system it isn''t finishing. For a simple test, I have limited it down to an alert.
2006 Jun 19
6
SQL Search Qustion
I am working on writing a search method where a user can type a string
of words and I return all the objects that have fields that match all of
the words in one or a combination of fields.
Person
first_name
last_name
Pet
name
Person has_many :pets
I want to write some SQL so that if I search for "Tony AAAA" I will get
all the people who have Tony and AAA either in their
2006 Jul 31
4
RJS to find an element
I''m trying to implement a remove from cart method based on the
examples in the second edition Agile book. I have everything working
except for the RJS that removes items from the cart. Ideally what
I''d like to do is highlight an element that I am deleting only if
there is more than one of that particular item in the cart. If the
item deleted is the only of
2007 Sep 21
3
Standardize environment between specs containing class defs
I have some specs that involve the use of eval and class definitions to
test code generation. I want to always start with a clean slate so none
of my tests fail or succeed incorrectly due to artifacts left over from
previous specs.
Example of my situation
Spec 1 defines
class Fish
class Cod < Fish
Spec 2 defines
class Animal
class Cod < Animal
In this situation the
2007 Feb 03
1
How can I bypass caching for some users
I have action caching setup for several actions of an application but I
want the caching to only run for my administrators and have all other
users see non-cached pages. Is there a way to do this? Perhaps
something like passing a block to caches_action or setting some sort of
flag in my authentication method? If this is not possible with action
or fragment caching does anyone know of a
2006 Aug 02
7
form_for not working with Markaby
I''m playing around with Markaby and I decided to write a little blog app.
I''m running into issues with forms however. If I use form_for the output of
the form gets swallowed. For example:
form_for :article, @article do |f|
f.text_field :title
f.check_box :published
f.text_area :description
f.text_field :pub_date
f.text_area :content
end
gets rendered as an empty form
2005 Oct 15
3
latest prototype breaks toggle
I''ve found that when I revert this change, toggle works again.
Otherwise, it''s broken (Mac OS Tiger, Safari and Firefox):
- element.style.display =
- (element.style.display == ''none'' ? '''' : ''none'');
+ Element[Element.visible(element) ? ''show'' : ''hide''](element);
I looked
2006 Jun 23
10
Don''t un-admin the last administrator
I have a User class with a field called admin which is a boolean that
determines if the user is or is not an administrator. I want to make it
impossible for the last administrator for an account to be removed from
the system.
I need to protect against this both when deleting a user and when
editing a user as you can revoke a user''s administrator privileges via a
form.
User