Re: [Rails] User Voice integration in my website

2013-01-02 Thread tamouse mailing lists
On Thu, Jan 3, 2013 at 1:05 AM, harika wrote: >I'm trying to integrate uservoice in my rails project home page.I have > googled for the same, but i did'nt get any proper procedure. > > can anyone suggest me how to proceed with this. Start here? http://developer.uservoice.com/ -- You receive

Re: [Rails] Can't Save a new object even though the request parameters are correct

2013-01-02 Thread tamouse mailing lists
On Thu, Jan 3, 2013 at 1:07 AM, tamouse mailing lists wrote: > On Thu, Jan 3, 2013 at 12:34 AM, Hillary Hueter wrote: >> It was what i put in. It's probably not entirely valid, but i haven't put >> that type of validation into the form yet. >> >> On Wednesday, January 2, 2013 8:44:04 AM UTC-8, ta

Re: [Rails] Can't Save a new object even though the request parameters are correct

2013-01-02 Thread tamouse mailing lists
On Thu, Jan 3, 2013 at 12:34 AM, Hillary Hueter wrote: > It was what i put in. It's probably not entirely valid, but i haven't put > that type of validation into the form yet. > > On Wednesday, January 2, 2013 8:44:04 AM UTC-8, tamouse wrote: >> >> On Wed, Jan 2, 2013 at 3:57 AM, Rafi A wrote: >>

[Rails] User Voice integration in my website

2013-01-02 Thread harika
Hi everyone, I'm trying to integrate *uservoice* in my rails project home page.I have googled for the same, but i did'nt get any proper procedure. can anyone suggest me how to proceed with this. Thanks in advance. -- -- You received this message because you are subscribed to the Google G

Re: [Rails] Can't Save a new object even though the request parameters are correct

2013-01-02 Thread Hillary Hueter
It was what i put in. It's probably not entirely valid, but i haven't put that type of validation into the form yet. On Wednesday, January 2, 2013 8:44:04 AM UTC-8, tamouse wrote: > > On Wed, Jan 2, 2013 at 3:57 AM, Rafi A > > wrote: > > > > > > On Wed, Jan 2, 2013 at 1:00 AM, Hillary Hueter

[Rails] Re: Method not receiving object values

2013-01-02 Thread Nicholas Henry
It's possible that the profesion_name is not set yet -- you might want to consider creating the Profesion model in a before_save callback. I suspect there are some issues with how this is model, but hopeful this suggestion will get you moving foward. Cheers, Nicholas On Wednesday, January 2

[Rails] Method not receiving object values

2013-01-02 Thread JavierQQ
Hi everyone, I'm having a weird issue I have a Study model that has several fields, but to mention a few (or that ones that I'm having troubles with) are - profesion_related - profesion_name I have this in my controller def create @study = Study.new(params[:study]) respond_to do |format|

[Rails] Re: [ANN] Rails 3.2.10, 3.1.9, and 3.0.18 have been released!

2013-01-02 Thread Aaron Patterson
On Wed, Jan 02, 2013 at 01:28:36PM -0800, Aaron Patterson wrote: > Rails versions 3.2.10, 3.1.9, and 3.0.18 have been released. These releases > contain an important security fix. It is recommended that **all users > upgrade immediately**. > > The security identifier is CVE-2012-5664, and you

[Rails] [ANN] Rails 3.2.10, 3.1.9, and 3.0.18 have been released!

2013-01-02 Thread Aaron Patterson
Rails versions 3.2.10, 3.1.9, and 3.0.18 have been released. These releases contain an important security fix. It is recommended that **all users upgrade immediately**. The security identifier is CVE-2012-5664, and you can read about the issue [here](add link). For other change in each parti

[Rails] Re: How to move rails 3.2.8 project from ubuntu to windows7?

2013-01-02 Thread Robert Walker
wpollans wrote in post #1090832: > Currently, I have xubuntu installed on a bootable 16gb usb drive - the > rails app lives on this drive. This is for the benefit of a friend that > uses a win7 laptop - she boots from the usb drive to run the rails app - > works fine. I would like to have this ap

