similar to: Apache Cache

Displaying 20 results from an estimated 400 matches similar to: "Apache Cache"

2006 Apr 11
12
RJS
I am trying to use RJS as shown in this tutorial : http://www.codyfauser.com/articles/2005/11/20/rails-rjs-templates However it does not seem to work. I am not getting any excpetions in the logs. Here is what the logs say : Parameters: {"action"=>"add", "controller"=>"homepage"} Rendering homepage/add The homepage/add is named add.rjs I know
2006 Jun 27
4
RJS Form Values
Hi, I have the following code : <%=link_to_function("? | China", update_page{|page| page[''tags_en''].value = "China" page[''tags_ch''].value = "?" }) %> This updates two text fields with the China and ?. However I want to append the values, not replace them. So I need something like this :
2006 Mar 29
2
Fragment Cache Wackiness
I can''t seem to get the fragment cache to use :file_store. I''d really appreciate it if someone could point me in the right direction. Rails 1.1 final, FreeBSD Observe: In environment.rb AND production.rb (for good measure, DRY be damned): ActionController::Base.fragment_cache_store = :file_store, "/www/apps/localfeeds/directory/tmp/fragmentcache/" At the console
2006 Mar 31
7
Recommended search library?
I''m at a point where I''d like to start adding search capability to my app, so I thought I''d ask: Anyone have any recommendations for a good Rails search library/plugin/etc? There seem to be quite a few different ones out there, but I don''t have much context on any of them. What is the difference between using Ferret, or a SearchGenerator, SimpleSearch,
2006 Apr 04
1
Calling a method in another controller
Hi, I have three controllers. I have defined two controllers to goven the site functions. However I want to have a homepage Controller. Part of the controller will call methods from other controllers. For example it will get the last 5 blog posts and it will get the top 5 most discussed articles, and display it on the homepage. I will also have some specific homepage modules being
2006 Apr 03
2
Order By Number of Comments
Hi, I am new to Ruby on Rails, so I apologise if this has been answered elsewhere. I have had a look through the list but I can''t seem to find what I am trying to do. I have implemented the standard blog and comments app from the screencast. However I am trying to extend the functionality. I want to be able to display a list of posts and order them by the total number of comments
2006 Oct 30
16
Seymore - Content Management On Rails
I have just open sourced my Content Management System called Seymore. Rather than having a separate administration section for managing content, content management functions are available throughout the site so users are able to contextually and comfortably manage the content. I am looking for any and all feedback. Please, either checkout the latest source from subversion, grab version 0.1 from
2006 Apr 14
1
Configuring rails app on web server
Hello, I am newbie in configuring apache and deploying web applications, and am trying to install rails 1.0.0 application on Godaddy web server. Lets say the application is named `demo'', and it will be present in a folder called `demo'' on the web server. The web server in addition to hosting the rails application will host many other static pages in other folders. When the user
2013 Feb 13
1
htaccess is not working
Hello, I'm new here, and after trying by myself, I'm looking for some help ... I have installed webalizer, on my CentOS 6 server. Root path for webalizer is /var/www/usage/ It's working, but after putting a .htaccess in /var/www/usage/ and the appropriate .htpasswd in /var/www/html/auth/ there is no password asked. Here are my files : .htacess : AuthName ?Veuillez vous
2006 Jan 13
6
rails bug ? metadata lost between page invocation ?
Ok, so I posted this on the ''ruby on rails'' newsgroup (http://groups.google.com/group/rubyonrails/browse_frm/thread/cfce770d3fbfbd1f/a51aad47e46e2adf#a51aad47e46e2adf) but didn''t get very far. Hopefully this community will be able to help or let me know whether this is a genuine rails bug. This is a lengthy post, but please bear with me. So, I am trying to cache
2006 Aug 17
1
del.icio.us api - repeating in my layout??? HELP!
I''m pulling in my most recent 6 entries from my delicious account based on a certain tag. This was working fine for about a week - I just visited my site, and each time I visit, it keeps adding the same 6 bookmarks below the current 6. So, everytime you navigate throughout the site, it adds 6 bookmarks to the last (but it''s the same list over and over). I have a function
2006 Mar 24
3
Using Tags in Applications
I''ve been contemplating the utilization of "tags" functionality for categorizing records in my application. For example, a record can have any tag associated with them: volunteer, donor, phone_caller, etc. (Much like delicious) Has anyone already laid out a good architecture for implementing this on the DB, or other medium? I''m sure I can custom build something, but
2006 Jan 21
3
Fragment caching with Memcached slow?
Hi, I am trying to do fragment caching using :mem_cache_store. However, when I compare it to fragment caching using :file_store, it seems to be a lot slower. Here are the results: uncache Completed in 2.20246 (0 reqs/sec) | Rendering: 2.19891 (99%) | DB: 0.00017(0%) | 200 OK [ http://127.0.0.1/] using file_store Completed in 0.00952 (105 reqs/sec) | Rendering: 0.00702 (73%) | DB: 0.00000(0%)
2006 Mar 31
4
javascript help
Hi list, I have a list of tags. I want to be able to click on a tag and have that tag name populate an input field. I think delicious used to allow you to click on existing links to tag your bookmark similar to this (moving instead to auto_complete). My guess is the code looks something like this.... <form> <input type="text" name="all" id="discover"
2006 Aug 19
3
memcache-client working for anyone?
I''m at the bloody forehead stage, so I figure it''s time to ask. After installing the robot coop''s memcache-client which everyone apparently recommends, it refuses to work because the rails cache.rb is invoking the read() method on the cache, which it _does not have_. Their library has get() and put() but no read() and write() as rails expects. What gives? Is
2005 Feb 08
2
PoP3 AutoDeletion
Qpopper has a compile time option '--enable-auto-delete Automatically delete downloaded msgs' Is there anything similar in dovecot. I'm trying to migrate from qpopper to dovecot any help is appreciated.
2006 Mar 02
1
Forms with and without Models and Error Handling
Hi, I currently programming a delicious clone to understand ruby on rails. The problem I''ve got is that I prefill a form (form without models) without a database connection and then save it into the database. For validation i am using the validation helper methods. My Problem is that i don''t know how I get the error hash from the helper method validates... etc. because I
2007 May 13
1
Dropdown boxes in tcltk and R
Hello, I'm very much a newbie in R and more so in tcltk so apologies if this question is stupid. Basically I am trying to use the combobox example found here: http://bioinf.wehi.edu.au/~wettenhall/RTclTkExamples/DropDown.html . What I want to do is in that example get fruitChoice as a variable in R in general. When I run that code, however, and the ask for fruitChoice it says
2024 Aug 21
2
[PATCH v2 65/86] drm/amdgpu: Run DRM default client setup
Call drm_client_setup() to run the kernel's default client setup for DRM. Set fbdev_probe in struct drm_driver, so that the client setup can start the common fbdev client. The amdgpu driver specifies a preferred color mode depending on the available video memory, with a default of 32. Adapt this for the new client interface. v2: - style changes Signed-off-by: Thomas Zimmermann
2007 Dec 24
3
[new user] some features requests ...
Hi, After many tries, i''ve decided to give up dynamic websites, which definitely do not match my needs, and instead replace my blog by a webgen site. I''ve however some unanswered questions. 1) RSS One of the main interest of dynamic website is the ability to provide user a view to last updated pages, thanks to RSS. Is there a way for webgen to generate a RSS file from last