Displaying 2 results from an estimated 2 matches for "jaever".
Did you mean:
jaeger
2006 Jun 23
7
find_by_sql, can''t print results
I am a little stuck with getting an sql result into my page. I want to
run a select distinct that returns all of the different sections
available and displays this as a form select. In my controller I have:
def edit
@resource = Resource.find(params[:id])
@sections = Resource.find_by_sql "SELECT DISTINCT
resources.section FROM resources"
end
And then in my view I have:
<%
2006 Jun 16
5
Application Error
Hi Folks,
When I have tried this cookbook example from onLamp tutorial,
I got some error like this,
output of development.log is
----------
Permission denied -
/var/www/html/cookbook/public/../config/../tmp/sessions//rub
y_sess.d51d8997edf6be91
only the first line of output is this,
output truncated.
---------
what it will be ?
How to solve this ?
In my browser, I am getting Applicaiton