Displaying 10 results from an estimated 10 matches for "amvi".
Did you mean:
avi
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
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 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 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
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 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