Displaying 20 results from an estimated 3000 matches similar to: "Really OT: terms of service and privacy statements"
2005 Dec 15
3
site home page
Hi,
I have a really dumb qustion, but I can''t find an answer in "Agile Rails" or
any other hand holder. And, it is a difficult topic to search for in
google.
What controller/view is used for the home page of a site? I get how to
create new controllers, but I don''t get at all how to change content on the
home page.
thanks,
matt
On 12/14/05, Austin Ziegler
2005 Dec 25
2
offtopic: which one is faster: file or database?
hi,
this topic is not directly about rails but I wanna hear your opinions and
experience in this matter.
you know apache''s access.log .. I am using lighttpd accesslog which is same
as apache for some of my analysis. I copy the log into my database during my
analysis for soem advanced queroies and then delete it. It''s done once a day
on a non-loaded hour (5 am) so it doesnt bring
2005 Dec 29
5
Subversion graphical client?
Hi All -
I notice that most of the Rails team are using Mac OS X and TextMate for
Ruby development. I too am working on Mac OS X and trying TextMate and
(shudder?) EMacs.
I was wondering about version control. Are folks using Subversion? If
so, are they using a graphical client? Which one do they recommend?
Yours,
Jordan
--
Posted via http://www.ruby-forum.com/.
2005 Dec 15
4
Newbie questions about Rails on Windows
My background is Windows development using Visual Studio and I''m trying
to get up to speed with Ruby on Rails, so please excuse these basic
questions.
I''ve downloaded InstantRails and can run the sample application - so
Apache, MySQL, Ruby etc. are working.
Where''s the "development environment"? Where do I go to edit files,
create models and controllers
2005 Dec 24
2
Multi language pages (access @session from a model)
Hi,
I''m creating a simple Ruby on Rails based CMS. It will support multiple
languages. Therefore I''ve a table ''pages'' and a table
''page_translations''. The table ''page'' contains a title and body in the
default language, the table ''page_translations'' contain a title and body
for an other language.
Now I
2005 Dec 25
2
[repost] newbie questions
Hi all,
I''m following the shop example in ''Agile Web Development with Rails''.
I would like to extend the checkout screen, in such a way people can change
the number of items they have selected in there cart.
In my controller I have:
def checkout
@cart = find_cart
@items = @cart.items
if @items.empty?
2006 Jan 05
7
repost - Can one edit the file that generates the scaffolding.css?
I am reposting this because not only am I VERY interested in the
answer but because I think it would also be useful to many, many people.
We kind of have a house-style here, so it would be nice if the
generated scaffold.css would accommodate that. My questions are?
Is it possible?
Is it safe?
How?
bruce
2006 Jan 12
4
Domain Registration -- Private ?
The domain registration companies are pushing an add-on called ''Private Registration''
where they keep your email and other personal info secret to prevent spam. Is this a good
deal? Is it needed? Do you have it? Do you wish you did?
Warren
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2006 Jan 12
4
Granting SSH access to a Ruby on Rails user
I installed Rails and Rubygems on a web server for a customer who wants
to install a Ruby on Rails application that he developped.
He needs SSH access to interact with Ruby, so I''ll have to grant him
access, but I want him to only play around in his /home directory, as
this server also hosts other customers. How could I do that?
Thanks,
--
Posted via http://www.ruby-forum.com/.
2006 Feb 09
3
Error in prototype.js? / Enumerable.each
Hi List!
I am using the latest version of prototype.js from the SVN, including
the wonderful $$ operator to loop through a number of elements with a
certain classname. In Firefox everything works fine, no JS error, but in
IE I get an error in the .each function saying that an Object was expected.
What I do is
function initializePlugins() {
$$(".plugin").each(function(plugin) {
2005 Jun 18
9
lighthttpd mod_scgi
I see that lighttpd 1.3.14 supports SCGI.
lighttpd 1.3.14 - 2005-06-15 18:10
Changes
-------
* added SCGI support via mod_scgi
* added hash-based and round-robin load balancing to mod_proxy
* fixed range requests larger than 2Gb
* fixed compilation on Solaris
* fixed endless loops in mod_fastcgi, mod_cgi and mod_proxy
* fixed handling of URIs for ''+'' and
2005 Dec 19
2
Validation that works in the controller
Hi,
Is there a way of validating input inside the controller? or an equivalent to
ActiveRecord::Validations::ClassMethods.validates_presence_of ?
Cheers,
-- Colin
2003 Nov 28
1
Samba: 32 or 64 bit
All
Due to an application issue I need to let app support know whether the
version of Samba we are running is 32 or 64 bit. We are running Samba
2.2.8 on Solaris 8 (64 bit mode). Aplogies if this is really obvious but I
have looked many places with no luck.
It was installed from a file containing Solaris packages -
samba-2.2.8-sol8-sparc-local.gz
Screenshot of pkginfo:-
2005 Mar 21
3
routes.rb question.
I have a simple program that read all HTML files from a directory and
returns parts of the content and the file names which are HREFs to
those file.
I build the HREF string dynamicaly as PATH_TO_DOC_ROOT + "file_name".
My PATH_TO_DOC_ROOT = http://127.0.0.1:3000/docman/public/docs. So,
the final link that I am interested in might look like this:
2008 Mar 25
6
Prototype 1.6.0.2 + Firefox 3 Enumerable problems
I am using Prototype 1.6.0.2 on Firefox 3.0b4.
The following does not work when I enter it in Firebug:
$A([1,2,3,4]).each(function(n) {alert(n);});
The above is just an example. Any array, using $A and any enumerable
method, returns the following:
TypeError: iterator.bind is not a function
Seems like some objects are not being extended correctly?
Using Prototype 1.5.0 on Firefox 3.0b4, this
2005 Feb 15
5
date_select where to add "class"=>"something"
Hi,
I''ve looked on api.rubyonrails.org but I''ve not found how to add to a
date_select(object, method, options = {}) a class option to set the
class of all the select tags.
I''ve tried using "class" => "myclass" in thoose ways:
<%= date_select("costo", "data", "class" => "testo" ) %>
<%=
2005 Dec 21
5
text search engine ?
Hi there,
What are you using for text search engine in your rails applications ?
I have been using simple search for simple applications, but then I
need to search text in model instances inside collections such as
user.documents and the like. I believe that simple search does not
support any sort of ranged queries, and sql like might be overkill for
tables with lots of records.
Bests,
Sergi
2008 Dec 09
4
HABTM checkboxes insert but don't delete
I have a problem related with the HABTM relationships with checkboxes.
I''ve got a profile and a service model, both related with
has_and_belongs_to_many.
The problem is that i can insert new data in the profiles_services
table, however, i cant delete already existing data.
What could be the problem?
--~--~---------~--~----~------------~-------~--~----~
You received this message
2005 Sep 27
5
Am I misunderstanding "require_dependency"?
Hi
From what I understand about documentation about require_dependency,
this function will work like require but the file will be reloaded on
every request to the server when in development mode.
I have bootstrapped am minimal RoR project with 0.13.1 Rails. I have
created a minimal Controller and hooked up it''s "index" action at the
site root. I have also created a
2007 Feb 07
3
Upgrade to Rails 1.2.2 : RESTful routes not working anymore
Hello,
I just upgraded my app to Rails 1.2.2.
My routes are :
map.with_options :path_prefix => "/admin", :name_prefix => "admin_" do |m|
m.resources :requests, :controller => "admin/requests", :collection => {
:destroy => :delete, :search => :post } do |request|
request.resources :histories, :path_prefix =>