Great episode like always! I was really impressed by how easy the customization is. And thanks for the laugh: "Cuddly, but Deadly", hehe, straight to the point :)
@Justin, glad you like it! Keep up the great work with Formtastic.
@Joachim, you're right, the gemcutter source would be better. I actually recorded this episode a few weeks ago, and I'm not sure if that was available at the time.
Great episode! Just a small remark: Wouldn't it better to use gemcutter.org as gem source? The newest version of Formtastic is v0.2.5 which is not (and never will be) available on gems.github.com.
Very interesting! Makes our work even faster huh? Looking forward for part II.
Ryan, you could make a list of your favorite plugins/gems you use. What you think? We now have a lot of options to use with our Rails projects and is getting harder to make a choice. Thanks.
I'm fairly positive that this comment will get lost amidst all the spam, but I just want to mention that these two new plugins: jQuery BBQ and jQuery urlInternal supersede URL Utils. I've refined and simplified the hash / history API significantly, and separated the functionality into two logical, complimentary plugins:
Hi Ryan, I'm getting error when i run rake open_id_authentication:db:create. The error is :
undefined method `add_acts_as_authentic_module' for ActiveRecord::Base:Class
Anyone help me?
Hola a todos estoy iniciando con el mundo ruby on rails y necesito hacer una aplicacion web con autentificacion y con base de datos prostgres alguien me podria guiar por favor es urgente gracias mi correo cyber_daemon_one@hotmail.com
Yeah, Jcrop is really nice. I recently used it to add user avatar cropping to one of our apps, but I set it up to work entirely from a single page. I didn't want an avatar change to lead the user away from the profile edit screen, so I used the responds_to_parent plugin to upload the image via ajax, and then immediately render the image for cropping. I'm pretty happy with how it turned out.
Well done, Ryan ! I have a question. How would it be possible to use it with STI? For example, you process some Data objects among which you have Image, Music, Document objects as Data chidren. Every child can have its proper chidren (mp3, CCA for Music, Icons, Photos for Images, etc.). How can we create kind of Data object and precise its type in the moment of creation so that not to write a separate controler for every Data type? Thank you.
Thanks for this great episode ! Just a tip for those who are wondering : I wanted to be able to re-crop the image without uploading it again, but the problem was that ":large" style was already cropped. I didn't found a clear documentation on this, but you can apply processors or other properties to some styles only. For instance :
You have been such an inspiration to me over the last year and a half, and I really appreciate what you do for the rails community. Thanks for another valuable screencast!
Big fan of what you are doing. As I noticed the spam you get here, maybe something like the URL I submitted as "Website URL" can help get rid of it?
Keep up the good work!
Thanks for the screencast. I'm wondering if it's possible to move the engine out of the vendor/plugins directory and load it out of a path that is outside the primary app.
The reason is that I am running 4 different apps, that all run my engine. I only want to update my engine in one place, and have all 4 apps read it.
Thank you!!! I've been hoping to see this one. Great job! Keep up the awesome work
Nice episode on forms. Thanks Ryan! thanks Justin for this plugin. It's really handy
Great episode like always! I was really impressed by how easy the customization is. And thanks for the laugh: "Cuddly, but Deadly", hehe, straight to the point :)
Neato! You could use category:references when generating the animal model, which would add the belongs_to call automatically.
@Justin, glad you like it! Keep up the great work with Formtastic.
@Joachim, you're right, the gemcutter source would be better. I actually recorded this episode a few weeks ago, and I'm not sure if that was available at the time.
For another approach to forms, check out my Informant gem:
http://github.com/alexreisner/informant
Thanks Ryan!
Great episode! Just a small remark: Wouldn't it better to use gemcutter.org as gem source? The newest version of Formtastic is v0.2.5 which is not (and never will be) available on gems.github.com.
Very interesting! Makes our work even faster huh? Looking forward for part II.
Ryan, you could make a list of your favorite plugins/gems you use. What you think? We now have a lot of options to use with our Rails projects and is getting harder to make a choice. Thanks.
Ryan, as usual, you are making our mondays very much interesting! thanks for another great cast!
Thanks
Luciano
It requires XHTML? That's crazy! XHTML must be served as text/html to get acceptable browser support, and then it renders worse than HTML4.
Ryan, I really don't think I could've asked for a better introduction to Formtastic. I watched it with a huge smile. Looking forward to part 2!
Thanks,
Justin
Really great cast, thx again Ryan!
I've been using formtastic for a while now and it's really awesome!
Thanks for this screencast, Ryan!
@Samuel that's true. Again a great screencast!
hehe same for me, coffee+railscast=good start of the week
thx ryan :)
A coffee and your cast that I'm calling a good Monday. ;) Thanks
Nice one, really handy and I am eager to hear and see more soon ^^
btw:
Garfield was born in the kitchen of Mama Leoni's Italian Restaurant (June 19, 1978) and immediately ate all the pasta and lasagna in sight ^^
Yes! I was actually looking for a form creator like this yesterday... Can't wait for next week. =)
Yay for mondays and railscasts! Love your work! Thanks alot!
Does this even work with virtual attributes?
I keep getting an error "undefined method `age_greater_than' for #<Class:0x48fff80>" where age is a virtual attribute.
Anyone?
test
Thanks for the great content!
Thanks for showing us how to handle this irritating error.
good video..thx
Saikuro would be pronounce roughly like sigh-crow which is a Japanese approximation to cyclo
To validate images content types in IE you need to add to your validation 'image/pjpeg' and 'image/x-png'
I had problem as Korben Dallas had (A copy of ApplicationController has been removed from the module tree but is still active!).
Solution is unloadable as it is explained on http://strd6.com/?p=250.
In short, put 'unloadable' in your plugin controllers
I'm fairly positive that this comment will get lost amidst all the spam, but I just want to mention that these two new plugins: jQuery BBQ and jQuery urlInternal supersede URL Utils. I've refined and simplified the hash / history API significantly, and separated the functionality into two logical, complimentary plugins:
jQuery BBQ:
http://benalman.com/projects/jquery-bbq-plugin/
jQuery urlInternal:
http://benalman.com/projects/jquery-urlinternal-plugin/
Check them out if you haven't already!
Hi Ryan, I'm getting error when i run rake open_id_authentication:db:create. The error is :
undefined method `add_acts_as_authentic_module' for ActiveRecord::Base:Class
Anyone help me?
Hola a todos estoy iniciando con el mundo ruby on rails y necesito hacer una aplicacion web con autentificacion y con base de datos prostgres alguien me podria guiar por favor es urgente gracias mi correo cyber_daemon_one@hotmail.com
Great tutorial as always.
Yeah, Jcrop is really nice. I recently used it to add user avatar cropping to one of our apps, but I set it up to work entirely from a single page. I didn't want an avatar change to lead the user away from the profile edit screen, so I used the responds_to_parent plugin to upload the image via ajax, and then immediately render the image for cropping. I'm pretty happy with how it turned out.
Well done, Ryan ! I have a question. How would it be possible to use it with STI? For example, you process some Data objects among which you have Image, Music, Document objects as Data chidren. Every child can have its proper chidren (mp3, CCA for Music, Icons, Photos for Images, etc.). How can we create kind of Data object and precise its type in the moment of creation so that not to write a separate controler for every Data type? Thank you.
Anyone knows if the Activemerchant works with RBSWorldpay ?
Hi,
Thanks for this great episode ! Just a tip for those who are wondering : I wanted to be able to re-crop the image without uploading it again, but the problem was that ":large" style was already cropped. I didn't found a clear documentation on this, but you can apply processors or other properties to some styles only. For instance :
:styles => { :small => "100x100#", :large => "500x500>" },
:processors => [:cropper]
could become :
:styles => {
:small => {:geometry => "100x100#", :processors => [:cropper]},
:large => {:geometry => "500x500>"}
}
This way ":large" image isn't cropped, but ":small" is. Then you can define an action to recrop your image, keeping the same code in the view.
How can I use Active Merchant to set Express Checkout's taxamt field? I need to set tax on orders shipping to my state.
Thanks!
You have been such an inspiration to me over the last year and a half, and I really appreciate what you do for the rails community. Thanks for another valuable screencast!
Yeap, I agree with #37. Stewie, filtering spam will be great.
Hey Ryan, thanks again for all the awesome casts!
Have you considered adding a captcha to your comment form? I'm getting sick of reporting all these spammers!
Big fan of what you are doing. As I noticed the spam you get here, maybe something like the URL I submitted as "Website URL" can help get rid of it?
Keep up the good work!
Thanks for the screencast. I'm wondering if it's possible to move the engine out of the vendor/plugins directory and load it out of a path that is outside the primary app.
The reason is that I am running 4 different apps, that all run my engine. I only want to update my engine in one place, and have all 4 apps read it.
Is that possible?
Keep up the excellent work you are doing.
These are the things I would probably never realise without this show. thanks
I am having trouble using stubs method. The method is being stubbed across tests and is breaking some of my tests. Any suggestions?
Excellent and timely screencast. I didn't know that you could use Jeweler with GemCutter (or RubyForge, for that matter). Thanks again!
I see jeweler as too much for what is actually needed. http://github.com/sr/mg is "just enough" in that regard.
Ryan,
Jeweler supports releasing to both Gemcutter and Rubyforge. The default is Github. See the options in the README
Jeweler and Gemcutter are my favorite tools for gem development now, thanks for making a screencast on this =)
Thanks for this Ryan
thx for ur good work