Displaying 5 results from an estimated 5 matches for "saynatkari".
2005 Dec 15
3
save and save! fail but no errors are created
Hi
I will provide code if needed but I am wondering
if there might be a standard cause for this: a
Model I am trying to save seems to fail miserably
at either a #save or #save! call. In the latter
case, a RecordInvalid is raised, but when I inspect
it, the Errors object does not contain any error
messages (full or otherwise). I have tried many
a way but I can not seem to get any error info.
Are
2005 Dec 16
10
Associative arrays
I just started playing with rails this week and am working on porting our
existing website to rails
in our navigation we have a list that has the days of the week that link to
the articles for those days.
this seems to be working when I had it in the template it would give me the
array I was looking for so I decided to move it to the helper so that I
could use it on all my templates.
2005 Dec 14
3
Advanced routing question.
Hello All,
I''m making a quick application that tracks outgoing links to referral
sites. I need to track the user and the url they went to so the
easiest way would be to take the entire url as a parameter and log
that into the database. I was wondering if I could do something like
this with routing:
http://www.example.com/user/jump/http://www.myvendor.com/referral.php?
2005 Dec 18
5
restarting fastCGI process
Hi, I am very new to this so please go easy on me... I am trying to
deploy my app on dreamhost and I seem to be having problems getting it
working. One of the troubleshooting items on the wiki states:
Rails apps in production mode do not reflect changes made after they
start running. So, if you found a bug, fixed it and nothing appeared to
happen--this is probably because you
2005 Dec 15
11
CGI Module in Rails
I''m trying to use the CGI module to generate the html in a view but am
having trouble. My controller looks like:
class MyTestController < ApplicationController
def cgitest
require ''cgi''
@cgi=CGI.new("html3")
end
end
My cgitest.rhtml view document simply has:
<%= @cgi.out{@cgi.html{@cgi.head{}}} %>
Loading MyTest/cgitest, Rails tells me that