working with Rails 2.0, Ruby on Rails, Flex, Flash and …
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:
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.
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
Some useful Tips for Beginners and a bit more advanced Rails Developers.
- A Simple Referer, How to redirect a User to the page he wanted to go, after he has successfully logged in.
- Adding a Role Filter to your Views, to secure pages/navigational elements only an Administrator/Developer etc. should be allowed to see
- Using Dojo in Rails plus Modal Dialog example
- Basic Capistrano Tips and tricks
- Debugging your Rails Application using Netbeans 6.0.1, easy to handle, setting breakpoints, looking into the session, request.
- Some Links for Developing with Ruby and Rails that saved me a lot of time.
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:
- FlexBuilder 3 Standard Edition
- FlexBuilder 3 Professional Edition
Students will get the Professional Edition, which has many very nice features!
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:
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.
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)
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:
- Codahale ( Very good tutorial about the topic )
- Mongrel Webpage ( helped me to configure a Mongrel Cluster and has some additional Information )
- Capistrano2 Page ( a more detailed documentation for Capistrano2 would be awesome! )
- Capistrano Manual ( Codahale mentioned it on his page, seems to be for Capistrano 1.* — but I will take a look at it )
- 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
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
Next entries »
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: