Displaying 7 results from an estimated 7 matches for "weirdmonkey".
2006 Mar 22
9
Display problem
hey guys,
Does anyone know why the french letter "?" is displayed as a question
mark "?" inside an <h1> tag ?
--
Posted via http://www.ruby-forum.com/.
2006 Mar 29
6
Pagination ...
Hey,
I have a CMS I am building right now and I would like to my articles to
split in many pages.
Here is what I want to do:
Once the article reaches 150 words or so it create a link to Page 2 of
the article and, on page 2, it displays the rest of the article...
How can I do that ?
(note that you explain this to a beginner :)
Thank you!
--
Posted via http://www.ruby-forum.com/.
2006 Mar 22
3
Limiting the number of caracter displayed
Hi!
I have a list of items with description but would like to show only the
first words of the description and link to the full item detail page.
How can I do that ?
Thank you!
--
Posted via http://www.ruby-forum.com/.
2006 Mar 23
2
Displaying only titles that starts with a defined caracter.
Hi,
I would like to know how to display only titles of products that starts
with a defined letter (ie: titles that begin with A)
Here is the method that I use to place all titles in alphabetical order:
class Livre < ActiveRecord::Base
validates_presence_of :titre;
def self.alpha
find( :all,
:order => "titre ASC"
)
end
end
2006 Mar 19
3
Multiple website section = multiple controllers ?
Hi!
I am totally new to ruby on rails and dynamic website creation (never
done php or asp).
I am reading "Agile Web Development with Rails" by D.Thomas, and I am
wondering if I need to create multiple scaffold and controllers to be
able to create a really basic CMS.
Part of the website needed:
-http://www.domain.com/
-http://www.domain.com/about/
-http://www.domain.com/articles/
2006 Mar 31
5
Titles in URL ?
Hi!
I have an article website and would like to have the title of the
article in the URL. and not domain.com/show/id
ie: http://domain.ck/articles/how-to-become-a-ror-master/
How to change a title with special caracters like: '', :, ?, !. to
something that works in the URL.
Thank you!
--
Posted via http://www.ruby-forum.com/.
2006 Mar 22
2
scaffold.css question
Hey,
ruby script/generate scaffold Livres Admin
I configured my layout to link to layout.css .
I want a special CSS file for the admin controller, but I don''t know how
to request it only in the Admin controller and not in the whole website.
Thank you!
--
Posted via http://www.ruby-forum.com/.