similar to: if starting index is html?

Displaying 20 results from an estimated 20000 matches similar to: "if starting index is html?"

2006 May 05
1
create a report page with 3 tables involved?
Hi, I am learning Radrails and want to tie the web project all together by displaying 3 tables linked together. I want to select one item from the main table, and then link to the other two tables. they will be linked by the key of the first table. It seems that I should create a rhtml in a main table or should I just copy the list.rhtml created by the generator scaffold? I might not make any
2006 Mar 28
2
Homepage as index.rhtml, not index.html?
Hi all, I''m building my first Rails app. Please forgive my ignorance as I get acquainted with the technology. What I''d like to do is have a form that the scaffolding created for me appear on my home page. It''s just one text field, a submit button, and some error messages. I first tried to copy the code from the new.rhtml view into the homepage (index.html), then
2006 Jan 20
1
Update HTML Element with Ajax
I have following files. list.rhtml ----------------------- <ul id="items"> <%= render(:partial => ''item'', :collection => @items) %> </ul> _item.rhtml ------------------------ <li id="<%= item.id %>" > <%= item.name %> <%= item.body %> </li> edit.rjs ------------------------ page.replace_html
2006 Nov 04
1
trouble linking from the html page to a rhtml page
Hi, I am having trouble linking from the html page to a rhtml page. Any suggestions will be greatly appreciated. JIm -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060824/b197ad2b/attachment-0001.html
2005 Oct 14
2
Capture template output as plain html?
Hi, I''m trying to find out if the following is possible. I have a rhtml template stored in the database as a string. I need to process the template (as a string), similar to using ActionView''s <%= render_template("rhtml", @template_string) %>, but I need to do this in the ActionController and capture the result as a string. There is a method
2006 Apr 15
1
is it allowed to mix .rhtml and .html
I want to use RoR to perform a simple search function on my site that contains a lot of (static) .html pages. Can I mix .rhtml and .html pages on the site? The search box would be on .rhtml and a rail controller would redirect to the right .html page Thanks, Ted -- Posted via http://www.ruby-forum.com/.
2006 Jun 21
2
MasterView rails-optimized (x)html friendly template engine plugin - Release 0.2.0
MasterView rails-optimized (x)HTML friendly template engine plugin - Release 0.2.0 The MasterView development team is pleased to announce the general availability of MasterView release 0.2.0. MasterView is a rails-optimized (x)html friendly template engine plugin that provides another option to the existing rails view templates (rhtml and rxml). The main idea is to provide a template engine that
2006 Aug 17
6
NameError in AdminController#index building scaffold
I''m a pretty big newbie with ROR, but when following a tutorial I encounter an ugly error when building a scaffold. Here is my environment Dev system: - Windows XP - java version "1.5.0_06" - MySQL java version "1.5.0_06" - Ruby 1.8.4 - Ruby Gems 0.9.0 - Gem install mysql Successfully installed mysql-2.7.1-mswin32 Installing ri documentation for
2008 Jul 23
2
difference between html.hi to evererb &rhtml
hi to everyone whats the difference between html.erb & rhtml -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this
2008 Mar 17
2
sort the collection in the index.rhtml
Hi, i am using rails 1.2.6 please forgive me as this application is live and i could not find the time to move it to rails 2.0 i have a index.rhtml for items item has 3 attributes other than id, they are name, category and size current status => inside the index.rhtml i obviously already display my data as below: name category size a mugs L aa mugs M abc
2006 Apr 27
7
HTML Title
Hi there, If I have an application.rhtml template what''s the best way to set the contents of title element in the html -> head area of the template to something set in the view for action in a controller. I want to just have one template which renders the basic layout for all pages and I''ve been scratching my head over this one for a couple of hours now. Any help
2006 Jan 02
2
Getting Index When Using render :partial
I''m using a web service to retrieve an array of results to a search and a render :partial to display those results to the user, while at the same time putting the results into the session. Is there a way for my _book.rhtml file to have access to the index of the result currently being displayed, like each_with_index makes available to its block? This would allow me to have the
2006 Feb 05
6
render partial -- show certain content only if...
i''m working on a _post.rhtml partial, and it displays one blog post. i''m accessing this partial on the list.rhtml and the show.rhtml what i''d like is to only show the "link" link on the list.rhtml and not on the show page. <%= post.title%> <br /> <%= post.body%> <%= link_to
2009 Aug 04
3
[PATCH server] require at least one vm network if pxe booting
--- src/app/models/vm.rb | 2 ++ src/app/views/vm/_form.rhtml | 23 +++++++++++++++++++++++ 2 files changed, 25 insertions(+), 0 deletions(-) diff --git a/src/app/models/vm.rb b/src/app/models/vm.rb index 3e0a6fa..9d326ac 100644 --- a/src/app/models/vm.rb +++ b/src/app/models/vm.rb @@ -464,6 +464,8 @@ class Vm < ActiveRecord::Base
2009 May 24
3
index.erb vs rhtml
I am a total Ruby/RoR n00b having just started reading the ''Ruby on Rails Bible'' book two days ago. I''ve been trying to work out through the introductory ''Your first ruby on rails application'' section, but I''ve run into problems already! The book goes on about creating the view templates and naming them with the *.html.erb extension, but I get
2006 Jul 23
8
embedding subversion version information into HTML
Hi, Say I want to display the subversion release number in the footer of each page in order to track what version of a site I''m looking at. I know subversion has a substitution keyword (LastChangedRevision) that inserts the last known revision in which that file .changed. So, if I stick $LastChangedRevision$ into views/layouts/application.rhtml, it''ll show the last time that
2006 Mar 14
7
Starting with RJS - not working
Hi, I''m trying to work with RJS and folowed Cody Fauser''s tutorial (http://www.codyfauser.com/articles/2005/11/20/rails-rjs-templates) I''ve started by creating a new rails applications and executing rake freeze_edge rake rails:update:javascripts rake rails:update:scripts After that I''ve created a controller: class DtestController < ApplicationController
2006 May 01
3
using HTML frames with rails
Hi: I''m trying to get a page setup with the left side having a collapsable javascript menu (built from the database) and the right side having more data about each node in the tree... very standard actually. I figured frames would be a good way to go, because as the tree expands as the user dives further in, the frame will add scroll bars without disrupting the left hand side. The
2007 Jan 25
2
render .rhtmlx if present, otherwise render .rhtml
We have a product where our customer is "allowed" to make minor changes to the .rhtml views. Obviously, this can be an issue when updating the software, as changes need to be merged in. Also, sometimes the customer wants to back out there change but no longer has the original file. SOOO.... I''d like to tell them - if you want to change a .rhtml file - just copy it to
2006 Jan 06
3
Using DIV tags in HTML - a better Ruby/Rails way?
People, I can use a DIV tag for exact positioning of fields on a form: Creating a DIV tag creates a layer. The DIV tag contains a style attribute with positioning information. It might also have border and size information, if appropriate. Here is the basic DIV tag required for exact positioning: <div style=" top: 99; left: 99; position: absolute;