News
Voting functionality like in YouTubeSun, 25 Jul 2010 16:41:56 UT
Imagine that you've created simple weblog by scaffolding and you want to add 'Vote Up' and 'Vote Down' (or 'like' 'dislike') functionality just like in YouTube, what steps are required, or someone have done it before or anyone could give me helpful links to some posts where is described how-to? Thanks!
You can't set a constant with namespace in the initializers?
Sun, 25 Jul 2010 15:09:57 UT
Help! in my rails controllers, there is a 'Admin' namespace. (My the structure of the controllers dir is like this : app/controllers: home_controller.rb ... admin/posts_controller.rb admin/pages_controller.rb The 'Admin' will automatically become a Module constant (I know it from the console: 'puts Admin => Module');
[Railsip addresses and spam manager for Rails
Sun, 25 Jul 2010 15:36:34 UT
[link]
TIBCO Software - looking for UI Architect
Fri, 23 Jul 2010 19:29:59 UT
Hi, TIBCO Software in Palo Alto, is looking for a contract or RFT UI Architect to lead the middle to Front-end development for our social networking enterprise product called Tibbr. Please contact Lisa Greenawalt for more information. Lisa Greenawalt 650-846-8763 lgreenwa@tibco or lisa94...@aol.com
I'm trying to get started with AJAX and having a problem..
Fri, 23 Jul 2010 22:15:49 UT
I'm trying to set the focus to the first (and only} field on a search form and having no luck. From searching with google, I came up with: javascript_tag("Event.observe( window, 'load', function() { var firstForm = $A(document.getElementsByTagNa me('search'))[0]; Form.focusFirstElement(firstFo rm);} );")
can't save urls
Fri, 23 Jul 2010 23:23:12 UT
I have a model with a field called "website", its a varchar(150) mysql data type. the field renders fine in my new/edit forms, I have insured it does get to the update/create method in the controller in the params args, but it never gets saved! I have a validation on it that does not fire either, even if I enter more than 150 characters, which is the limit.
Pass hash prameters in routes
Sat, 24 Jul 2010 03:17:26 UT
Hi All, Query: I am having a link as <%= link_to "link_name", :controller => "some_controller", :action => "some_action", :id => "some_id", :first_param => {:second_param => "some value"} %> and in my routes.rb map.connect '/some_name/:id' :controller => "some_controller", :action => "some_action" Above code is giving me an url as
[JOBS] RUBY @ Sony Computer Entertainment America LLC (SAN DIEGO)
Sat, 24 Jul 2010 06:51:09 UT
Hello List! Guess what we're using to build the software that makes your PS3 and PSP games rock online? You got it! So please, stop acting like you are not interested and come help us at `SDOD` (San Diego Online Development). Hurry up, we are getting really busy! I didn't really need to mention this, but the pay is great, benefits
Trying to pick a model setup without ridiculous routes
Fri, 23 Jul 2010 23:42:30 UT
I am making a site with beer info. I want to have the beer name, brewery and style info for every beer. So they all need to be connected. But, I don't want two styles, i.e. "Pale Ale", "pale ale", "paleale". So I was thinking of making style it's own model and people could choose from a list, and then add one if it wasn't present
Depreciation warnings
Sat, 24 Jul 2010 11:17:34 UT
I'm working with Rails 3.0.0.beta4 and found a spot where the input controls in the form disappeared. The code was using the old-style block notation (<% rather than <%=) with fields_for in a deeply nested form. So, a fields_for was nested within another fields_for. There was no depreciation warning in the server output.
CallBacks
Sat, 24 Jul 2010 11:21:05 UT
Hi I want to know more about callbacks in rails,i am not getting in application when have to use?. I know it acts like triggers .Please explain me with examples. Regards hari
Geneaology Tree
Sat, 24 Jul 2010 13:51:22 UT
Hi Folks, I want to develop a Geneaology tree application for my family, but I'm just wondering if there is an easy way to represent the tree (branches etc...) in html. ? Suggestion for a tool tec...
specify Rails version when creating a new application
Sat, 24 Jul 2010 13:55:33 UT
I have been testing out Rails 3 beta4, but want to create a test application in Rails 2.3.8. So, i installed the Rails version that i wanted, sudo gem install rails -v=2.3.8. Now when i try to create my application, using rails myTestApp -v=2.3.8, I get the rails help screen. Looking over it, I can't seem to find the option to specify the version of rails that I want to target.
Refactoring views ? Should public class methods be used in views?
Sat, 24 Jul 2010 15:00:57 UT
I am refactoring my views and have learned that to separate view controller and models and that the view is feed from the controller that defines the instance variables related to a the models that is to be used in views- I have also learned that the number of inctace variables should be limited to 1-2 in each action.
software programs for virtual rails
Sat, 24 Jul 2010 18:22:14 UT
I have windows vista service pack 2 running on my computer. I just downloaded ..virtual box 3.2.6 ...and ...virtualrails 1.1.7z...I cant find my windows xp bootable disc to create a virtual machine to run virtual rails. The only other disc I have is windows 98. Can I create a virtual machine and run virtual rails on windows 98? If not
YM4R/GM plug-in issue
Sat, 24 Jul 2010 18:49:36 UT
i'm creating an store finder application with the YM4R/GM plug-in. When i run rake db:migrate i get the error below. is there something i need to move in order for this plug-in to work? Cheers, Jason jason-macbook:chapter2 munkie$ rake db:migrate (in /Users/munkie/rails_projects/m ashups/chapter2) DEPRECATION WARNING: Rake tasks in vendor/plugins/ym4r_gm/tasks are deprecated. Use lib/tasks instead. (called from /Users/munkie/Developer/.rvm/g ems/ruby-1.8.7-p248/gems/rails -2.3.8/lib/tasks/rails.rb:10)
Testing an installed gem
Sat, 24 Jul 2010 19:06:18 UT
I know how to run tests on my app, but how do I run tests on a rvm installed gem?
Rails Hosting Question
Sat, 24 Jul 2010 16:28:40 UT
All, I'm a system administrator who has been tasked with learning to develop in Ruby and also deploying a development->production Ruby on Rails service for some internal applications. Currenty, I'm using Redhat Enterprise, Ruby 1.8.7 and Rails 3.0 Beta 4 on Phusion Passenger. I've followed the tutorials and have everything
Benefits of Hiring Web Development Company For PHP Development
Fri, 23 Jul 2010 15:19:23 -0500
The Internet is a medium that has deep penetrated its roots in the lives of the millions of people. A whole lot of old and new businesses are willing to dive into the world of virtual...
Use Drupal Solutions to Enhance the Business's Presence Online
Fri, 23 Jul 2010 18:09:38 -0500
An open source content management system that is used to develop a variety of websites is none other than Drupal. It has made possible to create personal to corporate sites or from community portals to complex web applications easily. The Drupal CMS experts can publish and manage the content effectively on the websites.



