Displaying 5 results from an estimated 5 matches for "willjessup".
2006 Apr 16
7
table sorting
Ahoy,
I checked the API and did some forum searches but didn''t find anything
good on table sorting.
Is there a "railish" way to do this? My current method really is lacking
(i''m on like rails day 2)
<th><%= link_to ''Name'', :action => ''list'', :order => ''name'' %></th>
2006 Apr 17
6
acts_as_taggable confused
Ahoy,
So i''ve installed the acts_as_taggable module and everything is fine,
but i''m a bit confused about this bit of code described in the API
"photo = Photo.new
# splits and adds to the tags collection
photo.tag "wine beer alcohol"
# don''t need to split since it''s an array, but replaces the tags
collection
# trailing and leading
2006 Apr 16
11
Best way to sort categories w/ pager
Ahoy,
I made this pager,
" def list
@item_pages = Paginator.new self, Item.count, 10, @params[''page'']
@items = Item.find :all, :conditions => "category_id =
#{params[:condition]}",
:limit => @item_pages.items_per_page,
:offset => @item_pages.current.offset
@categories = Category.find_all
2006 Apr 15
7
New to rails - scaffold command , how to get related items?
Ahoy,
I was able to follow the tutorials and build a simple to-do list program
with Items and Categories and have the related tables link up w/ the
default "scaffold :Items" command plus custom defenitions.
Then I erased all of that and tried rebuilding the program using the
ruby script/generate scaffold Item (and category) command.
Now the templates look like
"
<% for
2006 Apr 21
5
installing hieraki help
Ahoy,
I tried to install hieraki and it was a big mess.
1) upload_progress module needed to be installed
2) no test/development server configured in the config file so i had to
add those
3) no log directory, had to add that
4) had to install 2 gems (ok fine)
5) once the server started, go to homepage and
" NameError in Wiki/pageController#index
uninitialized constant Node
RAILS_ROOT: