Displaying 6 results from an estimated 6 matches for "jtaber".
Did you mean:
taber
2006 Jan 13
4
missing foreign key fields in scaffold views
Is there any reason that foreign key fields do not show in any of the
scaffold views ?
project table:
id serial primary key,
category_id integer,
user_id integer,
name varchar,
morestuff varchar
foreign key (category_id) references categories(id),
foreign key (user_id) references users(id)
scaffold generated views only show name, morestuff fields
2005 Dec 31
7
Application Errors w/ layout & custom view pages
1) I get Rails Application Error when trying to use layout
test_controller
def list
layout "stdlayout"
end
in the views/test/layouts stdlayout.rhtml
<html>
<head><title>test</title></head>
</body>
<h1>Test</h1>
<%= content_for_layout %>
</body>
</html>
2) I get Rails Application Error when trying to use a separate
2006 Jan 09
4
scaffold seems broken on show,edit,delete
After running generate scaffold and pointing the browser, the data list
appears correctly, the create new button works okay, but show, edit,
delete give the following error:
"Could not find Organization without an ID"
running on ubuntu breezy with postgresql - data and everything else
appears correct - any ideas?
2006 Jan 22
0
datetime_select with postgresql time field
I get errors when committing to a postgresql time field using
datetime_select discarding year,month, day. Also, year shows on my form
despite calling "discard_year=>1. Do I need a special mapping for time
fields ? Any ideas?
2006 Jan 25
0
datetime_select discard year bug?
I''m trying to have a select box for starting time. I''m using:
datetime_select(:user, :start, :discard_year=>1) but I get an error.
"discard_month=>1" seems to work but leaves the year on the form. Using
Rails 1.0 and Postgresql. Anyone having success with this?
2005 Dec 25
3
Rails + postgresql
Are there any code examples of using rails and postgresql - I cannot
seem to get a simple example working (it could be a connect problem or
an active record problem - error msg just says error. thks.
--
Posted via http://www.ruby-forum.com/.