[Rails] Re: Re: Re: How to solve can not redirect to nil error?

2014-08-24 Thread Jaimin Pandya
Colin Law wrote in post #1155829: > You have a variable called @line_item and are trying to reference the > member @line_item.expensescounter. I assume that @line_item is an > object of class LineItem. Is that correct? Yes, it is correct. > Assuming the above is correct then what is LineItem.e

[Rails] BUY COUNTERFEIT MONEY( angels...@gmail.com )EUROS,DOLLARS,POUNDS ETC

2014-08-24 Thread James Quency
/ angels...@gmail.com / http://buymoneyonline.ucoz.net We are the best producer of HIGH QUALITY counterfeit Banknotes and fake documents. With over a billion of our products circulating around the world. We offer only original high-quality counterfeit currency NOTES and fake documents. We offer h

[Rails] Re: BUY COUNTERFEIT MONEY( angels...@gmail.com )EUROS,DOLLARS,POUNDS ETC

2014-08-24 Thread James Quency
/ angels...@gmail.com / http://buymoneyonline.ucoz.net We are the best producer of HIGH QUALITY counterfeit Banknotes and fake documents. With over a billion of our products circulating around the world. We offer only original high-quality counterfeit currency NOTES and fake documents. We offer h

[Rails] Re: Help with ckeditor image upload

2014-08-24 Thread frocco
If I cannot get this resolved, what editor do most use that allows users to upload and embed images? Tinymce? On Friday, August 22, 2014 11:18:44 AM UTC-4, Ruby-Forum.com User wrote: > > Hello, > > I am learning rails and trying to use ckeditor and paperclip. > When I try and upload an image fi

Re: [Rails] Re: Re: Re: Re: Session record not getting deleted

2014-08-24 Thread Colin Law
On 24 August 2014 19:03, Bharath Neo wrote: > Colin Law wrote in post #1155842: >> On 24 August 2014 17:32, Bharath Neo wrote: Colin >>> >>> Okie. This is what I see from how its happening: >>> >>> 1. There is a login page >>> 2. When login page is loaded I see an entry for a session put in.

[Rails] Re: Re: Re: Re: Session record not getting deleted

2014-08-24 Thread Bharath Neo
Colin Law wrote in post #1155842: > On 24 August 2014 17:32, Bharath Neo wrote: >>> Colin >> >> Okie. This is what I see from how its happening: >> >> 1. There is a login page >> 2. When login page is loaded I see an entry for a session put in. > > What do you mean by 'loading' the login page? Th

Re: [Rails] Re: Re: Re: Session record not getting deleted

2014-08-24 Thread Colin Law
On 24 August 2014 17:32, Bharath Neo wrote: > Colin Law wrote in post #1155762: >> On 23 August 2014 06:32, Bharath Neo wrote: >>> The problem is that I want to hold sessions who have not logged out. And >>> clear sessions who have not logged in. Sessions are created >>> automatically by rails wh

Re: [Rails] mobile development on ruby

2014-08-24 Thread Colin Law
On 24 August 2014 17:08, wrote: > Hey guys, > > I am about to develop my first mobile app with the same function of a > website I have developed in rails. So I have a few questions: > > 1. My plan is to create an API to the website and build the app using that > API to my website. In your experie

[Rails] Re: Re: Re: Session record not getting deleted

2014-08-24 Thread Bharath Neo
Colin Law wrote in post #1155762: > On 23 August 2014 06:32, Bharath Neo wrote: >> The problem is that I want to hold sessions who have not logged out. And >> clear sessions who have not logged in. Sessions are created >> automatically by rails when the login page loads itself. > > Sorry, don't un

[Rails] mobile development on ruby

2014-08-24 Thread andreo
Hey guys, I am about to develop my first mobile app with the same function of a website I have developed in rails. So I have a few questions: 1. My plan is to create an API to the website and build the app using that API to my website. In your experience is that a good solution? 2. Whats the b

[Rails] form selection- nested attributes

2014-08-24 Thread Sean Kelley
I am working on my first rails project using rails 4.1x and cocoon for nested forms,and formtastic .I am not sure if my problem is just form related or also a problem with models. A 'user' adds 1 or more 'en

Re: [Rails] Re: Re: How to solve can not redirect to nil error?

2014-08-24 Thread Colin Law
On 24 August 2014 12:44, Jaimin Pandya wrote: > Colin Law wrote in post #1155814: >> On 24 August 2014 08:25, Jaimin Pandya wrote: >> We went all round this last time you tried to ask this question a >> little time ago. You must show us the code where you set >> @line_item.expensescounter. The

[Rails] Re: Re: How to solve can not redirect to nil error?

2014-08-24 Thread Jaimin Pandya
Colin Law wrote in post #1155814: > On 24 August 2014 08:25, Jaimin Pandya wrote: > We went all round this last time you tried to ask this question a > little time ago. You must show us the code where you set > @line_item.expensescounter. The above code does not do that, it is > just a private m

Re: [Rails] Re: How to solve can not redirect to nil error?

2014-08-24 Thread Colin Law
On 24 August 2014 08:25, Jaimin Pandya wrote: > Matt Jones wrote in post #1155588: >> On Wednesday, 20 August 2014 03:45:44 UTC-4, Ruby-Forum.com User wrote: >> You're going to need to figure out why @line_item.expensescounter is >> nil. >> Post the code here if you need help finding the problem.

[Rails] Re: How to solve can not redirect to nil error?

2014-08-24 Thread Jaimin Pandya
Matt Jones wrote in post #1155588: > On Wednesday, 20 August 2014 03:45:44 UTC-4, Ruby-Forum.com User wrote: > You're going to need to figure out why @line_item.expensescounter is > nil. > Post the code here if you need help finding the problem. > Code of application_controller.rb: class Applicat