Re: [Rails] API Only Rails Application

2013-10-05 Thread Paul
I don't know for sure, but I used devise, but then I ended up cutting out most of the functionality, so it probably would have been easier to go a different route. I don't use any of the devise views except for the link that one clicks from their email when they forget their password. The login and

Re: [Rails] Confusion over installed versions

2013-10-05 Thread Colin Law
On 2 October 2013 15:36, John Bayes wrote: > Hi > > I have got confused by ruby/gems etc as i seem to have some kind of path > issues somehow. First issue is i seem to have 3 flavours of ruby installed Use rvm (or rbenv, but I have not personal experience of that) to manage ruby and gems. Colin

Re: [Rails] Best Book 4 RoR

2013-10-05 Thread Dave Aronson
On Fri, Oct 4, 2013 at 1:24 PM, Adrian Garrigos wrote: > Is there a great book for Ror. Yes. Michael Hartl's "Rails Tutorial" is generally considered a great book, not only for RoR but also more than enough Ruby to really understand it, plus good habits like testing (and tools to do it with).

[Rails] Best Book 4 RoR

2013-10-05 Thread Adrian Garrigos
Hello, Is there a great book for Ror. I am looking for a book with a step by step approch and by PROJECTS!! RoR needs to be 'practiced', and i didn't find those WORKING PROJECTS. Am i dreaming or is this paper exists. All the books on amazon are not amazING. They talks only about theory. Theory

[Rails] Confusion over installed versions

2013-10-05 Thread John Bayes
Hi I have got confused by ruby/gems etc as i seem to have some kind of path issues somehow. First issue is i seem to have 3 flavours of ruby installed ... # ruby -v ruby 1.9.3p374 (2013-01-15) [i686-linux] # /opt/ruby-enterprise-1.8.7-2012.01/bin/ruby -v ruby 1.8.7 (2011-12-28 MBARI 8/0x8770 o

Re: [Rails] Re: Re: Null value in mysql database table.

2013-10-05 Thread Space Void
Run: tail -f log/development.log from your project root directory You should see the same log in the terminal where you run your server > On Oct 4, 2013, at 4:42 AM, "Aneez a." wrote: > > Actually I am almost at the end of my project. If I got this I can > complete my project. Thats why I ask

[Rails] API Only Rails Application

2013-10-05 Thread Mehmet BEYDOĞAN
I'm currently working on an API only Rails application. It has a web ui which is built with AngularJS and there will be a mobile app. Web and mobile apps will use same rails application and exchange data with JSON. But I'm having issues with user authentication. How can i handle this? Should i

[Rails] Re: Rails 4 ujs button only works after second click

2013-10-05 Thread Sur Max
Your view that has the link link_to 'Pin' already binds the event and points to the new action so you won't need to bind the event again to this link in new.js.erb. Conclusion is your new.js.erb has problems. Replace your new.js.erb code with the following: $('a.pinbutton').parent().append('<

[Rails] save attachments to database and Rails application public directory

2013-10-05 Thread ruby rails
I am new to ROR and learning it.I am using Rails 2.3.5. I have a form where I can attach multiple files. I need to save these attachments in my db and also in a directory in my application directory. I dont want to use paperclip plugin as I need to learn File system as well as how to create dir and

[Rails] Re: is there any way to convert .xlsx to .xls

2013-10-05 Thread Ivan Histand
Here's some good info, I have not tried any of the methods they suggest but they look good: http://xmodulo.com/2012/06/how-to-convert-xlsx-files-to-xls-or-csv.html -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this

Re: [Rails] is there any way to convert .xlsx to .xls

2013-10-05 Thread Colin Law
On 4 October 2013 17:13, Monserrat Foster wrote: > I meant, any gems, to use on rails I know you did, I was just pointing out that you could remove the problem by using LibreOffice to make the spreadsheet in the first place. If you must use MS Office then again the best solution would surely be