Displaying 20 results from an estimated 1000 matches similar to: "errors.add adds "is invalid" if validation fails"
2010 Feb 20
6
Captcha Trouble
Hello Rails, I have a problem.
I would like to use captcha in one of my project. When I did try to
install, this is what I got
$ sudo gem install captcha
Building native extensions. This could take a while...
ERROR: Error installing captcha:
ERROR: Failed to build gem native extension.
/usr/bin/ruby1.8 extconf.rb
extconf.rb:1:in `require'': no such file to load -- mkmf (LoadError)
2009 Oct 11
5
Dojo with Rails
Hello Group,
I am a PHP programmer eager to use Rails. I want to know weather there
is any tutorials on how to use Dojo with Rails? I checked out d-rails
Google Group, it was in mess! It gives me a impression that d-rails is
dead. Is there there any good and possibly easy and reliable way to
use Dojo in Rails?
Regards
A.K.Karthikeyan
2011 Aug 06
2
No javascript runtime on Heroku
Hello all,
I developed an app using Rails 3.1 and uploaded it to heroku. When I
typed rake db:migrate , I got the following error:
Could not find a JavaScript runtime. See https://github.com/sstephenson/execjs
for a list of available runtimes.
Does heroku support Rails 3.1? They seem to have no Javascript runtime
env''s like nodejs on their machine!
--
You received this message
2011 Jul 11
4
How to Install ruby 1.9.2/1.9.1 and Rails 3.x on Ubuntu
Hello All,
I have Ubuntu 11-04, I would want to install ruby 1.9.2/1.9.1 and Rails
3.x. I need the least complicated way of doing this.
Rgds,
Janus
--
*Satajanus Nig. Ltd
*
--
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
2011 Dec 31
3
Oh btw...
HAPPY NEW YEAR
from my I&iPhone
--
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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
For more
2010 Sep 04
3
its easy but i forgot all
my models
borrower ----- has_many :loans
loan ----- belongs_to :borrower
my loans _controller
def new
@borrower = Borrower.find(params[:borrower_id])
logger.debug '' @borrower.id''
logger.debug @borrower.id
@loan = Loan.new
respond_to do |format|
format.html # new.html.erb
format.xml { render :xml => @loan }
end
2010 Mar 12
7
"We're sorry, but something went wrong." from RoR app
Hi All,
"We''re sorry, but something went wrong." is the message I got when I
started up an RoR app in the environment:
Rails 2.3.5
Ruby 1.8.6
WinXP-Pro/SP3
Firefox 3.6
MySQL 5.0.37-community-nt
Mongrel
The app under development was working fine until I (stupidly) thought
I needed to upgrade MySQL to 5.1.44.
I took the precaution of MySQL-dumping
the development db before
2011 Aug 05
1
carrierwave tutorial
Is there a tutorial for `carrierwave` other than in RailsCasts that you
recommend?
Thanks.
--
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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email
2010 Mar 08
3
RoR Developer Needed For Long Term Project [Jobs]
We are currently seeking a very experienced Ruby on Rails developer to
complete our Rails development; a social networking platform for
businesses and their customers. The project is 90%-95% complete, but
we need someone (or some company) to complete it and provide the
ongoing support and long term development that will be needed. The
system currently also includes a product shopping cart system
2011 Jul 19
3
What does "require tree" do in Rails 3.1?
In Rails 3.1....
This is my application.css:
/*
*= require_self
*= require_tree .
*/
This is my application.js:
//= require jquery
//= require jquery_ujs
//= require jquery-ui
//= require_tree .
What does the "require_tree ." do?
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To view this discussion on the web
2006 Feb 16
1
reg cross validation in svm
Hi
My name is karthikeyan.
I am using svm in R for my data set.
my data set contain 60 finance ratio as variables and i want to classify
into group of good and bad.
I want to know how to do the crossvalidation for the svm .
first i am doing modelling and i am predict and i am calculating the
probabilities
how can i do the cross validation and how can i plot the svm for this
variables
2003 Oct 22
1
passing a variable (containing the value of the argument) to a function
My previous question put in a simpler way:
How would I pass a value of a variable to a function such as
lm(Effect1~Trt*Dose, data = x, contrasts = list(Trt = contr.sum, Dose =
contr.sum))?
Here, 'Effect' is a column name in my data matrix, and I want "Effect1" to
be replaced by "Effect2" and so on (my other column names in the data
frame) for successive anova
2011 Aug 09
5
Sqlite 3 install error on Heroku, Rails 3.1
Hello Rails people.
I tried to push a Rails 3.1 app ( created using cedar stack) to Heroku
and I encountered the following error
Installing sqlite3 (1.3.4) with native extensions Unfortunately, a
fatal error has occurred. Please report this error to the Bundler
issue tracker at https://github.com/carlhuda/bundler/issues so that we
can fix it. Thanks!
2012 Jan 17
5
Accessing the ROR Application
hi all,
I successfully deployed the ROR project on Centos server,i have one
question how can i access that application from my machine ?
on starting WEBRick server it is started on this ip http://0.0.0.0:3006,
i want to set my machine ip in place of ''http://0.0.0.0:3006'' and also
how i can access it from my machine ?
Thanks in advanced.
Thanks and Regards
Sachin S.
2010 Aug 09
9
where can I get up to date instantrails ?
Hi, can someone please tell me where can I find up-to-date instantrails
(with rails 2.38, ruby 1.8.7) ... ?
Thanks for any help
Dani
--
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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To
2009 Jun 25
4
standard ActiveRecord validation message
in testing my app I just use the validations
validates_presence_of :first_name, :last_name, :email
validates_presence_of :academy, :message => "You must select an
Academy"
validates_presence_of :role, :message => "You must select a role"
standard error_messages are fine for most of my fields , resulting
in :
5 errors prohibited this data from being saved
There
2003 Sep 24
5
splitting clusters
Hi All:
I am clustering 500 genes using hclust of R. Visualizing cluster
membership becomes difficult with so many genes in each cluster...Is there
a way of printing the dendrogram in multiple pages so that I can clearly
see what is in each cluster?
Thanks in advance.
Karthi.
2006 Apr 07
2
errors.add_to_base
What are the limitations on using:
errors.add_to_base
to display errors in views?
I have tried for days to add errors from my object.rb and they never get
displayed.
class Keyword < ActiveRecord::Base
validates_presence_of(:name, :message => "Name is required.")
validates_uniqueness_of(:name, :message => "This name is already in
use. Please try
2010 Jun 07
3
Model validation giving problem
Hi,
I have a member registration form which takes a "Name", "Login",
"Password", "Confirm Password" and "Location". In the user model I have
added the validation
validate_uniqueness_of :login, validate_presence_of :password, :name,
:confirm_password.
When the member tries to register every thing working fine. I am using
same form for user to edit
2008 Dec 08
3
Any Alternative for X window System
hi ,
I have one problem in centos4.4.That is when i run a java Swing
Based application(non stop Application ie ,24/7) in centos4.4 the X Window
system takes 100% of cpu usage....When i restart the system it will come
down.After few hours it will again go to 100%...please tell me solution.....
-------------- next part --------------
An HTML attachment was scrubbed...
URL: