[Rails] csv header -mapping

2010-04-29 Thread sam rlo
Hi all, I need to append the headers to specific attributes within a form from an imported csv file, for example; I have a model which contain only :name field but csv file contain firstname and last name (csv files are submitted by user ,so there is no control over file format ) CSV file may

[Rails] Layouts in popup window

2010-04-29 Thread Nike Mike
How to apply layouts in pop up windows -- 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-t...@googlegroups.com. To unsubscribe from this group, send

[Rails] Using the newly created value in faker gem

2010-04-29 Thread Arun Srini
require 'faker' require 'populator' require 'date' Dbase.destroy_all User.destroy_all Table.destroy_all 100.times do u = User.new u.username = Faker::Internet.user_name u.email = Faker::Internet.email u.password = test u.password_confirmation = test u.save end I am using the Faker

Re: [Rails] Create animated gif from images in DB ...

2010-04-29 Thread Christophe Decaux
If you want to go onto the animated gif direction, i believe the only option you have is to look at ImageMagick and RMagick, but this is not trivial stuff. On the other side, Javascript and modern browsers (like Safari and FireFox) can help you with something like : a=0;

[Rails] Re: does any one knows how to setup ror on hostmonster

2010-04-29 Thread nirosh
thanks Brijesh Shah please let me know how to login to the host monster web server console. nirosh -- 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-t...@googlegroups.com. To

[Rails] Re: does any one knows how to setup ror on hostmonster

2010-04-29 Thread Yiannis
You should ask them to create you an SSH account. After that, it depends of your OS for how to login. If you are using windows, download putty, else in OS X or linux you can login directly from the console On Apr 29, 10:20 am, nirosh kunalan.kand...@gmail.com wrote: thanks          Brijesh Shah

Re: [Rails] Re: does any one knows how to setup ror on hostmonster

2010-04-29 Thread kunalan kandiah
ok thanks. Regards Kunalan Kandiah | System Admin/Web Developer RayMax Media 87/4, Arcot Road, Vadapalani, Chennai - 60 026, India. Phone +914 442 031 974 | Direct +919 566 236 108 | Skype r.k.kunalan | http://www.raymax.in On Thu, Apr 29, 2010 at 1:06 PM, Yiannis istoseli...@gmail.com wrote:

[Rails] Rails database performance issue

2010-04-29 Thread TechSlam
Hi I have a Student table with 30 columns in it. My question is at what database size, would the query performance be affected? We are actually planning to have a ArchivedStudent table(which has exactly the same structure as that of Student table) so that when student graduates, his record can

[Rails] Jquery validation with scriptocolos

2010-04-29 Thread Loveline
MY Jquery validation conflicting with scriptocolos ...do anyone have solution for this? -- 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-t...@googlegroups.com. To unsubscribe from this group,

[Rails] Top Engineering Roles: SF East Bay

2010-04-29 Thread Marta Daglow
I am an independent recruiter and have solid relationships with the technical leadership in companies in the web 2.0 space. Right now, I'm looking for three top engineers for two different companies (these companies want to hire now) for the following roles: Client One Two roles: I just

[Rails] How to update rails manually

2010-04-29 Thread Daystrom
Hi, I have a server behind a firewall and I can't hit the Internet from there. I can remote control the server, but not download anything from the Internet.That means the standard gem install rails -v 2.3.4 command will not work. How does one download the 2.3.4 update and install it locally

[Rails] [JOBS] Ruby on Rails Developers needed for San Francisco, CA or Wilmington, DE location

2010-04-29 Thread Fort Hill Development Jobs
Location: San Francisco, CA or Wilmington, DE Fort Hill is a technology firm specializing in optimizing learning transfer and behavior change in the field of executive and leadership development. Our flagship software-as-a-service product enables Fortune 500 companies to transform the way they

[Rails] Re: hostingrails.com appears to have had an ownership change.

2010-04-29 Thread schag...@gmail.com
Same here, we are now down for our second full day. Our environment is pointing to code from 2008 in our largest locations. I've screamed, yelled and have gotten nowhere. My developer is now 11 hours in at $50/hr and we aren't any closer. Still can't get the environment correct. I just gave

[Rails] Re: How many connection pool should we have for internet facing apps?

2010-04-29 Thread Frederick Cheung
On Apr 29, 1:57 am, Joshua Partogi joshua.part...@gmail.com wrote: Hi all, This is a rather basic question about connection pooling in ruby on rails. In rails we can define the connection pool in database.yml. I assume it is quite safe to hardcode this value for intranet application since

