Engage is free and for any website (including commercial ones) as long as you use it just for authentication purposes.
If you want to get more information from the social networks your users are using, you have to pay for Engage Plus. Engage Plus enables you to get much more information about the social networks. You'll also get the real auth token to directly make API calls to them.
This Railscast helped me learn something that proved to be very useful. I applied this in a real scenario where it simplified a lot of what I had before.
Thanks Ryan. I enjoy your casts very much. Will you be doing any more episode on your Cancan gem where you may demo how one can do a permission check on an object against a subject? Like in the gem ACL9 thanks!
@RJ Micheal Hart's book is great, but if you're in a hurry I found this concise blog post: http://www.rubysavedmylife.com/2007/12/15/flashnotice-vs-flashnownotice/
Basic gist is use flash redirects and flash[:now] for renders.
+1 for Mato's suggestion of ActiveRecord internals, especially the differences between Rails 2.3 and Rails 3.
Coming to think about, I should probably get my hands dirty and do it myself.
Thanks for great work!
Paperclip was a great plugin in rails 2.*.*, but now have a problem with existing images updates. It stucks on deleting old files.
Is there any good solution for rails 3 to handle image attachments? And specially for multiple_uploads?
What if we apply validation on the category attribute ?
I am facing a problem when all the checkboxes are unchecked and record is updated.
It works fine while giving me an error that "Categories cannot be blank" but at same time it deletes all the records in join table.
I am using HTM relationship.
This is a request for more screen casts for plotting / graphing. In particular I am looking to make a dashboard that has about 50 graph objects; each graph object has multiple plots.
What this does is make the application extremely slow. Any suggestions / packages / examples will be appreciated.
Well, when i was trying to fresh install ruby 1.8.7 using rvm, it keeps showing me the error
"/.rvm/log/ruby-1.8.7-p302/configure.error.log" and ended saying there has been an error while running configure.
Can anyone help me on that pls.
You are one of the very few to do vidcasts that are so incredibly rich with information that they are hard to keep up with. Don't get me wrong please keep up this high standard. Incredible re-run value.
Also love the way you always manage to add extremely valuable new insights and approaches to topics that seem mundane at start.
I believe 'mount' is actually the result of Piotr Sarnacki's RSoC work to make engines nicer. So the typical way to use mount would be to mount an engine.
Really nice episode! This will help me a lot.
Just come across a performence killer in my personal rails 3 application: routes helper methods
I usually have several 200-300 links on a single webpage generated by routes helper methods. Now I found how slow they are (sometimes > 1 sec just for view rendering) and probably need to replace them, but after this episode I should better check the Rails source to find a hint on how this performence can be improved.
I wonder somebody already had a similar problem.
Ryan B., as you can see, "collection" method is more safe, i.e. calling inside "resources" is checked, what is not really necessary in well-tested internals for performance reasons.
Ok,
Sorry again. I already figure it out how to show the symptoms.
What happen is that is a fact that Rails take away every difficulty of your path to make things works.
Next time I'll work a little more before ask for an advice.
Ok, another question, I know is not related directly with formtastic, sorry in advance, -I'm just learning Rails-
How can I modify the animal show to show the problems and symtoms?
Thanks
Formtastic Tutorial! :-) really excelent, I did it without any trouble.
Which is amazing because I'm totally new with Rails.
I have a question:
in the animal view, this http://0.0.0.0:3000/animals/1 for example, how can I change the category view to show the category's name and not its number? Thanks in advance
Regarding my previous post (#122): I've realized that I don't need can? available to my rspec HelperExampleGroup::HelperObject. It's better for testing the view helper that I mock the can? method. Thanks.
Ryan, this site is amazing and I point developers to it whether they are newbies or experienced.
While watching this episode, I couldn't figure out which object actually gets passed to the block. It is worth noting that the object calling with_options is itself passed as the parameter to the block.
Rye >
Engage is free and for any website (including commercial ones) as long as you use it just for authentication purposes.
If you want to get more information from the social networks your users are using, you have to pay for Engage Plus. Engage Plus enables you to get much more information about the social networks. You'll also get the real auth token to directly make API calls to them.
Has anyone else managed to get the displayName or photo to import from Twitter or Facebook? I've altered my devise.rb according to the readme.
Thanks a lot Ryan!
Devise seems to be by far *THE* authentication framework nowdays.
Sorry authlogic and clearance but we've switched to devise for all new Rails and Rack apps.
Now I can't use anything else ... Rails + mongoDB it's just awesome
Thanks for your screencast on my plugin Devise RPX Connectable, Ryan.
I'm happy that it's one of the easiest ways to get social auth in a Rails 3 app.
I'll consider every patch/pull request/question :).
Nicolas.
wow, so timely. i was just looking into devise today. thank you for this!
This Railscast helped me learn something that proved to be very useful. I applied this in a real scenario where it simplified a lot of what I had before.
Thanks
Thanks for this... Will be used :P
Thanks Ryan. I enjoy your casts very much. Will you be doing any more episode on your Cancan gem where you may demo how one can do a permission check on an object against a subject? Like in the gem ACL9 thanks!
@Ronald H Style an app? As in design? The css is under public/stylesheets
You can treat the erb files like any html files.
@nick Are you using some kind of 3.times do block?
I assume that's what causing the extra fields.
@Sanjee I think he's just editing the part he enters it normally via keyboard. Saves us the trouble.
nice
@yonas Could you give us a little bit more info about your operating system, verion etc? Win/Mac/Linux?
I made a sample Highchart app for a freelance test job. Its here http://github.com/senthilnambi/Parrikh of anyone is interested.
The charts are reproduced via ajax whenever a new todo is added.
Hope this helps out someone.
@RJ Micheal Hart's book is great, but if you're in a hurry I found this concise blog post: http://www.rubysavedmylife.com/2007/12/15/flashnotice-vs-flashnownotice/
Basic gist is use flash redirects and flash[:now] for renders.
@Mike That would mean going to prototype, unless you use something like jrails, not sure if its compatible with Rails 3.
+1 for Mato's suggestion of ActiveRecord internals, especially the differences between Rails 2.3 and Rails 3.
Coming to think about, I should probably get my hands dirty and do it myself.
Good
I have searched for it a long time.
Awesome!
I really hope to see more screencasts on advanced topics like this one.
Thanks.
I know this is an old cast, but did anyone ever figure out how to post a comment from just /controller/id instead of controller/id/comment/
These walkthroughs are great, definitely do more. I vote for ActiveRecord next.
Thanks for great work!
Paperclip was a great plugin in rails 2.*.*, but now have a problem with existing images updates. It stucks on deleting old files.
Is there any good solution for rails 3 to handle image attachments? And specially for multiple_uploads?
Any tips for solving problems like this?
http://stackoverflow.com/questions/3340693/rails-3-0-0-rc-actioncontrollerroutingerror-no-route-matches/3779732#3779732
If I want to match a user login slug
e.g. mysite.com/john.doe
Is it possible with current match options?
What if we apply validation on the category attribute ?
I am facing a problem when all the checkboxes are unchecked and record is updated.
It works fine while giving me an error that "Categories cannot be blank" but at same time it deletes all the records in join table.
I am using HTM relationship.
Thanks in advance.
Thank you for making ruby so accessible for us.
This is a request for more screen casts for plotting / graphing. In particular I am looking to make a dashboard that has about 50 graph objects; each graph object has multiple plots.
What this does is make the application extremely slow. Any suggestions / packages / examples will be appreciated.
@yonas: I used MacPorts to install Ruby 1.8.7. That might be easier than messing with RVM.
Well, when i was trying to fresh install ruby 1.8.7 using rvm, it keeps showing me the error
"/.rvm/log/ruby-1.8.7-p302/configure.error.log" and ended saying there has been an error while running configure.
Can anyone help me on that pls.
thanks.
What about an RJS template instead? It would cut down on the js awkwardness and would be compatible with respond_with.
You are one of the very few to do vidcasts that are so incredibly rich with information that they are hard to keep up with. Don't get me wrong please keep up this high standard. Incredible re-run value.
Also love the way you always manage to add extremely valuable new insights and approaches to topics that seem mundane at start.
You got me over to the DRY side.
Tx
I believe 'mount' is actually the result of Piotr Sarnacki's RSoC work to make engines nicer. So the typical way to use mount would be to mount an engine.
Great episode!, definitely interested in episodes like these
Really enjoying the source code walkthrough. Thanks for the great content.
Really nice episode! This will help me a lot.
Just come across a performence killer in my personal rails 3 application: routes helper methods
I usually have several 200-300 links on a single webpage generated by routes helper methods. Now I found how slow they are (sometimes > 1 sec just for view rendering) and probably need to replace them, but after this episode I should better check the Rails source to find a hint on how this performence can be improved.
I wonder somebody already had a similar problem.
Your website's super-tiny fixed-width one-column body text kinda sucks, guys. If you have horizontal scroll bars, I'm pretty sure you've already lost.
Thank you Ramon updating pastie link
(Go to http://pastie.org/1003477 instead.)
THIS WAS A HUGE TIME SAVER! And thank you so much R.B.! Your work has helped me a lot!
Nice episodes. I guess the most disappointing thing to me is the total lack of documentation in the rails code.
Great, great, great work! Please do more episodes on rails 3 internals, at least from time to time. Thanks!
Thanks Ryan. These last couple of screencasts have been great. I've picked up on some useful tips on how to navigate the Rails source.
Great episode, thank you su much for showing a way to read Rails code in a easier way
I want to update the value of my form with the .keyup() function from jQuery. So every change in the form updates the database.
What I have to change in the code to get it run?
$.ajaxSetup({
'beforeSend': function(xhr) {xhr.setRequestHeader("Accept", "text/javascript")}
})
$.fn.submitWithAjax = function() {
this.submit(function() {
$.post(this.action, $(this).serialize(), null, "script");
return false;
})
return this;
}
$(document).ready(function() {
$(".summary_points").keyup(function(){
$(this).submitWithAjax();
})
})
Ryan B., as you can see, "collection" method is more safe, i.e. calling inside "resources" is checked, what is not really necessary in well-tested internals for performance reasons.
Really enjoying these!
Awesome!
Ok,
Sorry again. I already figure it out how to show the symptoms.
What happen is that is a fact that Rails take away every difficulty of your path to make things works.
Next time I'll work a little more before ask for an advice.
Ok, another question, I know is not related directly with formtastic, sorry in advance, -I'm just learning Rails-
How can I modify the animal show to show the problems and symtoms?
Thanks
Hi,
Formtastic Tutorial! :-) really excelent, I did it without any trouble.
Which is amazing because I'm totally new with Rails.
I have a question:
in the animal view, this http://0.0.0.0:3000/animals/1 for example, how can I change the category view to show the category's name and not its number? Thanks in advance
Regarding my previous post (#122): I've realized that I don't need can? available to my rspec HelperExampleGroup::HelperObject. It's better for testing the view helper that I mock the can? method. Thanks.
"Session is not a valid generate script"
Ryan, this site is amazing and I point developers to it whether they are newbies or experienced.
While watching this episode, I couldn't figure out which object actually gets passed to the block. It is worth noting that the object calling with_options is itself passed as the parameter to the block.
(http://dev.rubyonrails.org/browser/trunk/activesupport/lib/active_support/core_ext/object/misc.rb)