[Rails] Re: Frames in Rails

2013-01-02 Thread Damjan Rems
This is what I am using in one of my projects. It should't be problem to make it in erb. def iframe_helper(if_name) opts = { controller: 'somectrl', action: 'index', id: @record.id, iframe: "if_#{if_name}" } html = "" html << < $(document).ready(

[Rails] Re: How to move rails 3.2.8 project from ubuntu to windows7?

2013-01-02 Thread Damjan Rems
wpollans wrote in post #1090832: > Currently, I have xubuntu installed on a bootable 16gb usb drive - the > rails app lives on this drive. This is for the benefit of a friend that > uses a win7 laptop - she boots from the usb drive to run the rails app - > works fine. I would like to have this ap

[Rails] How to move rails 3.2.8 project from ubuntu to windows7?

2013-01-02 Thread wpollans
Currently, I have xubuntu installed on a bootable 16gb usb drive - the rails app lives on this drive. This is for the benefit of a friend that uses a win7 laptop - she boots from the usb drive to run the rails app - works fine. I would like to have this app run in windows, so she doesn't have

Re: [Rails] Can't Save a new object even though the request parameters are correct

2013-01-02 Thread tamouse mailing lists
On Wed, Jan 2, 2013 at 3:57 AM, Rafi A wrote: > > > On Wed, Jan 2, 2013 at 1:00 AM, Hillary Hueter wrote: >> >> My form fails with the error Mysql2::Error: Column 'date_of_birth' cannot >> be null. However the Request Parameters have a value for date_of_birth, so >> i'm not sure whats going on. >

Re: [Rails] Help with has_many through association

2013-01-02 Thread Dave Aronson
On Tue, Jan 1, 2013 at 5:28 AM, wrote: > The problem is that once you dive in, all of the "cool" rails scoping > (user.books.create...) fails and you start managing the relationships > yourself (user.books << book.find_or_create). It feels "wrong", but as I'm > diving in deeper it seems like the

Re: [Rails] Can't Save a new object even though the request parameters are correct

2013-01-02 Thread Rafi A
On Wed, Jan 2, 2013 at 1:00 AM, Hillary Hueter wrote: > My form fails with the error Mysql2::Error: Column 'date_of_birth' cannot > be null. However the Request Parameters have a value for date_of_birth, > so i'm not sure whats going on. > Request: > > > {"utf8"=>"✓", > "authenticity_token"=>"3n

Re: [Rails] Can't Save a new object even though the request parameters are correct

2013-01-02 Thread Dheeraj Kumar
What is the executed SQL? Look at your development log. -- Dheeraj Kumar On Wednesday 2 January 2013 at 1:00 AM, Hillary Hueter wrote: > My form fails with the error Mysql2::Error: Column 'date_of_birth' cannot be > null. However the Request Parameters have a value for date_of_birth, so i'm

[Rails] Can't Save a new object even though the request parameters are correct

2013-01-02 Thread Hillary Hueter
My form fails with the error Mysql2::Error: Column 'date_of_birth' cannot be null. However the Request Parameters have a value for date_of_birth, so i'm not sure whats going on. Request: {"utf8"=>"✓", "authenticity_token"=>"3njnNBX4VgoV32kau3OALfhdIP00Bq78we6EKD7OXHo=", "pilgrim"=>{"surname"

[Rails] Define routes for Helpers accessed via RABL

2013-01-02 Thread Mohnish J.
Dear Reader, I'm trying to define routes for my helper, so that I can call them from my RABL template(for Api Driven Development) with appropriate arguments. With reference the Railscast link:- http://railscasts.com/episodes/322-rabl?view=asciicast , its clearly mentioned we can pass objects in t

Re: [Rails] Need User All login and logout times

2013-01-02 Thread Saravanan P
Ok Thanks for the reply Dheeraj Kumar and Jim Ruther Nill. On Wed, Jan 2, 2013 at 1:18 PM, Jim Ruther Nill wrote: > > > > On Wed, Jan 2, 2013 at 3:44 PM, Saravanan P wrote: > >> May be if your open private window and signin. >> Then without signout, the user close browser my code (i.e "after si