similar to: cache do and different actions calling the same .rhtml file

Displaying 20 results from an estimated 20000 matches similar to: "cache do and different actions calling the same .rhtml file"

2006 Feb 10
1
Caching in development mode on webrick
Hi, I''m running a more or less up-to-date system, and am encountering something that''s irritating me: I make changes to the .rhtml file, and yet don''t see them from my browser. The development.log file indicates that 1) I am indeed in development mode, and 2) queries are being run against the database, so something is happening - it''s just not reading in the
2006 Feb 12
1
fcgid -> errors
Hi, I''m trying to get rails running on Debian stable with Apache 2, mod_fcgid, Rails 1.0. The application works fine with webrick (*). Let''s start here: @eugene [/var/www/ls2/linuxsi/public] $ ./dispatch.fcgi Status: 500 Internal Server Error Seems to result in the following in the log files: [12/Feb/2006:12:18:40 :: 4105] starting [12/Feb/2006:12:18:40 :: 4105] terminated
2007 May 29
4
cache everything but...
I saw this older post when searching for information: On Feb 16, 5:10 pm, Ingo Weiss <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote: > withfragmentcachingonecancacheparts of a page. However, more often > than not what I would need is the exact opposite approach. I would like > to be able to use action cashing and have a mechanism for telling Rails > to
2006 Jun 15
3
rails-based blog roundup
I''m considering rolling my own rails-based blog, but want to take a look at what''s available first. Here''s what I know about: Typo http://typosphere.org/ Simplelog http://simplelog.net/ Mephisto http://weblog.techno-weenie.net/2006/6/12/mephisto-out-in-the-wild Am I missing anything?? Thanks, -TJ
2006 Feb 28
2
dispatch.fcgi aborted: error parsing headers
I''m trying to do file upload with rails and fcgi. Basically, i want my users to be able to upload images on the server. After the upload, I get a 500 error from apache and in the error log I find this: FastCGI: comm with server "/var/www/workspace/mydomain/public/dispatch.fcgi" aborted: error parsing headers: malformed header
2006 Mar 14
3
rails on emacs - need a working .emacs sample
I would like to hear from some one who has ecb, multiple modes with ruby mode + html mode, rails mode all working together and playing well. I had ecb working with Ruby syntax highlighting. That was a no-brainer since I just had to apt-get them on my Debian Sarge box. It got a bit more comlex after I got most of the .el files in the articles http://www.emacswiki.org/cgi-bin/emacs/RubyOnRails
2006 Mar 21
7
Rails and JRuby
Has anyone attempted to run Rails inside of JRuby? Is that even possible? Aside from the performance implications, is it a bad idea? I''m thinking that it might be useful in very rare cases where a Ruby/Rails - equivalent of a Java solution may not exist yet. Any thoughts? Wes -- Posted via http://www.ruby-forum.com/.
2006 Feb 24
2
reloading in development
I''ve just started getting so odd symptoms working with webrick. I use TextMate editing my rails apps over a CIFS mount on the server. Usually when I "edit/save/reload" a page I see the new changes. However I''ve started getting the same old data and now have to frequently restart the webrick server to get my changes to render. What is available to debug on this to
2006 May 30
2
No rhtml, rxml, rjs... problem with Action Mailer, again
Hi all I have seen a lot of people writing my same problem but I haven''t found the solution yet. This is the problem: "ActionView::ActionViewError in Periodico#index No rhtml, rxml, rjs or delegate template found for..." when trying to send email through action mailer. I have created the Notifier.rb model (in app/models/ folder) def signupthanks(user) # Email
2006 May 01
0
Same .rhtml and partial in mailer and non-mailer contexts
I have an ActionMailer template that properly generates HTML email. It contains a partial. The mail action was called via the following in my controller: def cmasend @cmaform = Cmaform.find(params[:id]) Mailer.deliver_cma(@cmaform) flash[:notice] = ''CMA Sent.'' redirect_to :action => ''list'' end Then, in order to allow a
2006 Aug 01
0
calling controller method for .rhtml file inside directory
Im trying to call a method for an rhtml file that inside a directory. For example, I have views/some_view/directory_in_view/test.rhtml file. How do I access this in the controller, I cant have a method called: def some_view/directory_in_view end Do I just have to do a redirect? -- Posted via http://www.ruby-forum.com/.
2006 Mar 24
10
innodb vs myisam
Hi, I have been using myisam tables in mysql with rails because my client will soon want fulltext searchable content, however when I migrated my development db from schema.rb all of the tables generated were innodb. I understand that I can override this, but also like the transactions and foreign keys of innodb. So 2 questions really: 1. are transactions in activerecord dependent on innodb or do
2006 Aug 12
2
Layouts: application.rhtml v. mycontroller.rhtml
I was trying to be all DRY and standardize my layouts to one file and made an application.rhtml. There was no application.rhtml at all before. So I renamed all my controller layouts to .txt and then tested. I got empty pages. I found some issues with Login/UserEngine and application.rhtml, but nothing that looked like this behavior. Is routing messing me up? It''s as if
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
2006 Feb 19
16
Open source rails e-commerce engine?
I''m pinging the list to see if anyone is working on an open-source e-commerce engine based on Rails yet - something like OSCommerice I guess. Anyone? Is there interest out there for such a thing? I have such a product which has been extracted from real world code. It currently runs 3 production rails sites in various shapes and forms, implemented as a rails engine. Basic feature list: -
2006 Apr 19
3
include contents of one rhtml in another
Hi I have a rhtml documment in views/account/login.rhtml I want to include the contents of login.rhtml in views/welcome/index.rhtml any suggestions on how this can be done? Thanks Scott -- Posted via http://www.ruby-forum.com/.
2006 Jan 27
3
Formatting Data in rhtml
Is there a simple way to format your data in the .rhtml file? I come from a PHP/Smarty background, and in the templates, I''ve used what is called "modifiers" to format data. {$price|currency_format} # displays in currency format {$description|truncate:"100"} # Truncates the description after 100 characters It seems like the template (rhtml) would be the ideal
2007 Jun 25
2
passing parameters from rhtml to rjs
I need some parameters to go from my rhtml to my rjs. Anyone know how to do this? -- Amos King A. King Software Development and Consulting, L.C. http://dirtyInformation.com -- Looking for something to do? Visit http://ImThere.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
2006 Mar 03
0
render_component in application.rhtml
I''m using application.rhtml as the common layout for all controllers in my app. I want to add navigation links inside the header portion of each page and this section is in the application layout (application.rhtml). The navigation links also include inforation like username and a link to logout if the user is logged in, or link to login...standard stuff. Anyway, i have controller
2008 Mar 25
0
filter collection based on field value in the index.rhtml
Hi, I am using Rails 1.2.6 i have an items controller. i am using the templated index.rhtml so it displays everything in my items table each item has the following fields in database. id name category which is non unique price what i need is let say there is a drop down list in the index.rhtml which contains all the possible values of category in the items table. (I have managed this.)