Displaying 20 results from an estimated 60000 matches similar to: "How to add new column into table when server is running?"
2010 Jun 30
1
App not run when I upload on hosting support RoR
I have app RoR good running on NetBean with JRuby
But, I upload up server to server, it not run.
I have ready setup rubygem.
Cau you help me?
please guide detail with me about work from how to upload code to server
host and start running app RoR.
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk"
2010 Jun 16
2
how to call a function after 10 minutes or second?
Hi all,
I have a problem.
I want to call some function after every 10 minutes. But I don''t it.
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this
2010 Aug 19
6
Depreciation warning when running a db migrate!
Hey,
Whenever i try and run a db migrate i get this error:
DEPRECATION WARNING: Rake tasks in vendor/plugins/livevalidation/tasks
and vendor/plugins/restful-authentication/tasks are deprecated. Use
lib/tasks instead. (called from
/Users/Zack/.gem/ruby/1.8/gems/rails-2.3.8/lib/tasks/rails.rb:10)
I tried moving the different plugins task rake files to lib/tasks and i
got no error but the database
2011 Aug 23
12
remove a table with migration
HI, guys,
How to remove a table with migration, i saw a drop down method in
migration created file , how can i use that ?
thank you.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email
2013 Jun 02
16
Ruby 2.0 is running, but Rails 4 doesn't see it.
What am I doing wrong??
****@ubuntu:~/ruby/things_i_bought$ rake db:migrate
Rails 4 prefers to run on Ruby 2.0.
You''re running
ruby 1.8.7 (2011-06-30 patchlevel 352) [i686-linux]
Please upgrade to Ruby 1.9.3 or newer to continue.
****@ubuntu:~/ruby/things_i_bought$ ruby -v
ruby 2.0.0p0 (2013-02-24 revision 39474) [i686-linux]
****@ubuntu:~/ruby/things_i_bought$ rvm
2013 Apr 24
3
join table naming
Hi,
I’m an amateur learning rails and could use some help…
I created a join table “pictures_questions”
and append to it in the following way:
@picture = Picture.new(params[:picture])
…
if @picture.save
@question.pictures << @picture
Everything works fine but honestly I think I got this working by sheer
luck and trial and error. I have 2 questions:
1. I do not understand the
2012 Feb 01
10
Very strange problem: Ton's of ruby process just running simple command "rails --version" or "rails
Very strange problem: Ton''s of ruby process just running simple command
"rails --version" or "rails new test1""
I have very strange problem. I try to run this simple command
"rails new test1" --> this suppose to be create a new rails site.
"rails --version" --> even this I got ton''s of ruby process
but I got a lot of ruby
2012 Feb 27
9
Bit of a issue with creating a new app and running it
HI all,
I have just setup the ROR environment on a vps, but once i created the
app and run rails s or db:create after modifying the database.yml it
keeps on appearing with the "Could not find gem sqlite3" etc message
which i know this as it''s not install as i am using mysql. What else
have i got to do other than modifying the database.yml as to me it''s
still looking
2012 Aug 28
16
rail s exiting
Hello everyone,
I am fairly new to ruby on rails, and I come across this tutorial on
treehouse where they help you make a simple version of facebook.
anyway, I was writing codes, and I came across this error and I am not
sure how to fix it. The error occurs after I type in rail s on the
command prompt and as soon as try to look at how it looks on
127.0.0.1:3000, it gives me this error. the
2013 May 31
11
A simple javascript alert not working
If I have a file in view /test called index.js.erb and in it a simple
alert("hello") shouldn''t that run when I go to /test/index? It doesn''t.
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it,
2010 Dec 05
14
Remove bundler
Can you remove bundler without any problem – for rails?
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
2012 Jul 17
24
Static Pages from Railcast
Hi everyone,
I need several pages to be static but also modify when requested. I try
following the railcast from Ryan at
http://railscasts.com/episodes/117-semi-static-pages?view=comments
Here what I have done!!
rails g scaffold Pages name:string permanentlink:string title:string
author:string access_level:string is_published:boolean
meta_description:string meta_keyword:string
2010 Jun 29
16
problem finding find current page
I have this bit of code in my email.controller
user = @current_user
story = @current_story
recipient = story.user
It doesn''t work because @current_story isn''t defined. How can I find the
current page to make this work?
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
2010 Mar 05
15
Three submits, one controller
I have a ''new'' page with a submit for creating stories. On the ''show''
page the submit allows a user to enter comments. I now want a ''edit''
page for the stories with another submit for updates. I have used the
''create'' and ''update'' methods in the stories_controller on the ''new'' and
2012 Apr 26
3
Multiple references of Country table in single client table
Hi I am new to ruby on rails , i am trying to develop a form client
form having multiple refrences to country... i.e while adding a client
i can add two contact persons each have a country associated with
them. However with scaffolding iam unable to refer country
twice....could anyone of you shed some light as to where iam going
wrong or what could be the rite way....
--
You received this
2012 Apr 09
8
Rails Functional Testing Problem
I''m trying to run some functional tests on Rails. However I am coming up
with the following error.
RuntimeError: Called id for nil, which would mistakenly be 4 -- if you
really wanted the id of nil, use object_id
app/controllers/posts_controller.rb:11:in `create''
posts_controller_test.rb:5:in `test_should_create''
Here is my test file
require
2011 May 22
11
Problems Connecting to SQL Server
Hi all
I want to connect my app to MSSQL but when i type
rake db:migrate
an erro occured like this:
←[31mCould not find gem ''odbc (>= 0, runtime)'' in any of the gem sources
listed in your Gemfile.←[0m
this is my YML file:
development:
adapter: sqlserver
mode: odbc
dsn: ontrack
host: BABAK-PC
pool: 5
timeout: 5000
and in my gem file
gem
2012 Mar 05
8
Create a select with HABM
Hello, I have two tables with association HABM, projects and users, and
in projects I want to show all users that was associated to the project.
I have try with this:
<%= select( "user", "id", Project.all.collect { |p| [ p.name, p.id ] } )
%>
But only show all my projects, but Iz don''t know who show only the user
in a determinated project.
class Project <
2013 Jan 03
8
How to Install Ruby and Rails
I want to install Ruby 1.8.7 and Rails 2.8.3,i am using ubuntu 11. Thank
you
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
2012 Apr 10
6
User Association
Please Im trying to create an application where i can post like twitter,
but i was the users name to be posted under their respective posts
My Post_controller looks like this
def index
@posts = Post.all(:order => "created_at DESC")
@users = User.find(:all)
#@user_id = current_user.find(params[:id])
respond_to do |format|
format.html
end
end
def create