Displaying 11 results from an estimated 11 matches for "novess".
Did you mean:
novels
2006 May 09
9
Active Record HELP!!!!!
Hello,
Can someone kindly tell what the heck creating a relationship does in
active record?
I understand the idea of joining the tables and such. But how do I use
it? Is it available in a scaffold? How about when I want to view a
record and want to see all the joined data from the other table? Do I
have to manually code the data I want from the other table? Does this
automatically make the
2006 Apr 03
2
undefined method `scaffold'' for #<LocationsController:0xb7a9e858>
Would anybody know why I get this error from this bit of code:
class LocationsController < ApplicationController
def index
scaffold :locations
end
end
This is the way that is demonstrated in the screencast for creating a
quick scaffold. I have done this before. However, I come back to
working with Ruby after about a month on something else and now it
gives this error.
Any
2006 Apr 04
2
How can I stop view caching?
Does anybody know how to stop the caching for views?
I''m using Lighttpd with fcgi. Every time I make a change to the HTML in
a view, I have to restart lighttpd before I can see the result of the
change. I understand that the page is is compiled until it sees the
modification date has changed. However, I am working on a Linux machine
and editing the files on a Samba mount from my Mac
2006 Apr 17
6
Is there anyway to make Rails NOT cache?
Is there anyway to make Rails NOT cache? I''m getting caching in the
browser and the server.
I have to restart Lighttpd after every view change to see the results.
Thanks,
phill
2006 May 18
6
Newbie:problem when using validates*
Hi,
I have performed the cookbook tutorial. Before tailoring the views and
controllers, when I put in the model recipe.rb:
validates_uniqueness_of :title
validates_length_of :title, :within => 1...20
And I tried to introduce some new recipe without the above conditions I
got the message:
---------------------------------------------------
New recipe
1 error prohibited this category from
2006 Dec 04
1
Mongrel and Mongrel Cluster Library LoadErrors
Hello,
I''m a noobie to Rails and even more to mongrel. I have an issue with
one server that I''ve installed mongrel. Its a Fedora Core 5 box, and
it is having problems loading the Oracle OCI8 libraries. However,
this only occurs when I use mongrel_cluster, or mongrel with out the -
d switch. I have no problem using the library from the commandline
and with Webrick or
2006 Sep 27
0
NET::LDAP Help Anyone? Maybe session Help? Bring my server to it's knees Help?
...neric error. I suspect it''s
related to the object returned is not compatible with the
marshal_dump. So the question is how do I copy the values from the
result set into my session object? Sorry if this is a stupid noobie
question but I am one so. :)
Thanks in advance.
Phill
Phillip Novess
http://primalart.net
pnovess-ee4meeAH724@public.gmane.org
970-227-7626
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk-/...
2006 Nov 04
0
How to paginate a find_by_sql query?
...Unfortunately
I need to paginate a query which is next to impossible for
ActiveRecord or just too much of a pain to implement. So I''m using
find_by_sql. However, I anticipate a large number of rows returned
eventually. So I may need paginate.
Does anyone know how?
Thanks
Phillip Novess
http://primalart.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20061012/bc550598/attachment.html
2006 May 15
0
collection_select and API docs questions
Hello,
I''m wondering where in the docs am I suppose to find a complete list of
options for the collection_select helper?
For instance the API docs have an example for the select helper as
below:
select("post", "person_id", Person.find_all.collect {|p| [ p.name,
p.id ] }, { :include_blank => true })
Where the heck do I find valid values for the options and
2006 May 15
2
collection_select and validation problems
I keep getting the error below when I use validations with
collection_select.
You have a nil object when you didn''t expect it!
You might have expected an instance of Array.
The error occured while evaluating nil.inject
Extracted source (around line #22):
19: <td>Vendor</td>
20: <td>
21: <!-- vendors -->
22: <%=
2006 Apr 17
0
Trailing Slash Issues
Hello,
I''m using Lighttpd and I am having problems with links like this:
http://mydomain.com/controller
If I do not add the trailing slash it downloads the dispatch,fcgi as a
file.
Here is the lighttpd.conf
#
# Server Main Config
#
#include "lighttpd-inc.conf"
server.modules = ("mod_rewrite", "mod_accesslog", "mod_fastcgi")
server.port =