RailsCasts Pro episodes are now free!

Learn more or hide this

ionas's Profile

GitHub User: ionas

Comments by ionas

Avatar

@10, just add some flagging and you can sort on your side with the most spam flags you can delete from time to time. This will improve your existing awesome content which you probably spend like hundreds of hours on. Thank you so very much!

Avatar

Hey Ryan,

its all nice and nice BUT the harder parts about 0authentification are confirmation emails, password resets and generating (even non-html) mails. I hope you cover such a thing too then I can drop devise.

I fully agree... generators are better than engines for "unfinished" or to-by-heavily-modified parts of applications, still Devise is great ;)

Avatar

Someone else has issues with Back button displaying the js/html returned with the ajax request when using the back button instead of the full pages? How to fix?

Avatar

Do you have directions how to transform the URL address generated like this from:

http://domain.tld/products?direction=desc&search=dj&sort=title&utf8=%E2%9C%93

... to:

http://domain.tld/products/search:dj/direction:desc/sort:title

Do I need anything else besides rails3 router + changing the form input serialization to return slashs and colons instead of ampersands and equal-signs?

Avatar

I really like the approach, funny enough I have figured out how to use the latest jquery-bbq over the last 3 days.

I will convert the app to this approach, it will be nicer with slash-URLs and without a # anyway.

BUT: for those who need FF3/IE-support:

Full blown: https://gist.github.com/755139
Reduced FeatureS: https://gist.github.com/757510

Have fun :)

Avatar

As html-<form>s may not be cascaded (e.g. you cannot put a <form> within a < form>) and I am using button_to for my destroy actions which generates forms I had to work around the input fields not being inside the table as I would have form in form then. this is my solution:

https://gist.github.com/754999

e.g. I just do two updates / insert two partials using jQuery

Avatar

I just wanted to say...
... i love you :)

thank you SOO much :)

p.s. please add some episode based on this one that adds jquery-bbq - I can'T make it work for hours!

Avatar

Hello,

1. I didn't know github had this nice cross-authentication... finally the spam is gone. THANK YOU!

2. on your promise on "more in depth" stuff: I loved #240 http://railscasts.com/episodes/240-search-sort-paginate-with-ajax but it misses UJS-JQuery-Anchor-Tag addons for transparent back/forward browsing

I did try to adapt from #175: http://railscasts.com/episodes/175-ajax-history-and-bookmarks on Rails 3 but it didn't work for me... would be great if you could add an enhancement session on #240 on this topic maybe using the more recent BBQ http://benalman.com/projects/jquery-bbq-plugin/ or something alike. I am not deep into JS/JQuery and could not make it work for hours :/

Thanks in advance and keep up the awesome work!