search for: druse

Displaying 19 results from an estimated 19 matches for "druse".

Did you mean: kruse
2006 Oct 16
10
Sorting by score
Hi I think this is a very easy question but here goes: I want to sort my results by a boolean field and then by score, I thought this would be a default configuration but apparently not. sort_fields = [] sort_fields << Ferret::Search::SortField.new(:sponsored, :reverse => :true) that is my current code, how do iu alter it so that the results are then sorted by highest score first?
2006 May 11
3
How do i open link to a new winow?
Pretty simple question right? can''t seem to figure it out. -- Posted via http://www.ruby-forum.com/.
2006 Mar 13
6
noob question!! auto fill forms
I''ve been using rails for about 3 months and have a pretty cool app going, but i need to auto-fill some form data. is this possible? i would think so. well anybody to lend me a helping hand, much appreciated. -- Posted via http://www.ruby-forum.com/.
2006 May 03
3
which database to use???
Hello all, i''ve been coding rails now for a few months and seem to always run into problems with the database i''m using. i''m using mysql 5.0 with the query browser, alsom i''m on an iMac intel. so what is the best setup? any ideas would be greatly apprectiated. -- Posted via http://www.ruby-forum.com/.
2006 May 22
5
download manager?? anyone?
Hello all, i have been searching for some time now on how to upload files and then display them to be downloaded, haven''t had any luck. it seems all the documentation is for uploading and displaying pictures. is this the same thing? i''m lost... any help would be greatly appreciated. Jon -- Posted via http://www.ruby-forum.com/.
2006 Apr 26
3
re-sizing pictures.....
So i followed the steps in the agile development book and everything is working just fine... i even added a few new functions to list and manage the pics. but what if i start uploading big pics? i don''t want to have huge desk-top size pics taking up the whole page all the time. right? so does anyone have a sort-of thumbnail thing they''d be willing to share? any help would
2007 May 22
1
Bug in Ferret::Search::SortField::SCORE ??
i have been trying to get this to work for a while now. my controller is sort = [ Ferret::Search::SortField::SCORE_REV ] @results = Record.multi_search(params[:search_terms], [ Link, Post, Event ], {:limit => :all, :sort => sort }) and in my view i just render a conglomeration of the appropriate partials for each model. it seems that no matter what i do, i can''t get the
2006 Mar 14
2
noob question about find()??
could anyone tell me why this doesn''t work??? <%= select(:schedule, :employee_name, Employee.find(:all, :order => ''last_name ASC'').collect {|p| [p.first_name, p.last_name] }, { :include_blank => ''true'' }) %></p> i mean it works half way, only the first name is displayed.. i''ve been at it for a while now.. the answer is
2007 Jan 02
1
Why doesn't any ajax work on my linux/lighttpd server
hello all! so i''ve got my app running great with sortable lists, fading objects and what not. but when i upload everything to my fedora core 5 server running lighttpd, all the ajax stuff doesn''t work. has anyone experienced the same problem? any info would be very appreciated! thank! Jon -- Posted via http://www.ruby-forum.com/.
2006 Mar 17
4
Noob question about the "show" function
i''ve got a cool app going and it''s getting bigger and bigger, but now i''m trying to customize the show function. i''m using the scaffold code as a base but can''t seem to get anything to look right. i guess i''m confused about how exactly the scaffold code works for the "show" function. any help would be awesome! thanks. jon --
2006 Mar 09
7
how to make two forms on the same page???
I can get the forms to be displayed, but i want to have only one "create" button. i''ve tried everything i can think of... -- Posted via http://www.ruby-forum.com/.
2006 Mar 28
5
Anyone use .uniq! ???
could anyone by chance give me a working example of the .uniq! method? i''ve been trying all day. any help would be much appreciated! jon -- Posted via http://www.ruby-forum.com/.
2006 May 10
8
E-mail validtor??
Does anyone have a good working e-mail validator? or even some regexp to make the validates_format_of work right... that would be awesome. Also, maybe an online tutorial for regexp. i''ve always been afraid of it but i think it''s time to face the fears. thanks! -- Posted via http://www.ruby-forum.com/.
2006 Jul 06
1
finding the current controller???
hello all, here''s the code from my layout <% if controller = @admin then %> <li class="selected"><%= link_to ''Home'', :controller => ''admin'' %></li> <% else %> <li><%= link_to ''Home'', :controller => ''admin'' %></li> <% end %> if anyone
2006 Jun 08
0
Pictures in selection lists????
Is this even possible? Any help would be awesome! thanks... -- Posted via http://www.ruby-forum.com/.
2006 Mar 03
0
multiple checkboxes from another sql table
can i take info from an sql table and make check boxes out of it? -- Posted via http://www.ruby-forum.com/.
2006 Aug 04
0
Show who''s logged in???
Hello all, i''ve got a pretty cool app going for a private high school, kinda of a one-stop-shop for all their web needs. but i ran into a problem, how do i, when i user logs in, change their login_status? and then when they logout, change it back? i''m using the login generator if that helps at all. Thanks! -- Posted via http://www.ruby-forum.com/.
2006 Jun 22
4
rendering partials in layouts?
Hello all, Forgive me if this is a really stupid question. How do you render partials in a layout? It''s probably way easier than i believe it to be. thanks! -- Posted via http://www.ruby-forum.com/.
2006 Aug 17
4
Am i going crazy?!
Could someone please tell me why this is not working? See these are events, and when the "start_date" of each event goes by into yesterday, i want it to automatically be "archived", or set the active field to "0" this is what i''ve written so far, there''s no errors when i load it but it doesn''t actually change anything in the database. if