[Rails] Re: Jquery validation with scriptocolos

2010-04-29 Thread Loveline
I found the solution.var j=jQuery.noConflict(); reference http://zenverse.net/jquery-how-to-fix-the-is-not-a-function-error-using-noconflict/ -- 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

[Rails] Re: How to update rails manually

2010-04-29 Thread nirosh
What is the error msg you are getting ?? ang what is the os? -- 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-t...@googlegroups.com. To unsubscribe from this group, send email to

[Rails] Re: CanCan questions

2010-04-29 Thread Michael Pavling
Noone using CanCan day-to-day then? Ho hum... back to Aegis. -- 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-t...@googlegroups.com. To unsubscribe from this group, send email to

[Rails] Validations and ACL

2010-04-29 Thread Serafino Picozzi
Hi, I'm creating a rails app which requires an authentication system based on an Access Control List. Basically I have a User model associated to a Role model where every user has one and only one role. The problem I'm facing right now is with the creation of new users and validation. The role

[Rails] Re: hostingrails.com appears to have had an ownership change.

2010-04-29 Thread Yiannis
Indeed, hostingrails is the worst rails hosting company available. If you want to try the worst, try hostingrails. On Apr 28, 11:25 pm, schag...@gmail.com schag...@gmail.com wrote: Same here, we are now down for our second full day.  Our environment is pointing to code from 2008 in our

[Rails] How to use Authlogic with UUID?

2010-04-29 Thread prem
Hi, I recently started using UUID and now i wanted to use it along with Authlogic.Did any body using these both together? Please help me Thanks Regards, prem -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to this group,

[Rails] Retain form data on redirection

2010-04-29 Thread Hemant Bhargava
Guyz, How to retain form data while redirecting back to same page? i do not want to work with sessions option. Any other way ..? I mean i am creating a record and after hitting submit button one of my validation failed and the form redirects to the same page where i have to fill the form values

[Rails] Paypal account varification

