Displaying 5 results from an estimated 5 matches for "dimandt".
Did you mean:
demand
2006 Jun 22
5
Problems with layouts
ruby script/generate controller Tools::Search - ok
in views/layouts/application.rhtml:
<%= render_component :controller => ''tools/search'',
:action => ''searchbox'',
:params => {:context =>
''header-section''}
%>
in
2006 Jun 29
4
Multiple belongs_to
Let''s say I have a catalog with hotels. Each hotel belongs to a
category (4-star, 5-star etc.) This is it''s official category.However,
there is also a category that users assign and a category that
"independent reviewers" assign. So I have this:
hotels {
id,
category_id,
reviewer_category,
user_category
}
categories {
id,
name
}
class Hotel <
2006 Jun 25
7
Unicode HOWTO?
I am disappointed about the (seeming) lack of Unicode support in Rails.
Is there a howto about working the most important limitations? For
example, figuring out the length of an entered word: "???".length() will
return 6, not 3. So if there is a maximum number of characters a user is
allowed to enter, this won''t work as it should -- it treats strings as
byte arrays instead
2006 Jun 19
0
Extending Prototype
An amazing overview of Ajax Frameworks can be found here:
http://www.maxkiesler.com/index.php/weblog/comments/round_up_of_50_ajax_toolkits_and_frameworks/
One framework that sticks out is Echo2 for Java
(http://www.nextapp.com/platform/echo2/echo/). I still can''t believe
what it can do even though I played with demos for two hours straight.
I wonder if there is anyone out there crazy
2006 Jun 20
0
Rendering multiple actions
I''ve had like two hours with Rails so far :) So pardon me for being a
total newbie.
Once a site grows larger, it needs to render a lot of content on any
particular page. For instance, a news box, a "last forum posts" box,
main content, a "related links" box etc. etc. It gets even worse if
it''s a sort of search/informational/portal thing of sorts.
So my