Upgrading to Rails 4 from Rails 3 gotchas [closed] - ruby

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 9 years ago.
Improve this question
We have an app in Rails 3.2 that we want to upgrade to Rails 4.0. I have read the various guidelines available on the possible issues like here and here.
I would like to know of some not so common/obvious gotchas that we should be aware of when upgrading to 4.0?

Ones that got me:
CanCan not yet playing nicely with StrongParameters: Ended up using this work-around.
Named Scopes require Procs: Well documented, but still got me. See my issue here.
Turbolinks bypasses document.ready: Good overview here.

Related

Functional web chat [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 6 years ago.
Improve this question
I want to build a website with a chat. The chat should have a calling option,stickers,smiley faces.Which language would you suggest and why?
I`m thinking about ruby on rails or node.js
I am also thinking to find someone who maybe have experience in the
area, but i am not sure what kind of developer would suit me best.
Language choice depends on how many hours you want to spend on development and further support.
Node.js is a simple and fast option if you want to build a working prototype. If you want to build something with a future advance (in order to solve such issues as scalability) and you have more time you can look at Golang and similar languages.

How to Integrate spree and jirafe? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I tried alot of ways to install(integrate) my spree with jirafe on my localhost but all failed can anyone explain me the step by step process to integrate jirafe with spree
Do not use Jirafe's Ruby Client where #radar can't even submit a PR. Try using Jirafe's Ruby which has 20x less commits (63 for jirafe-ruby-client and 3 for jirafe-ruby).
Jirafe's support for ruby may be slightly concerning, therefore, I would recommend using Google Analytics.
You can read in more detail here my accidental rant on Jirafe and why you may want to use Google Analytics. I'm pretty sure Spree Analytics is a wrapper for the GA, but I may be wrong on that.

Should I use Ruby 1.9x or 2.0x? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
I used to write some Python, and I know there are a lot of difference between Python 2.x and Python 3.x
Current now, I hope to use some Ruby to write a website (Maybe use Rails), but I am afraid that there will be the same problem in Ruby like Python.
Since I am a newcomer to Ruby, I just wonder what should I learn
Ruby 1.x or Ruby 2.x?
You should use ruby 2.1.1. The difference between Python 2 and 3 is so great that there are major backward compatibility issues. As this is not the case with ruby 1.9 vs 2.X you better start with the most current technology.

Web framework for a Legacy application: Grails or Play or? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
Presently I work on a legacy application which has a Flex UI and ORM hibernate, SQL Server database. This application is heavily dependent on xml and database. It does have serious performance issues while fetching the data and rendering it on flex UI.
Two frameworks topped the search are Grails and Play. There are plenty of discussions on their differences and which one is better. But I could not find any comparison in the recent times. Which one looks good in 2014?
Is there any other framework which can be considered? Like Spring MVC.
Note: This may not be a coding problem but I would really like to have opinion of people who code.

Do I need activerecord in my sinatra application? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
So I have a sinatra application that displays my database information. It does not take user input and does not POST, it only GET's and displays the info.
Now a friend suggested me to use ActiveRecord, and from what I can tell it is mostly used for developing the database and routes. But since I have that done is there any advantage to using ActiveRecord in my program or I am good without it?
This is more based on personal preferences.
You could read some articles about ActiveRecord vs DataMapper and decide what to use.
For example this one.

Resources