Displaying 5 results from an estimated 5 matches for "pagetitl".
Did you mean:
pagetitle
2005 Feb 19
5
Routing: How do I use what is left from an URL
...9;'path''). I want to be able to have very short urls for
retrieving the pages, so i have this route in my map
map.connect ''-/:title'', :controller => ''page'',
:action => ''view_by_title'', :title => nil
so when I go to /-/PageTitle it gets me the page PageTitle. Pages can
have additional path prefixes, so I can have categories. For example
"/products" or "/articles/ruby/rails". Let''s say I have lots of
categories and I have many articles in them. One is "Writing the
simplest CMS that cou...
2006 Feb 09
6
troubleshooting an observe_field
Hi,
I''ve got a live_search field in a partial that is on several different
pages. On all pages, except 1, it works fine. On the page it doesn''t work
on, it seems it never executes it action.
Here''s my observe_field code inside the partial:
<h1><label for="searchtext">Live Search:</label></h1>
<%= text_field_tag :searchtext
2008 Jan 21
2
Application error - SQL_AUTO_IS_NULL
I have a simple controller (browse) that uses a "books" action to
display a list of books (stored in a mysql db) and a "book_details"
action to display the details of a particular book (according to the
book''s mysql id). The book_details action is accessed via a link from
the books action via the following snippet:
<a href=<%=
2013 Sep 11
4
getting array of hostnames of clients
I need to get an array of hostnames of clients of the puppet server.
There doesn''t seem to be a simple way to do this so I''ve tried a few
methods.
I''ve tried a curl expression in a fact like this:
curl -s -k -H "Accept: yaml"
https://localhost:8140/production/facts_search/search?facts.nodetypet=testnodes
where I''ve got a nodetype fact which works
2008 Mar 08
9
Validation error handling on related models
I have 2 models, entity and client. Entity has_one client and client
belongs_to entity.
Entity has attributes name and legal_name. Entity also has an unique
index on (lower(name)). The pKey for both is the conventional Rails id.
Client has a fKey constraint on entity_id and is indexed in entity_id.
In controllers/clients_controller.rb I have:
# GET /clients/new
# GET /clients/new.xml