search for: darianshimy

Displaying 7 results from an estimated 7 matches for "darianshimy".

2009 Nov 20
3
Javascript Confirm for Form Value
How could I ask a user to confirm specific form input? EX: <%= f.submit ''Donate'', :confirm => ''Confirm your donation amount: ###amount###'' %> Where the ###amount### would be replaced with the amount entered in the form. Thanks, Dustin -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk"
2009 Nov 28
1
user management in ROR
Hi, I am newbie for ROR and designing user management system, Which includes all features including register , Profile of user , Profile view of user, Inbox,Mails, .Please suugest some useful code links for the same . and if you have any code for the same please help me. I only create user registration system, Thanks in advance. -- You received this message because you are subscribed to the
2010 Apr 10
1
ruby 1.8.7p249 + rails 2.3.5 + Snow Leopard = hung processes?
A few weeks ago I updated my development computer to Snow Leopard (finally). I put it off because I was in the middle of a project, and it seems its a good thing I did. Last week I started something new and it seems that any rails related ruby process will get ... stuck, I guess is the best word. I''ve seen it happen as soon as a minute, or take as long as an hour. It happens for
2007 Feb 13
3
Error installing ROR on Ubuntu
Hi, I''m trying to install Ruby On Rails on Ubuntu 6.06, running on a AMD Turion64. I installed the ruby interpreter, RubyGems and wrote: *gem install rails --include-dependencies *but I''m receiving the following error message: ERROR: While executing gem ... (Gem::InstallError) gzip error installing /usr/local/lib/ruby/gems/1.8/cache/activesupport- 1.4.1.gem It seems
2009 Nov 17
2
rake db:seed with authlogic fails to populate users
I have a db/seeds.rb file that I want to load, but while the rest of the seeds file works fine, nothing is ever populated in :users. I just fails silently, so I can''t figure out what exactly is causing the problem. I have authlogic installed into the user.rb model with acts_as_authentic. I''m sure that''s part of the problem, but I''m not sure that manually
2009 Nov 20
3
Ensuring that foreign key is valid
I am trying to set up a validation in a model to ensure that a record can''t be saved unless the foreign key it belongs_to is a valid record. My model says: class Admin < ActiveRecord::Base validates_presence_of :user_id validates_numericality_of :user_id validates_uniqueness_of :user_id validates_associated :user belongs_to :user end but I can still create an admin
2009 Dec 02
14
root_path and root_url undefined
Hi all, I''ve just started working on another RoR project after a couple of months away. I''m having trouble with named routes, specifically root_* In previous apps I''ve used root_path and root_url without any problems, but in this project (2.3.2 - the same as my last project where I used it) it comes up undefined. I''ve double and triple checking my routes.rb,