2010-04-29 Thread Srikanth Jeeva
Hi, I want to collect users paypal account. Verify if its a paypal account Pay user at anytime. Paypal account is the email which the user has registered with paypal. Is there any way to verify if the email given by user, is registered with paypal(ie. the email provided should be the users

Re: [Rails] Rails database performance issue

2010-04-29 Thread Andy Jeffries
It entirely depends on your query. If you are just finding by ID, then it's likely to be in the 7 figure range (10,000,000+). If you're doing complex joins and searches within strings, then you'd need to test it. The short answer is test it! It's easy enough in script/console to quickly insert

[Rails] want to destroy session on browser close for logout

2010-04-29 Thread Rahul Mehta
hii i have my ror app website want to do destroy session on browser close , please help how can i destroy.. i have used javascript function on body unload function bunload() { document.location.href=del.rb; } /script /head body onunload=bunload() and i have putted the del.rb file in my

[Rails] Nested Forms with belongs_to association

2010-04-29 Thread Sereno Mendes
Hi all, I have a relationship in this form: A person belongs to an address and a address can have many persons like below: class Person ActiveRecord::Base belongs_to :address end class Address ActiveRecord::Base has_many: persons end The ideia behind this is, if two or more persons share

Re: [Rails] want to destroy session on browser close for logout

2010-04-29 Thread Niels Meersschaert
Ruby files aren't evaluated when they are in the Public folder, their contents are just returned to the user. You would need to have it call a controller action to run code. On Apr 29, 2010, at 8:01 AM, Rahul Mehta wrote: hii i have my ror app website want to do destroy session on browser

[Rails] Re: woriking under webrick but not under passenger

2010-04-29 Thread Nenad Cuturic
It is definitely routing problem. I could partially solve the problem by adding this: map.connect 'login', :controller = 'login', :action = login_page map.connect 'login/list_users', :controller = login, :action = list_users map.connect 'login/add_user', :controller = login, :action =

Re: [Rails] want to destroy session on browser close for logout

2010-04-29 Thread Rahul Mehta
hiii thank for reply. can u help me how to run logout action of controller user on window.location.href.. thanks rahul On Thu, Apr 29, 2010 at 5:45 PM, Niels Meersschaert nmeersscha...@mac.comwrote: Ruby files aren't evaluated when they are in the Public folder, their contents are just

[Rails] Re: want to destroy session on browser close for logout

2010-04-29 Thread Rahul Mehta
hiii niels thank for reply. can u help me how to run logout action of controller user on window.location.href.. thanks rahul On Apr 29, 5:15 pm, Niels Meersschaert nmeersscha...@mac.com wrote: Ruby files aren't evaluated when they are in the Public folder, their contents are just returned

[Rails] Re: Retain form data on redirection

2010-04-29 Thread Robert Walker
Hemant Bhargava wrote: Guyz, How to retain form data while redirecting back to same page? i do not want to work with sessions option. Any other way ..? I mean i am creating a record and after hitting submit button one of my validation failed and the form redirects to the same page where i

[Rails] Re: Rails database performance issue

2010-04-29 Thread Ar Chron
TechSlam wrote: Hi I have a Student table with 30 columns in it. My question is at what database size, would the query performance be affected? Depends on how well, or poorly, crafted the query is? Do you have the appropriate indexes defined to support your query? There are numerous

Re: [Rails] How to update rails manually

2010-04-29 Thread Rolf Pedersen
If you do have access to webpages in a webbrowser, it should also work for gem updates by setting up the http proxy server used. Ask your IT department for the proxy used, or you could perhaps find that in your browser. In e.g. Firefox I find it in Tools-Options...-Advanced-Network-Settings In my

[Rails] Re: Multiple Joins to a single table

2010-04-29 Thread Sharagoz
On Apr 29, 1:33 am, Ben Woodcroft li...@ruby-forum.com wrote: I'm unsure whether Sharagoz was referring to was writing a find_by_sql statement or merely the 'whole' of the :joins string. Unless there is something I'm missing, I don't think writing out a :joins SQL string is the solution

[Rails] Re: database relation's tying to pull data from another table

2010-04-29 Thread Tim Shaffer
You need to add another loop for the cards: % @collections.each do |collection| % % collection.cards.each do |card| % li%= card.title %/li -- 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

[Rails] Re: database relation's tying to pull data from another table

2010-04-29 Thread KR
Thx I figured it was something that simple On Apr 29, 7:30 am, Tim Shaffer t...@tim-shaffer.com wrote: You need to add another loop for the cards: % @collections.each do |collection| % % collection.cards.each do |card| % li%= card.title %/li -- You received this message because you are

[Rails] Re: Retain form data on redirection

2010-04-29 Thread Hemant Bhargava
Robert Walker wrote: Hemant Bhargava wrote: Guyz, Controllers typically do not redirect upon validation failures. If you simply render the page again your form data will be available and the Rails framework will kindly repopulate the form fields for you automatically. If you want to

[Rails] Re: ActionMailer Attachment : Character encoding for :filename

2010-04-29 Thread Adrien Coquio
up On Mar 30, 6:21 pm, Adrien Coquio adrien.coq...@gmail.com wrote: Should I notify this bug somewhere ? (I hope so!) adrien On Mar 28, 2:24 pm, Adrien Coquio adrien.coq...@gmail.com wrote: Hi, I want to send a file joke.txt with ActionMailer but I want to rename the file in the

[Rails] Re: ar_mailer, class Email : add field to the table?

2010-04-29 Thread Adrien Coquio
up On Mar 26, 10:53 pm, Adrien Coquio adrien.coq...@gmail.com wrote: Hi, I use ar_mailer to send emails from my application. I want to build a page where the admin case see the queue of mails and the possibility of remove some mail in the queue if he wants. The email in the queue are save

[Rails] Re: hostingrails.com appears to have had an ownership change.

2010-04-29 Thread gogo
Hi, I pretty much had the same issues reported here, especially after the upgrade on some servers. The question is: what RoR hosting provider would you suggest ? I've heard good things about site5, and was myself a happy Lunarpages customer but I left because at the time they were not supporting

[Rails] Unable to install ruby gems 2.3.5

2010-04-29 Thread apr apr
Hi, When I try to add generator to controller, I got error as Missing the Rails 2.3.5 gem. Please `gem install -v=2.3.5 rails`, update your RAILS_GEM_VERSION setting in config/environment.rb for the Rails version you do have installed, or comment out RAILS_GEM_VERSION to use the latest version

Re: [Rails] Find by Date Regardless of Time

2010-04-29 Thread Rick DeNatale
On Tue, Apr 27, 2010 at 4:07 PM, Joshua Martin josmar52...@gmail.com wrote: I have a datetime field in the database. How do I find records for a particular date regardless of the time of day? The method I'm trying does not work.. tasks.find(:all, :conditions = [date == ?, Date.today]) You

Re: [Rails] How to update rails manually

2010-04-29 Thread Hassan Schroeder
On Wed, Apr 28, 2010 at 5:06 PM, Daystrom daystroml...@gmail.com wrote: I have a server behind a firewall and I can't hit the Internet from there. I can remote control the server, but not download anything from the Internet.That means the standard gem install rails -v 2.3.4 command will not

[Rails] WEBrick serving SVG under https

2010-04-29 Thread bob
I have been developing some interactive SVG running under WEBrick. Works fine until the site goes under SSL. At that point my Javascript code fails to return a document using either contentDocument, or getSVGDocument(). I don't really understand the fix, but following a hint from a list back in

Re: [Rails] Re: habtm relation, cannot populate join table

2010-04-29 Thread Rick DeNatale
On Thu, Apr 29, 2010 at 1:26 AM, Veena Jose li...@ruby-forum.com wrote: Hai Rick,   I have made the change you hav told. Still the join table is not been populated. These are my migration data.Is there any problem with this? . class

[Rails] Re: mislav-will_paginate and acts_as_taggable_on_steorids problem

2010-04-29 Thread Tom erik Støwer
Jochen Kaechelin wrote: Am 23.11.2008 um 15:09 schrieb Frederick Cheung: That's the problem. Acts as taggable on steroids defines its own Tag class, your tag class doesn't have all the methods that one has. Ok, thanx! That was the problem great! Really strange. I had the same

[Rails] Kaboodle Bookmarklet - Method?

2010-04-29 Thread brianp
Hey, I was just wondering if anyone had a more in depth concept on how the Kaboodle Bookmarklet works or how to mimic the concept. I know there would be some sore of page scraping. I've tried the Kaboodle bookmarklet on many different pages and not all pages have descriptive identifiers in the

[Rails] Re: cache logic in js_include_tag and stylesheet_link_tag?

2010-04-29 Thread Robert Walker
Jonathan Rochkind wrote: Is this a bug? Or is this expected behavior? Is there something I'm missing? Under what circumstances is the cached file supposed to be regenerated? If the last-modified timestamp changes on one of the included files, will it be regenerated? Will it EVER be

[Rails] Re: cache logic in js_include_tag and stylesheet_link_tag?

2010-04-29 Thread Jonathan Rochkind
Robert Walker wrote: Jonathan Rochkind wrote: Is this a bug? Or is this expected behavior? Is there something I'm missing? Under what circumstances is the cached file supposed to be regenerated? If the last-modified timestamp changes on one of the included files, will it be regenerated?

[Rails] Re: does any one knows how to setup ror on hostmonster

2010-04-29 Thread nirosh
what abt the datacase settings?? -- 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-t...@googlegroups.com. To unsubscribe from this group, send email to

[Rails] How to install rails gems 2.3.5 on windows

2010-04-29 Thread apr apr
Hi, When I try to add generator to controller, I got error as Missing the Rails 2.3.5 gem. Please `gem install -v=2.3.5 rails`, update your RAILS_GEM_VERSION setting in config/environment.rb for the Rails version you do have installed, or comment out RAILS_GEM_VERSION to use the latest version

[Rails] Installation prob. with authlogic-2.1.3 on Win-XP-Pro/SP3

2010-04-29 Thread RichardOnRails
Hi, I am following the instructions on http://github.com/binarylogic/authlogic_example#readme, specifically, the Tutorial How to create this app ... section: Step 1 of the tutorial contained three sub-step which I identify here Step 1/a,b and c. The details of these steps and

[Rails] Re: dom:loaded in application.js and view

2010-04-29 Thread Robert Walker
badnaam wrote: I register ajax listeners in my application.js in the dom:loaded function. In some of my views I also need to use the dom:loaded event to do other javascript stuff. Since I already have my dom:loaded in application.js, can I specify another dom:loaded in the script tag in my

[Rails] Re: How to install rails gems 2.3.5 on windows

2010-04-29 Thread E. Litwin
What error do you get when you run gem install rails from the command line? On Apr 29, 12:49 pm, apr apr li...@ruby-forum.com wrote: Hi, When I try to add generator to controller, I got error as Missing the Rails 2.3.5 gem. Please `gem install -v=2.3.5 rails`, update your RAILS_GEM_VERSION

[Rails] Find ALL and then count them up?

2010-04-29 Thread David Zhu
Is it possible to do a find all, and then return the # of items? -- 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-t...@googlegroups.com. To unsubscribe from this group, send email to

[Rails] Re: Find ALL and then count them up?

2010-04-29 Thread Robert Walker
David Zhu wrote: Is it possible to do a find all, and then return the # of items? Better to use the built-in aggregate functions. http://railsapi.com/doc/rails-v2.3.5/classes/ActiveRecord/Calculations/ClassMethods.html#M001357 This will perform the count in SQL and will be much more efficient

Re: [Rails] upload photos to facebook with facebooker

2010-04-29 Thread Travis Reeder
Have you tried mini_fb? http://github.com/appoxy/mini_fb @fb = MiniFB::Session.new(FB_API_KEY, FB_SECRET, @fb_session, @fb_uid) http://github.com/appoxy/mini_fb@fb.call(photos.upload, filename=full path to file) Travis On Wed, Apr 14, 2010 at 10:31 AM, melissa moreno

Re: [Rails] Re: Find ALL and then count them up?

2010-04-29 Thread Philip Hallstrom
On Apr 29, 2010, at 2:01 PM, Robert Walker wrote: David Zhu wrote: Is it possible to do a find all, and then return the # of items? Better to use the built-in aggregate functions. http://railsapi.com/doc/rails-v2.3.5/classes/ActiveRecord/Calculations/ClassMethods.html#M001357 This will

Re: [Rails] rails and mssql

2010-04-29 Thread Sam Granieri
I used SQL Server 2005 for 18 months for a rails application. I recall having to use both freetds and unixodbc to get the connection to work. I'm a little hazy on this, but I think one is a higher level communication protocol, and one is a lower level communication protocol. Google the rest if it

[Rails] Setting a message on a model -without- errors.add_to_base

2010-04-29 Thread Phoenix Rising
I'm trying my best to follow the skinny controller/fat model concept, and I've got a series of callbacks (that I'm about to move into observers) running on a few models. Based on what these callbacks do to the data (it's implementing business rules), I'd like to add some type of message on the

[Rails] cant run rake on hostmonster

2010-04-29 Thread nirosh
hi i have setup my rails env on hostmonster but i cant run rake task.error is populated when try to run that the error is Access denied for user . But i can able to login into the mysql with the same user name password. anybody any ideas nirosh -- You received this message because you are

Re: [Rails] cant run rake on hostmonster

2010-04-29 Thread Jason White
Sounds like they don't have your SSH account setup correctly Sent from my iPhone On Apr 29, 2010, at 6:08 PM, nirosh kunalan.kand...@gmail.com wrote: hi i have setup my rails env on hostmonster but i cant run rake task.error is populated when try to run that the error is Access denied for

[Rails] Re: cant run rake on hostmonster

2010-04-29 Thread nirosh
thanks jason i'll talk to them and get back to u. -- 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-t...@googlegroups.com. To unsubscribe from this group, send email to

[Rails] view (or template) to helper to view ... magic

2010-04-29 Thread Perry Smith
I early Rails 2, I wrote code in my show.erb.html file like this: % display_qs_body(binding) % display_qs_body was in a helper file and it passed binding along and used (as I recall) concat(binding, text). concat changed so you no longer passed binding somewhere later in Rails 2. I came

[Rails] send_data = invalid byte sequence in US-ASCII

2010-04-29 Thread Fearless Fool
I'm trying to display a generated .png plot via send_data(), but it results in a server error invalid byte sequence in US-ASCII error. I'm pretty sure this means that I need to specify the encoding somewhere, but I haven't been able to figure out where or how to do so. Some particulars: I'm

[Rails] Re: Installation prob. with authlogic-2.1.3 on Win-XP-Pro/SP3

2010-04-29 Thread RichardOnRails
Woops, I posted a severely outdated environment list: WinXP-Pro/SP3, Ruby 1.8.2-15, Rails 1.1.6, Gem 0.9, MySQL 5.0.27-nt, SciTE 1.72, AuthLogic gem, FireFox 2.0.0.4 The correct environment list is (I think): WinXP-Pro/SP3, Ruby 1.8.2-15, Rails 2.3.5, Gem 0.9, MySQL 5.0.27-nt, SciTE 1.74,

[Rails] Can't seem to install RMAGICK on Ubuntu Karmic Koala

2010-04-29 Thread ct9a
hi guys, I have been trying to install Rmagick on ubuntu karmic koala for a day. Yes, ImageMagicK has already been installed and works great with paperclip and a few other perl scripts I have (which uses Image::Magick). The following is what the execution looks like when I tried to install

Re: [Rails] Can't seem to install RMAGICK on Ubuntu Karmic Koala

2010-04-29 Thread Simon Macneall
I seem to remember something similar when I was installing it on Karmic ages ago. If you go look in the mkmf.log that it talks about (can't remember where it is located) it indicates what the problem was. Mine was to do with other libs that needed to be installed. Things like

[Rails] Looking for a technical term

2010-04-29 Thread ms
Hi, thank you for reading my post. I've got s simple question: What's the correct technical term for data which IS NOT calculated and data which IS calculated regarding database design. Simple example: saving a user message in a corresponding table vs. counting all messages of a user. If you

[Rails] Re: Can't seem to install RMAGICK on Ubuntu Karmic Koala

2010-04-29 Thread ct9a
hi, Simon, 1. when I checked mkmf.log, there were no errors but a bunch of yes 2. don't know why but i cannot find the mkmf.log file now -- 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

Re: [Rails] Re: Can't seem to install RMAGICK on Ubuntu Karmic Koala

2010-04-29 Thread Simon Macneall
then I am out of ideas, sorry :) On Fri, 30 Apr 2010 08:17:16 +0800, ct9a anexi...@gmail.com wrote: hi, Simon, 1. when I checked mkmf.log, there were no errors but a bunch of yes 2. don't know why but i cannot find the mkmf.log file now -- You received this message because you are

Re: [Rails] Re: Can't seem to install RMAGICK on Ubuntu Karmic Koala

2010-04-29 Thread Gordon Yeong
it's ok. I will keep trucking. thank you :) any ideas, guys? :) On 30 April 2010 10:22, Simon Macneall macne...@gmail.com wrote: then I am out of ideas, sorry :) -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to this

[Rails] Dumping 12,000+ records into seeds.rb?

2010-04-29 Thread Phoenix Rising
I have a legacy e-commerce app that's got about 12,000 inventory items in it, including pairings between items in one model to items in another. There's no way we'll have the manpower to manually add all those items and their pairings again (ah cannah dew ih, cap'n!), so I'm hoping to write a

