On Tue, Jan 24, 2012 at 6:06 PM, sachin kewale wrote:
> hi all,
>i have captcha image on Registration popup but on local the captcha
> image and code is not coming.
>i have install RMagick and gd2 gem also.It gives following error,
>
> MissingSourceFile (no such file to load -- GD):
>
I have a scenario that my user need to upload a image first and then
assign to another model, so I used a generic model, to upload the file
first. But I always get a exception of
ActiveRecord::UnknownAttributeError (unknown attribute: utf8). because
rails automatically adds a utf-8 field for the fo
Try following this thread, I have not it read completely. It may help
you.
http://www.ruby-forum.com/topic/3233401
- Neethu
--
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 grou
Try following this thread, I have not it read completely. It may help
you.
- Neethu
--
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@google
Hi,
Thanks for your quickest response, i had added the self.save but i
am getting error as "stack level too deep" on submitting the profile
form
Thanks,
Kapil
On Jan 30, 11:03 am, Neethu Satheesh wrote:
> Hi Kapil,
>
> Please try with self.save in your methods build_cell & build_telephone.
>
Hi Kapil,
Please try with self.save in your methods build_cell & build_telephone.
Eg :
def build_cell
self.mobile = "#{self.code1}-#{self.number1}"
self.save
end
Thanks,
Neethu
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Go
I had created users using devise in rails. I am storing user mobile
number and land line number for the user profile, by using this code
it is storing the cell and land line numbers in database but after the
sign out it is not stored in the database. please tell me whats wrong
in my code in users.r
Also, try this:
has_many :users, :through => :campaigns, :source => :users
On Jan 30, 10:52 am, Duane Morin wrote:
> Hi. I'm hoping somebody can tell me that I've just gotten my syntax
> wrong and I can in fact do what I want to do.
>
> I've got a Group, and a Group has_many Campaigns.
>
> Campa
What version of rails do you use? This setup works fine for me on
3.1.3 and 3.2.1
On Jan 30, 10:52 am, Duane Morin wrote:
> Hi. I'm hoping somebody can tell me that I've just gotten my syntax
> wrong and I can in fact do what I want to do.
>
> I've got a Group, and a Group has_many Campaigns.
>
Hi. I'm hoping somebody can tell me that I've just gotten my syntax
wrong and I can in fact do what I want to do.
I've got a Group, and a Group has_many Campaigns.
Campaign has_and_belongs_to_many Users (and, naturally, vice versa).
So I've got a groups table, a campaigns table (that has a grou
Hello. I'm having the exact same problem. I'm on a hosted plan where I
don't have root access. I am using RVM.
gem environment output:
http://fpaste.org/9Ek4/
I can also type which bundle:
/home/giglinke/.rvm/bin/bundle
But anything else (bundle -v, bundle install, etc.) gives me the error
repor
On Sun, Jan 29, 2012 at 05:45, Soichi Ishida wrote:
> Furthermore, in order to refer to the parent (in this case, 'Video'), I
> need to set video_id:integer for Script. Am I correct ?
Yes.
> how can I actually associate a new 'script' entry with
> its parent, 'video', in making a new 'Script'
On Sat, Jan 28, 2012 at 22:14, Soichi Ishida wrote:
> Suppose I have implemented
>
> $ rails generate scaffold script video:references text:string
>
> it generated
>
> 20120128103756_create_scripts.rb
>
> But I want to change this model, so instead of redoing it like "rails
> destroy -> rail
On Sun, Jan 29, 2012 at 7:30 PM, Pascal Friederich wrote:
> I migrated one of my projects to from Rails 3.0 to 3.2.1 which means
> I'm using the asset pipeline for the first time.
> As much as I like the ease of compressing and minifying my assets the
> more I'm annoyed about its behavior to raise
I migrated one of my projects to from Rails 3.0 to 3.2.1 which means
I'm using the asset pipeline for the first time.
As much as I like the ease of compressing and minifying my assets the
more I'm annoyed about its behavior to raise an
AssetNotPrecompiledError as soon as, well, there's an asset tha
First, the 1.9.1 is "normal". That's always the folder it uses.
Second, are you having this problem?
http://www.christopherirish.com/2011/09/02/ruby-1-9-2-segmentation-fault-and-openssl/
On Sat, Jan 28, 2012 at 1:14 PM, Don wrote:
>>> tries to send out the confirmation-link email I get a segment
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi, all.
I'm trying to push another app to Heroku & `bundle install` is telling
me there's a bug:
`/Users/dobbin/.rvm/gems/ruby-1.9.3-p0/gems/json-1.6.5/ext/json/ext/json/ext/parser.bundle:
[BUG] Segmentation fault
ruby 1.8.7 (2011-12-28 patchlevel 3
-- Forwarded message --
From: Karthik Ramesh
Date: Sat, Jan 28, 2012 at 1:29 AM
Subject: [chennaiocc] Looking for Ruby on Rails developers - Remote working
is also accepted.
To: chennai...@googlegroups.com
Hi,
I am Karthik and I am developing an HTML5 application for creating mo
On Sun, Jan 29, 2012 at 10:52 AM, Phoenix Rising wrote:
> I'm running into a bit of an issue when it comes to using
> factory_girl_rails (1.6.0) with 3.2's mass_assignment_sanitizer
> = :strict and I'm hoping some one can offer me some guidance to
> improve my tests.
>
> The problem:
> Say you hav
Rails 3.1.3
Hi everyone again.
I'm trying to develop a database and tables which have the association
as follows.
Video 1 - 0..n Script
So, in 'script.rb'
class Script < ActiveRecord::Base
belongs_to :video
...
end
and in 'video.rb'
class Video < ActiveRecord::Base
has_many :scripts
I'm running into a bit of an issue when it comes to using
factory_girl_rails (1.6.0) with 3.2's mass_assignment_sanitizer
= :strict and I'm hoping some one can offer me some guidance to
improve my tests.
The problem:
Say you have a test that looks like this:
it "allows you to create an object" do
[SOLVED]
don't know if it's the best solution, but it worked...
changed the date text_fields to text_field_tag, on output , set the
value in the controller, with I18n and local format
>> @start_shooting_date = I18n.l( @project[:start_shooting_date], :format =>
>> "%d/%m/%Y")
then on input , set
22 matches
Mail list logo