Hello, i have questions about multi rails apps with unicorn. If we want to add two or more rails application with unicorn in nginx, how can we create the multi-unicorn-process startup/shutdown script?
I googled more of them somebody prefered god gem but i couldnt find proper solution for this.
I want to ask a question that how can i upgrade bundler on production system? So i upgrade my bundler without problem from 1.0.10 to 1.1.0 as follows.
bash
# gem install bundler --version='1.1' --no-rdoc -no-ri
# gem uninstall bundler
Select gem to uninstall:
1. bundler-1.0.10
2. bundler-1.1.0
3. All versions
> 1
You have requested to uninstall the gem:
bundler-1.0.10
jquery-rails-1.0.18 depends on [bundler (~> 1.0.0)]
kaminari-0.10.4 depends on [bundler (>= 1.0.0)]
orm_adapter-0.0.7 depends on [bundler (>= 1.0.0)]
orm_adapter-0.0.5 depends on [bundler (>= 1.0.0)]
rails-3.0.11 depends on [bundler (~> 1.0)]
rails-3.0.7 depends on [bundler (~> 1.0)]
rails-3.0.5 depends on [bundler (~> 1.0)]
thor-0.14.6 depends on [bundler (~> 1.0)]
If you remove this gems, one or more dependencies will not be met.
Continue with Uninstall? [Yn] Y
Successfully uninstalled bundler-1.0.10
# bundle update
# bundle package
I read the documents about upgrading bundler but after bundler upgraded to 1.1, the other dependent gems also changing. I don`t know that being any problem occur on existing project after bundler upgrading? How can i upgrade to bundler 1.1 without any problem?
I want to ask a question about rollout gem. I use cancan gem in my app and it is very successful.
Is this gem like the cancan gem? I don`t really understand rollout gem.
Maybe too late, but i want to ask a question about my error. When i upgrade my application from 3.0.11 to 3.1.3 there is no problem.
But, i have to use double mysql server one of them is legacy database with version 4.0.
When i trying to connect this database, i got an error like that;
Mysql::Error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE Key_name = 'PRIMARY'' at line 1: SHOW INDEX FROM personel_giriscikis WHERE Key_name = 'PRIMARY'
ActiveRecord::StatementInvalid: Mysql::Error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE Key_name = 'PRIMARY'' at line 1: SHOW INDEX FROM personel_giriscikis WHERE Key_name = 'PRIMARY'
But, in rails 3.0.11 there is no problem and i was making the query in the Mysql 4.0.
This is great, really great. When create an application with authentication, i used the
devise. But, after that i will try to integrate the warden. There is a very intresting
point that move our authentication up into Rack middleware. Great!
Every time our eyes keep on your screencasts.
Thank you Ryan,
farukca: I just try to develop a file flowing. We have some papers comming from other companies. These files includes some unordered information. So somebody make ocr or writedown this unordered fields. And searching on it.
+1
+1 This is a good idea :) Thanks for your sharing.
Thanks Jaroslaw for the quick but important tip about Node.Js I want to look at Joosy too.
Thank you Travis for this information. TodoMVC will help me, i assume, in the near feature.
Thank you Ryan. This is really amazing screencast.
I have been seeing the lots of JavaScript frameworks on the planet. How can we determine the correct JavaScript framework?
[Angular|Knockout|Backbone|Active|Sammy|Raphael|Node].JS
Which is the best solution for specific applications as i expected to use with Rails?
I assume that Angular is a good starting point. :)
I like the
OpenStruct.new
usage in this episode. This episode is really a very sharp. Thank you Ryan.Hello Sam,
I use the latest github profiler.rb from miniprofiler, after that my error changed as follows
and the console is
How can i help you solving this problem? also thank you for your dealing..
I installed miniprofiler as Ryan said. But, the miniprofiler don`t show itself in the index.
My Rails version is 3.0.15 and Ruby version is 1.9.2p180.
When running the rails with server mode, it gives me a
and the console log.
After that, i running the system from apache/passenger, but still, i couldn`t see the profiler in index, i see the index page source, it give me
Profiler, javascript code after the
</html>
tag..
So, i could not still see the profile.. bad.. so bad.
Thank you Ryan. The last two episodes are very handy and useful. Performance is a very important place in the expanding world of Internet.
+1
Thank you Ryan. Very well job.
Hello, i have questions about multi rails apps with unicorn. If we want to add two or more rails application with unicorn in nginx, how can we create the multi-unicorn-process startup/shutdown script?
I googled more of them somebody prefered god gem but i couldnt find proper solution for this.
Can you have any idea?
Thank you Ryan. I like this nested model forms that starting from scratch. This is awesome.
+1
Thank you Ryan. This is really amazing. PostgreSQL and Pg_search are life-saving for more web applications.
+1
I like the taps gem :) Thank you Ryan.
Hello,
I want to ask a question that how can i upgrade bundler on production system? So i upgrade my bundler without problem from 1.0.10 to 1.1.0 as follows.
thats all and everyting fine for me.
Thank you Ryan.
I read the documents about upgrading bundler but after bundler upgraded to 1.1, the other dependent gems also changing. I don`t know that being any problem occur on existing project after bundler upgrading? How can i upgrade to bundler 1.1 without any problem?
Regards.
Thank you Andrew, for this good information.
Hello Ryan,
I want to ask a question about rollout gem. I use cancan gem in my app and it is very successful.
Is this gem like the cancan gem? I don`t really understand rollout gem.
Is friendly_id SEO friendly?
I read link about rails-sexy-url for SEO.
http://www.bingocardcreator.com/articles/rails-seo-tips.htm#sexy-urls
Will friendly_id help us about SEO?
9$ is best for one month for me.. :) I assume that the price will be same in 10 years ;) But you should also denote Ryan for 50$.
Maybe too late, but i want to ask a question about my error. When i upgrade my application from 3.0.11 to 3.1.3 there is no problem.
But, i have to use double mysql server one of them is legacy database with version 4.0.
When i trying to connect this database, i got an error like that;
Mysql::Error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE Key_name = 'PRIMARY'' at line 1: SHOW INDEX FROM
personel_giriscikis
WHERE Key_name = 'PRIMARY'ActiveRecord::StatementInvalid: Mysql::Error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE Key_name = 'PRIMARY'' at line 1: SHOW INDEX FROM
personel_giriscikis
WHERE Key_name = 'PRIMARY'But, in rails 3.0.11 there is no problem and i was making the query in the Mysql 4.0.
Any Idea, thank you.
This is great, really great. When create an application with authentication, i used the
devise. But, after that i will try to integrate the warden. There is a very intresting
point that move our authentication up into Rack middleware. Great!
Every time our eyes keep on your screencasts.
Thank you Ryan,
How can we make a validation about the token field? Just, I want to validate presence of this field. Any idea?
Regards
Thank you Daniel.
I will just look at ElasticSearch with Tire gem. I assume that i would integrate ElasticSearch in my project.
farukca: I just try to develop a file flowing. We have some papers comming from other companies. These files includes some unordered information. So somebody make ocr or writedown this unordered fields. And searching on it.
Thank you Ryan for this advanced search screencast.
Is there any suggestion for us about fulltext search engines? In Ryan`s screencasts, before,
he show us Sphinx and Sunspot, what about Solr?
Regards.
+1
Thank you Ryan,
Can we add to trash box to delete faq links :) with drag? Means Drag and Delete.
May be later, you will add this feature for your casts.
Regards
Yeah.. Thank you Ryan.. This is the informative about testing.
I want to share this link for also spork for fast testing:
http://blog.carbonfive.com/2010/12/10/speedy-test-iterations-for-rails-3-with-spork-and-guard/
Hello,
I like your RailsCasts series.. :) I am using Ancesry for tree structure in my data. I want to draw
structurel organizatin chart.. How can i do that?
Regards.