Displaying 7 results from an estimated 7 matches for "fraiha".
Did you mean:
fraid
2006 Aug 02
4
Linking to the paginated items from search results.
Using Ferret for searching, I''ve got results that I need to link to.
Which is fine, except for that they''re displayed on paginated pages
using Rails paginate function - so it''s not like I can''t get it from the
database or anything else. Anyone have any ideas on how to go about
this? It''s not so much a coding problem as a theory problem, and I
2006 Jun 03
2
Parent listing children.
My database is set up as Categories > Things associated by category_id
and has_many and belongs_to.
How would I go about listing all the categories and under each Category
is it''s children? Is there an easy rails way to do this - preferably
without using acts as tree? Any help is appreciated - thanks!
--
Posted via http://www.ruby-forum.com/.
2006 Jun 23
0
Hardbreaks and Redcloth.
There seems to be just no way to do this correctly.
I store my the RedCloth rendered (html) in a row. Lots of the strings
include something along the lines of "\n\n\n\n\n\n\n\n\n\n\n". And
whatever I do, I cannot get it to work without breaking or causing poor
format of lists (IE. an extra <br /> after each. So I ask, anyone come
up with a way they know of? Any alternative
2006 Apr 04
0
Links for authenticated users on public pages.
I made an authentication system and I''m uncertain of the best way to go
about hiding links on public pages meant for authenticated users (this
is also different for people with various privledges but this isn''t the
problem).
I only know two ways to go about this: create a helper file and write a
seperate authorization piece that verifies the user to show the URL and
add
2006 Aug 03
0
Grouping results.
What would be the best away to go about group results. For example: two
children contain the word "test" how would I get it to just display its
Parent once? Thanks for the help!
--
Posted via http://www.ruby-forum.com/.
2006 Aug 07
0
Rails fragment caching bug?
<% cache(:part => @user.id) do%> in the file controller => users, action
=> show.
Regardless if you put the action so it ends up as <% cache(:action =>
''show'', :part => @user.id) do%> or the controller, the file will come
out in "tmp>cache>`SERVER`>users>show>1.part=userid#.cache . Which is
fine except for the 1 in the cache
2006 Jun 04
6
Activerecord relations.
I''ve got two tables set up - Things and Users where Users have many
things and Things belongs to Users.
They''re connected by Things.user_id => User.id and Things.updated_by_id
=> User.id both in the Things model using Belongs_to and custom foreign
key for one of them.
Problem is when I''ve got the updated_by_id belongs_to I can''t add Things
using