search for: unjjdyjnww

Displaying 13 results from an estimated 13 matches for "unjjdyjnww".

2007 Mar 05
2
Any capistrano email recipes?
I''d like to set up capistrano to send an email whenever we do a deployment. Just start an SMTP session with localhost and shoot off the email. I have all the code to do that actually, I just don''t know how to run some Ruby code on the deployment server. Anyone know how to do that, or do you have an email recipe? Pat --~--~---------~--~----~------------~-------~--~----~ You
2007 May 30
9
In Search of Search!
I am implementing a search on my site and was wondering which will be the best way to go about it. We want a full text search and an advance search. We will have huge amounts of data that we would want to search. - on multiple tables. I went through the plugins acts_as_ferret and acts_as_solr. but ferret seems to have a locking problem at high load and solr needs a java server. So what do you
2006 Oct 31
1
New Article: Endless Pageless - No More Next Page
I just published a new article on how and why (and when!) to do away with paginated search results, in favour of a more natural, endlessly scrolling page. http://unspace.ca/discover/pageless/ I provide code and an example of how to implement this in Rails and Prototype. Opinions and suggestions welcomed! Pete Unspace Interactive Inc. --~--~---------~--~----~------------~-------~--~----~ You
2006 Dec 22
2
Class reference from parsing a string?
Say I have a model class called Game. I also have a string call ''game''. How can I do some parsing magic on the string to have a reference to the model Game. So I can perform class methods. (Game.find(1)) thanks --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
2007 Jun 08
1
Running test Rails app under JRuby and JBoss - experiences
Based on this article http://blog.saush.com/?p=208 I have created a simple speed test application to see how JRuby behaves under JAVA server. I created one controller with simple method that provides actual time for view. View is RHTML with simple code for publishing the time provided by controller. Then a packed the application into WAR(described in article) and published under JBoss 4.0.5 (on
2007 Apr 05
4
backgrounddrb problem..
i''m having some problems getting a simple example going with backgrounDRB. after i set my worker to work i try to get back the result like this: w = MiddleMan.worker(key) w.items comes back as DRb::DRbUnknown (i have items as attr_reader in my worker and access it inside there with @items). the result is actually activerecord results in an array. when i change it so my worker puts
2006 Nov 08
3
How to implement status codes in DB and Rails
This is more of a design issue I''m wrestling with, and was wondering what other people are doing. I have a products table with status values of In Stock, Out of Stork or Discontinued. This is unlikely to change any time soon. Approach A, is to have thses actual values in the status column, at least the meaning is very apparent, yet querying for products with a specific status could
2007 Jan 31
6
Using hash.keys - why doesn't it display in order created
I am using .keys on a hash to create an array that is than displayed in a view with .each - why does it not display the keys in the order added to the hash? I would like to controll how the array is displayed - I want the checkboxes to display like I added them to the hash, but it doesn''t - I can''t figure out how it is displayed, when I change the order of the hash it
2007 Jun 10
6
Securing private file area
I''m building an application for a company that has thousands of clients, and for each client there will a set of documents that are private to that client. Rails makes it easy, of course, to show the list of documents on a per-client basis, using acts_as_authenticated and using current_user as part of the find any time a document list is displayed. The part for which I''m looking
2006 Dec 23
11
Frustrating "require" problems with RMagick
I am using RMagick in my app and am having problems in deployment. The deployment machine (Fedora Core 5) can''t find RMagick unless I change the "require" syntax from that used on the dev machine (OS X). And the dev machine doesn''t like the syntax that works on the deployment server! To wit: [OS X] $ script/console Loading development environment. >> require_gem
2006 Nov 04
13
Caching application data
Hi, say my application has a small 20 row information table in the database that stores names of airlines: "continental", "delta", united" , etc... These names will be used in various pages of the application for all the website users for different actions. They do not expect to change often. what I do now is - when a user logs in - these airline names are queried
2008 Apr 30
12
Strange memory issue
Like most, I have a test and a production env. Both are CentOS 5, Ruby 1.8.6, Rails 2.0.2, MySQL 5, and Apache. Both were setup using the same procedure. Except for the hardware (test: Intel, prod: AMD) and memory (test: 512M, prod: 1G), both systems are essentially the same right down to the Rails env. Unfortunately, memory usage is very different for each. The test system has 2 mongrel
2013 Oct 31
0
AWS backups of gluster vols
Good Afternoon, Can someone point me to some documentation on best practices for backing up bluster volumes created from EBS storage in AWS? We'd be looking to recover the entire volume from a catastrophic failure, to a single point in time. Thanks! This email and any attachments may contain confidential and proprietary information of Blackboard that is for the sole use of the intended