How many changes have been made in Rails 3.2.1? - ruby

I started learning Rails recently. When I read Agile Web Development with Rails (4th Edition), some code is different in Rails 3.2.1. For instance, the JavaScript source is no longer in the public folder. Are there any important changes and what is their impact?

Thats the asset pipeline. A lot has changed. Most of them were introduced in 3.1
Checkout for a lot of the general ones in
http://guides.rubyonrails.org/getting_started.html

Related

Manually setting up ruby on rails eclipse

I've been developing RoR applications since beginning of this year, and I've been using vim and it's plugins to develop all of my applications. AFAIK, RoR has been build to be used with a simple text editor.
However, I have a project that keeps growing, so sooner or later, I think that an IDE would become a necessary tool to continue building my projects.
I've been researching on the internet, and Netbeans is not a good solution, because of it's few developers, today there is no more support for rails, and the plugins are quite obsolete.
I've found also EasyEclipse, but this projects also is quite abandoned, and rails plugins have problems to work properly with different Eclipse versions.
What I've been thinking -since Eclipse is a highly customizable IDE- maybe I could install a generic ruby plugin (since a generic ruby plugin may be stable on time) and manually customize it myself in order to use it for ruby on rails application (establish my gems path, ruby path, etc).
I've found Ruby DLTK 5.0 Kepler plugin, and I think maybe it is a good start point. But since I'm pretty new to Eclipse, I don't know which other tools/plugins are necessary in order to achieve my goal (¿maybe a server plugin?), nor the important settings that I must tweak up.
Does anybody know if it's possible to configure Eclipse this way?
There is RubyMine, it is great but not free unfortulantly

Migrating from PyroCMS 2.1.x to 2.2.x

Im developing a shopping cart system for PyroCMS, but moving my code to 2.2.1 is causing me a few headaches.
I cant find any links that describe the technical changes or how to migrate my existing code over to it.
Is there a public list of technical changes that I can use as a reference?
thanks in advance.
this is the change log, you can take a look at new changes
http://docs.pyrocms.com/2.2/manual/reference/changelog
Upgrade guide from 2.1.x to 2.2.0 (note step 8 for addons)
Upgrade from 2.2.0 to 2.2.1
Essentially 2.1 to 2.2 needs some care, 2.2.0 to 2.2.1 should be a straightforward backup and replace of the system directory if you're not using Git (if you do have the time/ability to learn/use Git, it's hugely beneficial for keeping track of changes).
…and of course always do PyroCMS upgrades on a dev server because it invariably breaks in a way you're not expecting.

How to manage Java/Maven Dependencies in JRuby

I search for the best way to manage java dependancies in a jruby app/library.
Some time ago i read an article about getting java dependancies based on Maven through rubygems. I tried to follow up on this and found some information that this feature was dropped in JRuby 1.7. Also I found some projects like ruby_maven and jbundler but they look like work in progress.
Im especially interested in the integration with bundler and gemspec.
I am no fan of maven and prefer the ruby / bundler way.
Would be nice if a jruby pro could shed some light on the current state.
Me and my coworker are working on a tool to handle mixed Java/JRuby projects. We're hoping to be finished with it this week, so check it out next week and see if it meets your needs. (We still need to update the documentation a little bit, too.)
https://github.com/sam/doubleshot
You had mentioned that JBundler looks like a work in progress, but it does work. I'd recommend giving it a shot if you can't wait a week to try out our project.

is DWR (direct web remoting) a dead project?

Is DWR a dead project? It does not appear to be under active development. The latest 3.0 release appears to be stalled. I'm specifically wondering if there are going to be maintenance releases of DWR 1.x or 2.x or is 3.0 is ever going to be released.
BTW. I asked this question on one of the DWR mailing lists and did not get a response.
Well, the 3.0 version is taking a while to get released, but it is nonetheless very stable.
We are using it in our production environment and we do did encounter any issue so far (2+ years in use).
Important issues on 2.0.X are fixed BTW. (seems that currently there are no major issues on 2.0.X).
BTW. I asked this question on one of the DWR mailing lists and did not get a response.
We had issues before (other version) and those were handler very quick.
Update Dec/2015: V3.0.1 released
Seems like it, I have used DWR like a year back and there is no release since then.
Their version 3 is still on RC (release candidate) and from my understanding of versioning, it is not stable or a general acceptance.
I would say move on... pass DWR. Pass Java too if you can ;)

Spring Web Flow 3 Development Abandoned?

Does anyone have any information on Spring Web Flow 3 status?
Here are a few relevant links that support my sense that springsource has essentially abandoned the project:
1)Official roadmap indicates they are missing milestones by over a year now with no update to the roadmap.
2)Forum thread filled with these questions ignored by Keith Donald and Spring team.
3)Official Download page says the latest release is 2.2.1 but is actually 2.3 so that is not even being kept up-to-date anymore.
While Web Flow version 2 I'm sure is a great product, the issues above are all obvious red flags when it comes to evaluating an open source product -- as well as evaluating the company behind that project. Am I simply missing some communication channel where all this has been discussed in detail before? I find it hard to believe that springsource, a company that seemingly had their act together, would be this negligent with one of their flagship products.
They just added a graphical web flow editor into STS. See this InfoQ post. Also, I just checked JIRA and Fisheye and it looks like there's bug fixes going into a 2.3.1 coming that corresponds with Spring 3.1. So I don't think it's abandoned, it's just not getting new features.
Just wanted to mention that the latest version (2.3.1) of Spring Web Flow was released on Mar 27, 2012. See the changelog file: http://static.springsource.org/spring-webflow/docs/2.3.x/changelog.txt

Resources