search for: mycontent

Displaying 8 results from an estimated 8 matches for "mycontent".

2006 Aug 02
3
controller methods for app/views/A/B.rhtml
If I want to call A/B, can I call a corresponding controller action for it? Like with app/views/A.rhtml, I can it will call the method A in the controller file. But with A/B.rhtml, I cant do def A/B. -- Posted via http://www.ruby-forum.com/.
2008 Jul 02
4
Wrapping a table row in <div> tags
.../p> <table> <tr> <td>row 3</td> <td>row 3</td> </tr> </table> I (wrongly) assumed the solution would just be: <table> <tr> <td>test</td> <td>test</td> </tr> <div id=''mycontent''> <tr> <td>row 2</td> <td>row 2</td> </tr> </div> <tr> <td>row 3</td> <td>row 3</td> </tr> </table> ... then use AJAX to replace the contents of the ''mycontent'...
2005 Aug 25
5
ROracle and select query empty
...om cat Has completed? no Affected rows: 0 Rows fetched: -1 Fields: name Sclass type len precision scale isVarLength nullOK 1 TABLE_NAME character VARCHAR2 30 0 0 TRUE FALSE 2 TABLE_TYPE character VARCHAR2 11 0 0 TRUE TRUE > > myContent <- fetch(rs, n = -1) > myContent [1] TABLE_NAME TABLE_TYPE <0 rows> (or 0-length row.names) > summary(myContent, verbose=TRUE) TABLE_NAME TABLE_TYPE Length:0 Length:0 Class :character Class :character Mode :character Mode :character > summary(rs, ve...
2006 May 05
1
ActionMailer with attachments, body is blank
...erwise. In the book, it mentions that this is "broken" in rails 1.0 and to upgrade to a newer version or edge rails. Well, I am running on 1.1.2 and it''s still happening. When I look at my development.log file, it''s saying that it doesn''t recognize "@mycontent" (the variable holding the text of my mailer). However, if @ma is empty, it sees @mycontent just fine. Suggestions? Here is my mailer class: class MarketingMailer < ActionMailer::Base def standard_mailer (_firstname,recipient,_subject,from_name,from_email,_content,_mailer_id, _r...
2005 Aug 25
0
Irregular Time Series: zoo & its: Pros & Cons
...> > name Sclass type len precision scale > isVarLength nullOK > > 1 TABLE_NAME character VARCHAR2 30 0 0 > TRUE FALSE > > 2 TABLE_TYPE character VARCHAR2 11 0 0 > TRUE TRUE > > > >> > >> myContent <- fetch(rs, n = -1) > >> myContent > >> > > [1] TABLE_NAME TABLE_TYPE > > <0 rows> (or 0-length row.names) > > > >> summary(myContent, verbose=TRUE) > >> > > TABLE_NAME TABLE_TYPE > > Length:0 Length:0...
2006 Apr 20
1
How do you run a rail app from a subdirectory?
I''ve looked everywhere and I haven''t been able to find a solution. I''m running Apache and I have an app under version control (svn). I want to be able to have multiple check-outs on one server, and I don''t have to modify httpd.conf every time I do. Basically, I envisioned that it would work like this: There''s a development server:
2006 Aug 15
4
escaping html?
Hi I have a wysiwyg html ditor in my app. How do I escape html written to the database and encoding when I display the content> Ty Pieter -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060815/d8c50941/attachment.html
2005 Dec 24
2
Multi language pages (access @session from a model)
Hi, I''m creating a simple Ruby on Rails based CMS. It will support multiple languages. Therefore I''ve a table ''pages'' and a table ''page_translations''. The table ''page'' contains a title and body in the default language, the table ''page_translations'' contain a title and body for an other language. Now I