search for: vgrkrishnan

Displaying 12 results from an estimated 12 matches for "vgrkrishnan".

Did you mean: rkrishnan
2012 Apr 21
13
issues with changing directory structure in rails3
class BranchesController < ApplicationController def branch @branch = Branch.new (params[:branch]) branch_back = @branch.*branch* end end in the model have one *branch.rb* class Branch def branch end end In the view have one branches folder, also have the branch.html.erb in that folder. <%= form_for(@branch) do |f| %> <%end%> *routes.rb* * * match
2012 May 24
3
rails ajax issues
Hi * *I think this is my 4 or 5th post about the ajax issues with my rails code. But i couldn''t rectify my issues sofar. problem is, In my pages.html.erb have one text field and button. when i click on that button, the text field value will get into the controller through ajax,so after the function i need to get that value(textfield value) in same page. *page.html.erb*
2012 Apr 19
2
method value passing in rails
in my ruby on rails application, i have one controller class HomeController < ApplicationController def home puts "name.....#{@name}" end def branch *//HERE HAVE TO GET THE ABOVE FUNCTION VALUE @name* end end What am trying to do, i have to get the @name value in method branch. i could show the value in function home, but i didn''t get that in
2011 Oct 12
36
ROR setup on ubuntu machine
I am new to ROR, i need to setup ROR on my ubuntu machine. can u give some steps to follow for ROR? or some effective tutorials link to setup this? -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/ciRx6txsgY4J. To post to this group, send
2012 May 08
2
issues with text_field in rails
*view* <%= form_for(@mstype) do |f| %> <p> <%= f.text_field(:Name,:class => "span1",:placeholder => "x") %> <%end%> *Got the error like this* NoMethodError in Pgmdfntions#pgmdfntion Showing *pgm.html.erb* where line *#57* raised: undefined method `Name'' for #<Pgmdfntion:0xb457ad28> But i could do this as same before. but in
2011 Nov 22
7
rake aborted with ruby on rails
when i run * rake db:create* * * WARNING: ''require ''rake/rdoctask'''' is deprecated. Please use ''require ''rdoc/task'' (in RDoc 2.4.2+)'' instead. at /home/vishnu/.rvm/gems/ruby-1.8.7-p352-D9TI4Ms3gBgeRYYz77F+sQ@public.gmane.org/gems/rake-0.9.2.2/lib/rake/rdoctask.rb DEPRECATION WARNING: Rake tasks in
2011 Nov 22
0
gems problem with ruby on rails application
I am fed up with so many gems problems to running one ruby on rails application , which use ruby 1.8.7 and rails 2.3.6. so some gems which related with 2.3.6 not getting now a days. we just change to 2.3.11 in * (environment.rb). *and when i run* bundle instal*l command, which shows* could not find gemfile* .already i have install all the gems which using in that application. Any way to solve
2011 Dec 27
1
sub query issue with active record.
i can manage the MySQL queries into active record.but in some cases basically with sub-queries.i didn''t get the correct output. here when i trying to change the MySQL queries into active-record. *MySQL Query* *select count(*) from ( SELECT transactions.loyalty_id FROM transactions JOIN loyalties ON (transactions.loyalty_id = loyalties.id) where loyalties.created_at >
2012 Jan 16
0
Rails3 logging issue in development.log
I have a rails3 app, i need to log all into development.log, But when i check after the execution, the development.log is empty...How to rectify this problem... *development.rb* * * ApiMofobi::Application.configure do # Settings specified here will take precedence over those in config/application.rb # In the development environment your application''s code is reloaded on #
2012 Jul 08
0
getting company logo from LinkedIn api
am using linked-in API for getting some information from linked-in. so here i using like this @response = @access_token.get(''http://api.linkedin.com/v1/people/~:(id,phone-numbers,first-name,last-name,skills,positions:(company:(name,id)))'', ''x-li-format'' => ''json''). so i need to get the company logo from my current and previous
2012 Mar 06
2
rails login page with basic authorization
i have 2 portal, one and two. The portal one have all apis, and the portal Two have the interfaces, Here just i am doing enter the username and password in the login page so that will go the method of Portal Two. Then it will pass the username and password of a method of Portal One, this is am doing here. My question is how to do the basic authorization for encrypt the username and password
2011 Oct 16
4
Ruby on rails with twitter integration
after i searched, i got so many links related with the twitter integration , Then i do that with one following link http://cbpowell.wordpress.com/2011/03/17/twitter-oauth-and-ruby-on-rails-integrated-cookbook-style-in-the-console-updated-for-twitter-1-0/ after some steps with the rails console, *Then i got some errors after i gave the steps to send the tweet from the application * * client