On Sat, May 29, 2010 at 6:18 PM, Omar Moreno wrote:
> Ever since I updated rails to 2.3.8, script/server exits right after it
> starts.
> [2010-05-29 18:14:58] WARN TCPServer Error: Address already in use -
> bind(2)
> Exiting
> /usr/local/lib/ruby/1.9.1/webrick/utils.rb:73:in `initialize': Addr
I have concluded that the problem is not Rails or Rails3. I have come
to believe it is a Ruby problem. I have sent the comments below to a
ruby forum.
--
Windows XP can create a Résumé.html file but ruby cannot. Why?
The following code created the wrong filename
Ever since I updated rails to 2.3.8, script/server exits right after it
starts.
Here's the output
=> Ctrl-C to shutdown server
[2010-05-29 18:14:58] INFO WEBrick 1.3.1
[2010-05-29 18:14:58] INFO ruby 1.9.1 (2009-01-30) [i686-linux]
[2010-05-29 18:14:58] WARN TCPServer Error: Address already in
I want to open a tar.gz archive and display the content as a folder
structure and offer possibility to download and view the content. The
archive should not be compressed to a folder but only to a buffer.
Helper:
require 'tarruby'
def testFu
File.directory?(log_folder) or return "Log folde
On May 27, 7:18 am, BarryOg wrote:
> Hi all, I'm working on a polymorphic association and I've run into a bit of a
> stumbling block. I only seem to be able to traverse the relationship in one
> direction and not the other. This is what my code looks like:
>
> class NodeEntry < ActiveRecord::B
Hi John.
I like this library, it was just what I wanted.
I am a newbie, i did not understand how to put dynamically the numbers
of the days in the method IceCube::Rule.weekly
i have try this under Ruby on Rails:
##
all_days = []
all_days << 1 if params[:recurrent][:mon]
al
Ahmet Kilic wrote:
alexey wrote:
"We're sorry, but something went wrong. We've been notified about this
issue."
It is a rails error, and maybe you are in production mode,
My apache conf:
NameVirtualHost site.com:80
ServerName www.site.com
RailsEnv development
RailsAllowModRewrite
Hassan Schroeder wrote:
> On Sat, May 29, 2010 at 12:02 PM, Rc Bl wrote:
>> I am unable to install rails via the CLI, Fedora 13. This is a new
>> installation and I am not certain why I am receiving this error.
>>
>> ERROR: �Loading command: install (LoadError)
>> � �no such file to load -- zlib
>
On Sat, May 29, 2010 at 12:02 PM, Rc Bl wrote:
> I am unable to install rails via the CLI, Fedora 13. This is a new
> installation and I am not certain why I am receiving this error.
>
> ERROR: Loading command: install (LoadError)
> no such file to load -- zlib
You would get a pretty good ide
I am unable to install rails via the CLI, Fedora 13. This is a new
installation and I am not certain why I am receiving this error.
ERROR: Loading command: install (LoadError)
no such file to load -- zlib
ERROR: While executing gem ... (NameError)
uninitialized constant Gem::Commands::In
Oke,
Im now doing everything with nano and the prompt.
But I hit one problem.
on Chapter 6.2 I have to go to this url: /app/views/home/index.html.erb
But views only has layouts and posts in it.
Roelof
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are su
Olá, tudo bem... sou nova em ROR e estou precisando de ajuda com o
active query...
Bom.. tenho 3 models..
Staff, Appointment e Service..
Gostaria de saber quanto que esse staff gerou de serviço..
Obs.. O Staff possui 2 models filhos (Employees e Freelancer)
GOstaria de saber com faço isso.. fiz um
I've found:
class User < ActiveRecord::Base
acts_as_authentic do |c|
c.transition_from_restful_authentication = true
end
end
topic is closed
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" gro
Hi,
Can you just check once again that you don't have two migration files
creating books table? If not then you can choose books tables manually.
Thanks,
--Haribhau
On Sat, May 29, 2010 at 3:24 AM, DVM wrote:
> I am beginner for this Rails from the past 2 days I am working hard
> to fix t
Hello, I hope all is well. I am hoping someone can help me with a
problem that I am certain is user error?
The configuration details below work in all my other environments
including integration, development and qa. However, the production
servers give the following error:
unable to find server du
I mean delete books table manually from Database if you don't have two
migration files creating books table.
On Sat, May 29, 2010 at 3:49 PM, Haribhau Ingale wrote:
> Hi,
>
> Can you just check once again that you don't have two migration files
> creating books table? If not then you can choose
Hi Greg,
Rails by default use DB column name while displaying errors on UI. You can
choose one of the following options to write custom validation errors
1. User plugin http://rubyforge.org/projects/custom-err-msg/
2. Check validation errors in validate method and use add_to_base for
I have migrated a vendor/plugins/community_engine plugin from the
vendor directory to my own directory since I require that many changes
that its no longer a good idea to keep the vendor folder for it.
Everything works after some hiates only the stock desert_routes.rb
( http://pastie.org/983312 )
alexey wrote:
> "We're sorry, but something went wrong. We've been notified about this
> issue."
> It is a rails error, and maybe you are in production mode,
> My apache conf:
> NameVirtualHost site.com:80
>
> ServerName www.site.com
> RailsEnv development
> RailsAllowModRewrite off
>
After long time I found out init.rb was a plugin specific file and
moved it to /config/initializers
I had to remove this part of the code to make it working:
#reload CE in development
config.after_initialize do
if RAILS_ENV == 'development'
ActiveSupport::Dependencies.load_once_paths =
Act
I actually tried to add form_for in the partial and it appeared to work.
The form within a form wasn't a problem it seemed. However when a
validation error was detected, the dynamically rendered partial was
gone. When I tried to reselect the partial in the select box, the
content I added was wi
Marnen,
Sorry that we could not provide more info.crazy thing called
liability. The Bjarne Stroustrup initials were meant only to
illustrate that B. S. does not always stand for Bachelor of Science.
Again, throwing out the SRS was not meant literally.a given set of
functions can be design
John T. wrote:
> Trying to run 'gem outdated' on OS X (10.6.3) and I'm getting:
>
More info:
gem outdated -V
GET http://rubygems.org/latest_specs.4.8.gz
302 Found
GET http://production.s3.rubygems.org/latest_specs.4.8.gz
200 OK
ERROR: While executing gem ... (NoMethodError)
undefined metho
Trying to run 'gem outdated' on OS X (10.6.3) and I'm getting:
sudo gem outdated
ERROR: While executing gem ... (NoMethodError)
undefined method `first' for nil:NilClass
Here's my info:
john$ gem env
RubyGems Environment:
- RUBYGEMS VERSION: 1.3.7
- RUBY VERSION: 1.8.7 (2009-06-08 patc
Ar Chron wrote:
> Seems like pretty elementary logic...
> For populating the droplist on the form, you just need a set of items
> with a defined coding scheme (0 = today, 1 = 1 week, 2 = 2 weeks, 3 = 1
> month, 4 = 1 year, 5 = all, or some such).
>
> In the controller interpreting the link_to_re
Hi
I'm setting up authlogic and have an error:
Column 'perishable_token' cannot be null
.
.
Does anyone know what should generate value for this column?
Thanks in advance!
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google G
scuptor of clouds wrote:
> B. S. essential.
Good, because it appears that this posting contains a lot of it. :D
I understand that you wanted to do an out-of-the-box job posting, but
this doesn't seem to give much info about what you're really looking
for...
> If that rang up as �bubble sort�
Krishna Venkata wrote:
> I am beginner for this Rails from the past 2 days I am working hard
> to fix the following error
>
> C:\Murali Rubby\demo\library>rake db:migrate
> (in C:/Murali Rubby/demo/library)
> == CreateBooks: migrating
>
> -- c
rubybox wrote:
> As a 1 man ruby on rails developer I have several ideas / concepts for
> (near) future project and 1 active project im working on now. I found
> myself in the need of a nice good looking and simple project
> management to keep track of software development and features, goals
> and
Im working on an app but have been plagued by an unrecoverable error
module ApplicationConfiguration
require 'ostruct'
require 'yaml'
if File.exists?( File.join(Rails.root, 'config',
'application.yml') )
file = File.join(Rails.root, 'config', 'application.yml')
users_app_config = Y
Hi,
When an error is display, it first show the column concerned. Does
someone knows how to change the display column name?
Greg
--
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 g
I am beginner for this Rails from the past 2 days I am working hard
to fix the following error
C:\Murali Rubby\demo\library>rake db:migrate
(in C:/Murali Rubby/demo/library)
== CreateBooks: migrating
-- create_table(:books)
rake aborted!
An er
so i have read conflicting information about this, some seem to pull
it off, some say its impossible, but here is what i am trying to
accomplish.
i am using authlogic w/ lockdown, and when i create a new user, i want
to add an entry into the user_groups_users join table with the new
user id, and a
B. S. essential. If that rang up as ‘bubble sort’ or better still
Bjarne Stroustrup, then read on.
We are looking for a funny, intuitive, out-of-the box thinker and risk-
taker…Ruby expertise would be good too. Most importantly, you can
read our functional requirements, understand how these need
Hi Philip,
Earlier I manual dropped all the tables that didn't fix the problem
Now used rake db:drop db:create db:migrate but still geting rake aborted
message..
C:\Murali Rubby\demo\library>rake db:drop db:create db:migrate
(in C:/Murali Rubby/demo/library)
rake aborted!
Mysql::Error: Specifi
On May 29, 8:31 am, rubybox wrote:
>
> # Some soft of github server to store my code locally on my dev
> machine ( I dont want my code up on github )
Well git itself can serve remote clients. If you want a web interface
gitorious is opensource. I'd strongly reccomend that you don't just
host th
As a 1 man ruby on rails developer I have several ideas / concepts for
(near) future project and 1 active project im working on now. I found
myself in the need of a nice good looking and simple project
management to keep track of software development and features, goals
and milestones and version
On 28 May 2010 20:45, soheil danesh wrote:
> Hi,
>
> I'm using rails 3 and have an ajax form where users can add data,
> click submit, and it will be appended to a feed. The problem is if the
> users click submit (or press enter) multiple times, the form seems to
> be submitted multiple times as w
38 matches
Mail list logo