search for: article_author

Displaying 2 results from an estimated 2 matches for "article_author".

2006 Jun 30
5
If / Else Form layout question.
...t;br/> <%= text_field ''article'', ''title'' %></p> <p><label for="article_body">Body</label><br/> <%= text_area ''article'', ''body'' %></p> <p><label for="article_author">Author</label><br/> <%= if ?????? #if new record page, insert the logged in users name text_field ''article'', ''author'', ''value'' => @username.name, ''disabled'' => ''disabled''...
2007 Aug 02
2
STI functionality, but then with multiple tables
Hello, I''m creating my own Tumblr [tumblr.com] like rails app. It''s like a blog, but in this case a blog post could be of a certain type, i.e. a regular post, a video, a link, a photo, a song(info). Well now, it''s clear that they share a lot of similar functionality: title, created_at/updated_at, commentable, probably has an author_id, etc.. But besides that they are