Re: [Rails] Re: Can't seem to install RMAGICK on Ubuntu Karmic Koala

2010-04-29 Thread Gordon Yeong
hi guys, I looked around. I am running ruby 1.9.1. Found this (http://forum.clockingit.com/discussion/381/) and it said Ruby 1.9.1 isn't supported at all, so please try 1.8.x instead.. That post was posted on Mar 2nd 2009. Has this compatibility problem been resolved? Any ideas? -- You

[Rails] Re: Can't seem to install RMAGICK on Ubuntu Karmic Koala

2010-04-29 Thread ct9a
hi guys, I looked around. I am running ruby 1.9.1. Found this (http://forum.clockingit.com/discussion/381/) and it said Ruby 1.9.1 isn't supported at all, so please try 1.8.x instead.. That post was posted on Mar 2nd 2009. Has this compatibility problem been resolved? Any ideas? -- You

[Rails] Re: Best way to handle multiple tables to replace on

2010-04-29 Thread Allan
Thank you all, so very much, for your great, thoughtful posts and solid advice. You all have excellent points. I've decided to take your advice as wise council, and stick with the single-table model. :) Hi, if you find you *DO* have to shard in your application, then I used the approach:

[Rails] Re: Installation prob. with authlogic-2.1.3 on Win-XP-Pro/SP3

2010-04-29 Thread RichardOnRails
I found an authlogic newsgroup: http://groups.google.com/group/authlogic. I cross-posted this question there. On Apr 29, 4:08 pm, RichardOnRails richarddummymailbox58...@uscomputergurus.com wrote: Hi, I am following the instructions on        

[Rails] problem with cache clearance

2010-04-29 Thread Tony Augustine
can any one help me. i created one application to track the people opening the mails which is send by me from my application. but one problem which became an obstacle in my path is when any use say tony opens that mail once his count in db is one,but his count will not increment when

[Rails] Re: want to destroy session on browser close for logout

2010-04-29 Thread Rahul Mehta
Assuming you have a named_route for your logout action, you could try function bunload() { document.location.href=%= logout_path %; } However, I would point out that unload isn't guaranteed to be called is even less likely to call wait to load a new resource so that you can kill the session.