Tag Archives: rails thrissur

Rails API

1) follow  railcast no:-348 In /public/index.html file use function addTask as the following way instead of described function addTask(ta) { $(‘#tasks’).append(‘<li>’ + ta.task.name + ‘</ul>’); } Reference 1) http://railscasts.com/episodes/348-the-rails-api-gem?view=asciicast 2) https://github.com/rails-api/rails-api 3) http://davidsulc.com/blog/2011/04/10/implementing-a-public-api-in-rails-3/   Securing a API  ( but not … Continue reading

Posted in rails, ROR, ruby on rails, web development | Tagged , , , , , , | 1 Comment

AngularJS with Rails

1) Check the following URL for installation http://blog.ricodigo.com/blog/2012/10/14/announcing-the-release-of-angularjs-scaffold/ 2) for basics and for advance coding refer the following URL http://angularjs.org/ 3) for Installing/coding jasmine 1) https://github.com/pivotal/jasmine/wiki/A-Ruby-project-%28with-or-without-Rails%29 2) http://railscasts.com/episodes/261-testing-javascript-with-jasmine   http://www.klairvoyant.in

Posted in javascript, rails, ROR, ruby on rails, web development | Tagged , , , , , , , | 1 Comment

What is YAML?

YAML(YAML Ain’t Markup Language) is a human friendly data serialization standard for all programming languages.YAML support comes built in to the ruby language.ruby uses yaml in Fixtures and for the database description file. YAML is an excellent choice for serializing … Continue reading

Posted in rails, ruby on rails | Tagged , , | Leave a comment

Rails Solutions No:3

How can I find rails version number ? gem list. Klairvoyant Infosolutions likes Klairvoyant Create your Like Badge for klairvoyant

Posted in rails | Tagged | Leave a comment

Rails Solutions No:2

Problem : Routing Error – No route matches … with {:method=>:get} Access denied for user ‘root’@’localhost’ (using password: NO) Solution: Restart Mongrel Klairvoyant Infosolutions likes Klairvoyant Create your Like Badge for klairvoyant

Posted in rails | Tagged | Leave a comment

Rails solutions No: 1

Problem:- undefined method `generated_methods’ for 8:Fixnum Solution I got:-  Beware reserved words in legacy database One of my legacy tables (the main one) had a column name in it called class.  It’s supposed to represent a student’s class standing in … Continue reading

Posted in rails | Tagged | Leave a comment