[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

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 li...@ruby-forum.com 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

[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 li...@ruby-forum.com 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

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 li...@ruby-forum.com wrote: Colin Law wrote in post #1155814: On 24 August 2014 08:25, Jaimin Pandya li...@ruby-forum.com 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

[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 https://github.com/nathanvda/cocoon for nested forms,and formtastic https://github.com/justinfrench/formtastic .I am not sure if my problem is just form related or also a problem with models. A 'user' adds 1 or more

[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

[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 li...@ruby-forum.com 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.

Re: [Rails] mobile development on ruby

2014-08-24 Thread Colin Law
On 24 August 2014 17:08, and...@benjamin.dk 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

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

2014-08-24 Thread Colin Law
On 24 August 2014 17:32, Bharath Neo li...@ruby-forum.com wrote: Colin Law wrote in post #1155762: On 23 August 2014 06:32, Bharath Neo li...@ruby-forum.com 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

[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 li...@ruby-forum.com 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

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 li...@ruby-forum.com wrote: Colin Law wrote in post #1155842: On 24 August 2014 17:32, Bharath Neo li...@ruby-forum.com 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

[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 file,

[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

[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