similar to: can i safely delete "componets/" ?

Displaying 20 results from an estimated 200000 matches similar to: "can i safely delete "componets/" ?"

2011 May 29
3
After compiling Wine which files can I delete safely?
Hi, I've been trying to track down the version of Wine that a bug first appeared. I've downloaded each Wine source, compiled them, and am running the application from their build directory. It's no surprise that I'm slowly running out of disk space. I'd like to keep the build directories for further testing. What files can I remove safely? Has anyone written a script for
2006 Jul 07
5
Can a route require POST or GET? / REST problem with routing
Hi, A store front a customer wants to GET /product/5/show. But for the application this is really GET /cart_item/new/5 or even better /cart_item/new?cart_item[product_id]=5 When the customer clicks add_to_cart they POST /product/5/show so that the url doesn''t confuse the user when any validation errors occur. But for the applicaiton this should be POST
2006 Jan 26
8
switching to edge rails
Hi, I want to start using has_many :through. I think that eventually I''ll be removing all uses has_and_belongs_to_many from my project. Here is my situation I''m using SVN I want to use edge rails Reading the wiki about switching to edge rails[1], I can''t figure out which combination of subsections I must perform. Do I want edge rails to reside in the vendor
2006 Apr 26
3
catch all error for incorrect urls etc
Hi, I am changing a very standard old school website to rails. When I make the change to rails, all of the old urls will not be valid. If a person has a bookmark to an old web page I would like them to be directed to the front page of the new website www.domain.com. How do I do this? Do I do something in routes.rb? Thanks, Peter
2006 Apr 01
4
problems getting ActionMailer working (on server)
Hi, I''ve read the Agile Rails book''s chapter on ActionMailer a few times. Seems pretty straight forward. Unfortunately I can''t get my application to actually send mail. I uploaded my application to the web server and tried to get a mail message sent. Nothing happened. I looked in the log file and it says Sent mail: From: service@freedomkilts.com To:
2006 Jan 23
4
an image that is a clickable link?
Hi, How do I make an image that is a clickable link the rails way? Is there a view helper for this? Thanks, Peter
2006 Apr 26
10
save new model with child model
Hi, I am having a problem saving a new model that has an associated child model. If a new ticket is being created and will have one comment to go with it then I tried this in my action @ticket = Ticket.new(params[:ticket]) @comment = Comment.new(params[:comment]) @ticket.comments << @comment if @ticket.save @notice = "Ticket added. Thanks for
2006 Mar 22
14
currency conversion webservice in a rails app?
Hi, I''m interested in using a currency conversion web service in my rails app. Does anyone have a free service that they use and like? I found this one http://www.webservicex.net/WS/WSDetails.aspx?CATID=2&WSID=10 I''ve tried to make a simple, plain Ruby script to connect to this and get a conversion rate without success. How do I integrate a webservice into my rails app? I
2006 Jan 19
7
validates_numericality_of positive integer
Hi, What is the simplest way to validate a positive integer? validates_numericality_of :foo, :integer_only => true how do I add the positive part? Do I need another validation statement for pattern matching or do I have to write a validate() funciton for my model? Thanks, Peter
2006 Oct 09
2
How can I delete components in a column ?
Hi all R-helpers, i am a new R-user and have problem with deleting some components in a column. I have a dataset like Name Id x empty 2 empty 3 a none 2 b none 3 d none 2 ad cfh 4 bf cdt 5 empty 2 empty 2 gf cdh 4 d none 5 and want to
2007 Jan 02
1
How to extract the variance componets from lme
Here is a piece of code fitting a model to a (part) of a dataset, just for illustration. I can extract the random interaction and the residual variance in group meth==1 using VarCorr, but how do I get the other residual variance? Is there any way to get the other variances in numerical form directly - it seems a litte contraintuitive to use "as.numeric" when extracting estimates,
2006 Jan 15
4
model helper location
Hi, I''m looking at the rails cookbook for uploading files[1]. At the bottom of the page it says that the sanitize_filename functioin would probably go in a helper or a library. I wonder where these files would be or what they would be called. Pehaps there are some conventions I need to know about? Thanks, Peter [1] http://manuals.rubyonrails.com/read/chapter/78
2006 Jan 15
2
scaffold suddenly pluralizing names
I haven''t updated rails today and all of a sudden scaffold is pluralizing my names ruby script/generate scaffold Admin::Category produces class Admin::CategoriesController < ApplicationController Do I really want "CategoriesController" instead of "CategoryController"? Thanks, Peter
2006 Feb 09
2
_marker in dragdrop.js
Hi, I''ve been confused about the purpose of _marker in dragdrop.js for quite a while. It doesn''t really look like it does anything with ghosting on or off. I removed the mark method and didn''t discover any problems. Is all the mark business a relic from some past idea? Thanks, Peter
2006 Jan 15
2
removing old rails docs after updating rails
Hi, When I start gem_server and look at localhost:8808 I can see multiple version of actionpack, activerecord etc. Is there a command to delete the old documentation after I update rails? Thanks, Peter
2006 Mar 08
12
favorite FTP client of railers
Hi, Which FTP client would fit in nicely with OS X and Textmate. Thanks, Peter
2006 May 27
5
ActiveSupport JSON working?
Hi, I am trying to convert a hash to JSON using ActiveSupports built in .to_json. I am doing similar to the example below but are there certain strings that could go in place of ''bar'' or ''rez'' that will break the to_json method? I am using a very long string from rjs output in place of ''bar''. Perhaps .to_json is not ready yet? Thanks, Peter
2006 Feb 18
44
I forgot. Why do we hate* Java?
Hi, I''ve started reading some Java books. Gasp! What makes website development with Java so bad? I haven''t looked at Struts but I''m reading about Hibernate. Compared to ActiveRecord, Hibernate seems like some extra typing to explicitly define the model fields, getters and setters. I know that these are things that you can do in ActiveRecord when things get complicated
2006 May 21
3
First try with lighttpd
Hi, I have a Rails application sitting on my computer that works just fine with webrick. I would like to try to serve it locally with lighttpd I followed the instructions on the hivelogic site for installing lighttpd http://hivelogic.com/articles/2005/12/01/ruby_rails_lighttpd_mysql_tiger Then I looked on page 457 in the Agile Rails book for instructions about configuring the rails app for
2006 May 18
1
RE: Rails-spinoffs Digest, Vol 12, Issue 29
Issue 1: <%= @pic %> instead of <% @pic %> -----Original Message----- From: rails-spinoffs-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org [mailto:rails-spinoffs-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org] On Behalf Of rails-spinoffs-request-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org Sent: Wednesday, May 17, 2006 11:13 PM To: