inicio mail me! sindicaci;ón


db.networx

working with Rails 2.0, Ruby on Rails, Flex, Flash and …

Flexbuilder is now Flashbuilder 4

A few days ago Adobe released their Beta Version of the new Flexbuilder 4. But they renamed FlexBuilder to Flashbuilder to better fit to Flash and the brand new Flash Catalyst Software. You can find more information on the Adobe Website:

  • Flashbuilder 4 Beta

RSpec Screencasts and Tutorials for Rails

Searching the Web and Amazon I didn’d really find a useful website helping me to learn RSpec in an easy way. The RSpec website is a good starting point. There are already a bunch of examples, but for me it was sometimes hard to follow, especially the mock section.
I recently stumbled upon Peepcode Screencasts again and found 4 Screencasts about using RSpec with Rails. I never thought about searching the page, because every Screencast has to be bought.
Well I now I think differently. I bought all 4 Screencasts and don’t regret it. A 210 Minutes, well structured, Video Tutorial divided into 3 parts. Starting with the Basics you develop a Rails Application using RSpec as the Test Environment. The last Screencast is about using “User Stories” in RSpec, a nice Add-On.
For every RSpec Screencast there is a Preview available.

Generating PDFs with Prawn

Some time ago, I stumbled over a nice gem called Prawn. Prawn is written in Ruby and makes it easy to generate PDF documents. On top of it you can easily integrate prawn in Ruby on Rails. Instead of rendering a html page you just render a PDF document for the user.

The Prawn Documentation comes along with many helpful examples. enjoy!

pdf ruby ruby on rails

5 Rails Tips plus Links

Some useful Tips for Beginners and a bit more advanced Rails Developers.

  1. A Simple Referer, How to redirect a User to the page he wanted to go, after he has successfully logged in.
  2. Adding a Role Filter to your Views, to secure pages/navigational elements only an Administrator/Developer etc. should be allowed to see
  3. Using Dojo in Rails plus Modal Dialog example
  4. Basic Capistrano Tips and tricks
  5. Debugging your Rails Application using Netbeans 6.0.1, easy to handle, setting breakpoints, looking into the session, request.
  6. Some Links for Developing with Ruby and Rails that saved me a lot of time.

Free Flexbuilder 3 Professional for Students

Like it is offered for Version 2 of the Flexbuilder, Flexbuilder 3 now is also available for free for every Student authenticating that they study at a University  around the world. You just have to upload your identification at adobe.com approxiamtely one or two days after that you will get the License code!

FlexBuilder 3 is available in two Versions:

  1. FlexBuilder 3 Standard Edition
  2. FlexBuilder 3 Professional Edition

Students will get the Professional Edition, which has many very nice features!

Free FlexBuilder 2 and Flex Charting 2 for Students!!!

I found a nice offer by Adobe recently, when I was searching their web page. If you are a student you are allowed to download an use FlexBuilder 2 and Flex Charting 2 for free!
All you have to do is follow the link:

http://www.adobe.com/devnet/edu/index.html

Register yourself at adobe.com, upload your identification, that you are studying at a university and you will get your own license key in a few days.
I hope they will do that for Flexbuilder 3 , too.

Mongrel, RubyGems, Rails 2.0.2 Boot Problem

Is just got Mongrel working with Rails 2.0.2 and RubyGems 1.0.1 on Windows.

What I did was to delete all prior Versions of Mongrel except Version 1.1.3

You can use the command gem uninstall mongrel ( Select the Versions prior to 1.1.3 and delete them, then 1.1.3 will be used by default)

Finding my way to Ruby on Rails deploy with Capistrano2, Mongrel Cluster and Apache2

Well I still haven’t got everything right, but I’m getting very close to it. So far I managed to run Capsitrano2 over my application, export the whole code to a SuSE 10.2 vmware Image, launch a Mongrel Cluster and test it. Next steps will be to configure Apache2 an then I will try to extend the Capistrano2 Script to deploy to more than one machine.

Here are some Links I found:

  1. Codahale ( Very good tutorial about the topic )
  2. Mongrel Webpage ( helped me to configure a Mongrel Cluster and has some additional Information )
  3. Capistrano2 Page ( a more detailed documentation for Capistrano2 would be awesome! )
  4. Capistrano Manual ( Codahale mentioned it on his page, seems to be for Capistrano 1.* — but I will take a look at it )
  5. Scaling Rails ( Jonathan uses Apache 2.2, Mongrel and Mysql5 for meinProf.de )

I’ll add more Links here, as soon as possible.

capistrano capistrano2 mongrel mongrel cluster ruby on rails

A short tutorial about Ruby on Rails and Netbeans 6

I just posted my small Rails tutorial in combination with Netbeans 6 in the Community Docs section of wiki.netbeans.org

You can find it here

Running on Rails or how to build a small running application with Ruby on Rails

I just made a very small tutorial with Ruby on Rails. I only wanted to compare JSF with Facelets and JPA to Ruby on Rails. You can find these tutorials in the Page navigation on the right side of the page or here:

Next entries »