Ruby On Rails Goes 1.1
MrByte420 writes "The Ruby On Rails team today released version 1.1 of the web framework. From the announcement: 'Rails 1.1 boasts more than 500 fixes, tweaks, and features from more than 100 contributors. Most of the updates just make everyday life a little smoother, a little rounder, and a little more joyful.' New features were examined back in February at Scottraymond.net and include Javascript/AJAX integration, enhancements to active record, and enhanced testing suites. Not to mention upgrading this time promises to be a piece of cake."
GNAA Announces OneNigger Suite of Collaborative Trolling Utilities
Misha Borovsky (GNAP) Hollywood, Ca - At a star studded event which was attended by both Jamie Foxx and Denzel Washington, two of Hollywood's leading gay stars, GNAA president timecop and vice-president jesuitx unveiled the latest offering from the GNAA Software Division, GNAA OneNigger.
"OneNigger is a hosted collaboration groupware for taking a more proactive approach to trolling. By leveraging OneNigger services with industry trolling best-pratices, the lone gay nigger, or small gay nigger organization is empowered to think outside the box." stated timecop.
Added jesuitx, "Furthermore, in our focus group testing we were able to increase LastMeasure coverage by 36.4% among bloggers participating in large blogrolls. Using modules like the OneNigger Date shared calendaring system allows groups to pick times to touch base on important trolling issues of the day."
Other modules in the OneNigger Enterprise version include OneNigger Chizzat running on patented extensions to IRC, OneNigger Phone, which offers VoIP technologies with free toll-free access to the USA and Japan, and Gay Porn Avalanche Enterprise 2.0 (GPAE2), now newly integrated into the OneNigger platform. OneNigger requires Microsoft Windows XP Service Pack 2 running on an Intel processor. AMD is not supported, as OneNigger is an enterprise-level software suite, and requires a powerful computer.
Later on at the after-party, GNAA member Depakote jacked off with this Microsoft OneCare CD, and consumed his seed, much to the squealing delight of Jaime Foxx.
About AMD:
Slow.
About GNAA:
GNAA (GAY NIGGER ASSOCIATION OF AMERICA) is the first organization which gathers GAY NIGGERS from all over America and abroad for one common goal - being GAY NIGGERS.
Are you GAY ?
Are you a NIGGER ?
Are you a GAY NIGGER ?
If you answered "Yes" to all of the above questions, then GNAA (GAY NIGGER ASSOCIATION OF AMERICA) might be exactly what you've been looking for!
Join GNAA (GAY NIGGER ASSOCIATION OF AMERICA) today, and enjoy all the benefits of being a full-time GNAA member.
GNAA (GAY NIGGER ASSOCIATION OF AMERICA) is the fastest-growing GAY NIGGER community with THOUSANDS of members all over United States of America and the World! You, too, can be a part of GNAA if you join today!
Why not? It's quick and easy - only 3 simple steps!
Talk to one of the ops or any of the other members in the channel to sign up today! Upon submitting your application, you will be required to submit links to your successful First Post, and you will be tested on your knowledge of GAYNIGGERS FROM OUTER SPACE.
If you are having trouble locating #GNAA, the official GAY NIGGER ASSOCIATION OF AMERICA irc channel, you might be on a wrong irc network. The correct network is NiggerNET, and you can connect to irc.gnaa.us as our official server. Follow this link if yo
Georgia
Meanwhile Flock keeps hiring and hasn't managed to produce anything beyond a second-rate wannabe Firefox extension of absolutely no utility.
How many people are on the Ruby on Rails team again?
RJS is a nice addition to the framework, the Rails team is really doing a good job!
I'd like to learn Ruby. Where's a good place to start for a beginner familiar with some php -- online tutorials or a particular book? How about a website that shows off what the language can do? Thanks!
I haven't heard much about Ruby since the (geek) media blitz of over a year ago. How many people actually use Ruby on Rails? I see the same thing happening with AJAX.
Religion for nerds. Stuff that really matters
http://www.blueskyonmars.com/2006/03/28/the-advent ures-of-scaling-stage-1/
Let me be the first (or not) to say congrats to the dev team. I am sure this will make it easier to connect people, make money, and functionality online.
http://www.digitalmediaminute.com/article/1816/top -ruby-on-rails-tutorials
___ Shout Central - Crushes your nuts!
Speaking of rails and cake...
http://cakephp.org/ just released 0.10.9 about a week ago.
AJAX is the SOAP of the 00's, and this whole "..on RAILS" bullshit is long on hype, and short on technical merits.
Can we PLEASE stop hearing about PHB-pleasing marketroid crap and instead focus on technologies which are actually proven, solid and reliable (eg; perl, apache, et al)?
It is nice to see them add the AJAX / JavaScript integration. I would like to see more frameworks include a mature AJAX framework to facilitate more dynamic interaction. To date the best I have seen so far is Echo2 which incorporate an event driven architecture that allows for seamless integration of client side events transmitted to the server side architecture. In all good show, I hope more frameworks will follow suit.
Elaborate.
By coincidence, just last week I decided to install Ruby On Rails. I looked at the download page and found you had to download like six different things just to make it work, and some of them had warnings they might not work right on Mac OS X.
So I just downloaded something off versiontracker called "Locomotive". I haven't installed it yet.
If I want Ruby On Rails 1.1:
- Is it possible to just install locomotive and then upgrade from 1.0 to 1.1? What is the procedure, do I just run this "gems" thingy?
- Is there a better way to install 1.1?
Thanks.The problem isn't that you can't write secure Javascript code - you can. The problem is that if anybody wants to *use* your nice secure AJAX/RAILS/etc. application, they need to turn Javascript ON in their browser, which means they're vulnerable to maliciously-written Javascript on any other web pages they visit.
There's no easy way around the problem if you want to run the new cool AJAX applications, and there's a lot you can do with a programming model that makes it easy to distribute functions between the client and the server. For Mozilla users, it's probably possible for somebody to implement per-site permissions for Javascript the way they do for cookies, images, etc. For IE, though, you're just toast.
Bill Stewart
New Fast-Compression-only CPR http://preview.tinyurl.com/dy575ks
Any other former Java programmers relate?
Along with the API documentation, I found the book "Agile Web Development with Rails" highly beneficial. For a while there, it was the only definitive, concise source of Rails examples.
Even if you're skeptical of the Rails hype, I encourage any developer worth their salt to sit down with it for a weekend. The whole concept of convention over configuration can be a bit mind bending, especially if you're use to Java's XML hell. It's always beneficial to force your brain to adapt to new languages; it encourage contrarian thinking when considering new solutions.
Jim http://www.runfatboy.net/ -- Exercise for Web 2.0.
This posting only serves to remind me what an API junkyard web programming has become. Let's see, we need server side Ruby to transmit and execute Javascript that manipulates a DOM to emit HTMP, gracefully degrading features for anachronistic browers. Zowie!
an ill wind that blows no good
with any sort Took precedence If *BSD is to the prOject to at death's door
... May this be yet another nail in the coffin of the life-sucking tedium that is J2EE.
http://developer.apple.com/tools/rubyonrails.html Found that link on the ruby on rails site and it was the best description for a non techie like me that I could find in fast.
OMG Ponies!!! with Glitter!!!! I miss Pink
The noscript firefox extension lets you forbid execution of javascript/java/flash by default and only enable it again for some sites (whitelist). Internet Explorer has "Trusted Sites" or something.. So all in all that is not that much of a problem..
while (!asleep()) sheep++
I'm not a Ruby developer, the most I've done is just skimmed over some Ruby tutorials. I like the ease and simplicity of the Ruby syntax.
Is it possible to make stand-alone, executable apps in Ruby? What about GUI?
As I see it , even if GoogleOS will not become the desktop standart , Google is heading in the direction of enabling many of the functions currently availble only as installed applications , through a web browser . Writely and Gmail are both AJAX based , and these are a word processor and a IM/Email application , both clearly target desktop-application dominated markets. To understand it better , you might want to use Gmail through a simple Javascript disabled interface (it is also supported, through basic HTML view) and see how it behaves . I believe that everything that is not content, will be delivered using an AJAX based interface in the near future .
My Starcraft 2 Blog
http://it.slashdot.org/comments.pl?sid=181523&cid= 15012418
As someone who's evaluated various JavaScript frameworks, what do you think of "prototype.js", the AJAX library that Ruby uses?
Does the new version of Ruby continue to use "prototype.js" or has it switched to a better designed and documented JavaScript framework?
How is the documentation of "prototype.js"? Does it have a rigorous test suite? How does "prototype.js"'s documentation and test suite compare with, say, MochiKit?
Does "prototype.js" continue to define additional methods on Object.prototype? How does it deal with the issue that defining extra methods on Object.prototype causes "for (key in obj)" to return those method names for every object, totally breaking a fundamental JavaScript language construct, and making it extremely difficult to integrate other JavaScript libraries and code modules without suffering mysterious bugs and crashes?
A JavaScript framework should NEVER define methods on Object.prototype or Array.prototype, because doing that breaks all JavaScript code that iterates over the keys of objecs or arrays, which is certainly not very friendly nor modular. Why did Ruby choose to use an AJAX framework that makes such a huge mistake? Have the maintainers of "prototype.js" gotten around to cleaning up that mess, and why did they make such a horrible mistake in the first place? Weren't they aware of this horrible JavaScript quirk, and why didn't they work around it in the first place? Isn't that supposed to be why we use JavaScript frameworks: to avoid such problems?
-Don
Take a look and feel free: http://www.PieMenu.com
You know a thing is superhyped when v1.1 is mentioned on slashdot.
Mind you RoR is cool compared to j2EE. Then again, it's allmost as if C is cool when compared to J2EE. J2EE sucks big time for server side web - even the Java Gurus agree on that. End of discussion, no news here.
But RoR isn't the end all of ssi frameworks. Django is at least as good (I'd say better and cleaner than RoR) and Zope has been around since the ninties and still is years ahead of the rest. People with an overview over the technologies generally agree on that. I had a story submission (rejected) on that the other week. Check out the linked webcast, it's a very interessting analysis of a set of technologies and solutions:
|||||
Nasa/JPL Web Framework Shootout
In an educative and entertaining webcast, Sean Kelly, a Nasa/JPL software engineer, goes into the details of a project based comparsion between a set of web application frameworks and servers. Including the much hyped Ruby on Rails and Django. Various Java technologies, Ruby on Rails, Django, TurboGears and Zope are covered. Details and traits of each are mentioned. For people involved with web developement there are not to many suprises though, yet the presentation and Kellys commenting are fun to watch.
In a nutshell: EJB, Hibernate and various other Java flavours fail spectacularly, Zope scores a clear victory with Django, RoR and TurboGears relatively close behind. Development speed, error-gotchas, the need for hand-tweaking and the requirement of handwritten SQL and available documentation go into the measuring. As does an overall tongue-in-check "fun-factor". The details are interessting though. TurboGears 'error-driven' developement gets a positive review, RoRs automated controller generation aswell and Zope gets a complete rundown on it's astounding set of features. In the end long-time Java developer Kelly convinces us that - no matter what we do - we really, positively, don't want to use EJB or Hibernate for this kind of stuff. Very entertaining and informative indeed.
|||||
We suffer more in our imagination than in reality. - Seneca
Here's an article from James Mc Parlane's Blog that describes the horrible problem with prototype.js and its ilk that define methods in Object.prototype and Array.prototype.
-Don
James Mc Parlane's Blog
Why I Don't Use The prototype.js JavaScript Library
When it comes to JavaScript there is one issue for which there seems to be two polarised camps, and that is the question of extending the inbuilt JavaScript Array and Object types via the prototype object. There are those who do, and those who don't.
I am most definitely one of those in the "Don't, because it 'would be bad'" camp.
Now, thanks to the Web2.0/Ruby On Rails/Nuevo Bubble phenomena there is a widely used library that makes great use of the prototype object and that is Sam Stephenson's prototype.js library.
I ran into an issue 6 months ago and decided I would never ever use prototype.js, despite the fact, and I don't say this often, that after an examination of the code, prototype.js is an inspired work of art.
What I and many many others have discovered is that using the prototype object on the Array and Object inbuilt types increases the chances that your code will conflict with existing or external code. It makes your code not play well with others, so once you start using prototype.js, you have to keep using prototype's paradigm because by extending Array and Object via the prototype object it secretly modifies some of JavaScripts default behavior.
It's the crack cocaine of JavaScript.
This can be a good thing. If you don't want to waste time writing your own JavaScript libraries and learning how everything really works, then using prototype.js and the libraries that extend it (e.g. Open Rico) is a very good way of developing. You will save time and money and all you need to learn is "the way of prototype.js".
Now the entire tasty raisin for the MetaWrap JavaScript libraries is to allow others to easily remix MetaWrap applications via a client side API that can be invoked via XML. The result is that CSS, HTML and JavaScript can be injected into the application, or XML and HTML at any point in the rendering pipeline of the application.
So I simply had to reject prototype.js because, out of the box, the very first time I tried to use it - it snuck out and cut the throat of the JavaScript I was using that relied on performing a for(x in object) on the contents of an Array.
In JavaScript, value types are subdivided into primitives and objects. Objects are entities that have an identity (they are only equal to themselves) and that map primitive properties to other value types, ("slots" in prototype-based programming terminology) - see these testcase #5 - #7. Because of this behavior JavaScript objects are often mistakenly described as associative arrays or hash tables, while functionally they behave like an associative array/hash table, technically this is not their true nature.
Despite this the JavaScript programming world has come to rely on these objects behaving as predictable associative array/hash tables - and prototype.js breaks this.
There is no object more galactically useful than a good associative array/hashtable. There is no problem that can't be solved with a large enough hash table. In highly granular interpreted languages like JavaScript it provides a way to dip into pure native brute force computing power mostly unhindered by the language interpreter.
Take a look and feel free: http://www.PieMenu.com
I'm still waiting for C# on Cinderblocks.
Both Typo and the popular Globalize plug-in break down when run on Rails 1.1. So far for seamless backwards compatibility unfortunately.
We're dying to use Ruby on Rails. Developers in my group talk about it almost daily. Unfortunately the lack of solid Oracle database support is a showstopper. I'm inquiring about whether we might allocate funding to sponsor development of a stable, complete Oracle driver; my employer has a history of funding open source projects.
What I missed in rails most is proper support -- and that includes decent scaffold generation support -- for what is the most frequent case in nearly every non-trivial database application: many-to-many relationships. Thsi means showing an antry from tableA and in the same screen a scrollable/pageable list of entries from tableB which are connected through a join table with options for inserting or deleting tableB entries from/into the join table (and tableB, if necessary). From the release notes it seems that nothing has been done to make rails support this better. So, essentially, you have to do everything yourself again and you probably have to work around the problems regarding the id column in the join table.
I've been dabbling with Rails and Ruby for a couple of months now, and I don't want to get into a big debate on whether it's more efficient, more popular, or whatever semi-quantifiable metric you want to apply to it...
The bottom line for me right now is that I'm having fun with it. I've been really looking forward to the little extra time I've put aside each day to work with Rails; although I think that a lot of the fun I'm having is just pleasure at using Ruby.
Why are you letting these clowns ruin our country?
but here's something you might be interested in:
l ongs_to_many.pdf
http://jrhicks.net/Projects/rails/has_many_and_be
What's more expensive, developer man-hours or an extra server?
You draw your own conclusions.
Aaaaaand how is that different from desktop development? Actually, how is that different from any other development?
Maybe it is the switch between 3 languages to run 'Hello World'. Seems a tad overwrought. But I am wasting my time. Get back to your Visual Basic.
an ill wind that blows no good
Who's using Rails? Check out the Rails wiki site for hundreds of example sites
And if you want a free cPanel/SSH account to download the new Rails version in to see what the craziness is all about - check out www.HostingRails.com
I think its safe to say that Ruby on Rails is the fastest growing Web 2.0-friendly framework - and for good reason. I mean c'mon - the average developer can pick up a few Rails tutorials and have a working demo app (w/ CRUD scaffold action and such) on their local box in a few minutes. Throw in some easily-incorporated Prototype and Scriptaculous effects, and this developer is the new cool kid on the block.
Crazy
~JoeRails
When scanning articles/docs about rails, HABTM is referring to "many-to-many" relationships.
The rails terminology for "many to many" is "has and belongs to many" (HABTM).
If you used text search for "many to many" or "many-to-many", then you might've gotten the impression ruby doesn't support it.
By the way, Rails 1.1 has many improvements to ActiveRecord in this area.
I've used gems; it's very convenient from a single user who is writing ruby scripts and needs extension X. But say I want to distribute an application written in Ruby. In my Ruby code, I'll have "require 'some_ext' ", which won't work for those who have 'some_ext' installed via gems. Alternatively I could have "require 'rubygems'; require_gem 'some_ext'" which would work for the Gem users but not traditionaly installed extensions. Is there or will there be a solution to this, and what is it?
It seems the major hurdle in making code that uses either the Gem version or, if not there, the traditional version is the fact that Gems allow versioned includes, e.g. "include_gem 'some_ext >= 0.3' I've heard some complain about this and others state that this is a very useful feature.
One possible (but somewhat annoying) solution is to distribute a version with traditional includes and distribute a Gem using version via gems. Can Gems distribute apps (i.e. stuff that would go into /usr/bin) ? And even this would not solve the problem as I imagine much of the standard library would be installed traditionally even for users of gems, so the application would still not know how to require an extension.
Since rails people always trot out this "scaffolding isn't supposed to do X" answer no matter what X is, the question remains: WTF is it supposed to do? Why is scaffolding even in rails, and why is it such a prominent and hyped "feature" when it is totally useless?
I did a database-oriented web app last year. I found Catalyst http://catalyst.perl.org/ really really useful. The MVC pattern it imposes on you really helped. Ditto for the web framework, plugins, DB access and scaffolding.
From what I can tell, RoR is conceptually pretty close to Catalyst, but me being a perl-head, I chose Catalyst. Anyone tried them both? Any comments?
My Rails development firm has been working with Rails for over a year now and as of early last summer... we're exclusively Rails-focused. We've been working with features in 1.1 for several months now and are glad to see that these features are now part of the 1.1 release.
:-)
Ruby on Rails on PostgreSQL = Enterprise Rails!
Robby Russell
PLANET ARGON
Robby on Rails
Running "Hello world" on the console calls several different APIs, some in different languages based on the platform you're using.
What a silly fellow! Hello world in C to stdout (you mistakenly refer to it as a "console") is pretty butt simple in C. Even you should be able to understand it. The call graph is:
Nope, no "layers" here, one API. Ding!
Displaying "Hello, world" on a cross-platform framework for client browsers will also go through several initial application layers. These are just things you need to accept as a newbie programmer (which you clearly are).
And what would those be? Be careful, you won't find it in your "Java for Dummies" book. (Ouch, that must have hurt!)
an ill wind that blows no good