Displaying 15 results from an estimated 15 matches for "umpierre".
Did you mean:
lapierre
2012 Feb 07
10
Encoding error
Hello, I have in my db a register what have special characters, and when
I try to put on my form to edit this values, this happens:
incompatible character encodings: UTF-8 and ASCII-8BIT
Extracted source (around line #4):
1: <%= form_for :group, :url => { :action => "update" } do |f| %>
2: <%= utf8_enforcer_tag %>
3: <label>Nome do grupo</label>
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 <
2012 Jan 21
16
Installing rails on Ubuntu
Hello, I''m trying to install the rails on ubuntu 11.10, but when I put
the command
felipe@Felipe:~/Downloads/rubygems-1.8.15$ sudo gem install rails
--no-r1 --no-rdoc
ERROR: Loading command: install (LoadError)
no such file to load -- zlib
ERROR: While executing gem ... (NameError)
uninitialized constant Gem::Commands::InstallCommand
felipe@Felipe:~/Downloads/rubygems-1.8.15$
2012 Jun 30
5
Problems with associations
Hello guys, I have two tables, tasks and projects, and each model I put:
Task.rb
class Task < ActiveRecord::Base
attr_accessible :user_id, :project_id, :name
belongs_to :project
end
Project.rb
class Project < ActiveRecord::Base
attr_accessible :name, :description
has_many :tasks
end
But when I go to my prompt and I make a SELECT with task, none project
is returned.
2012 Feb 17
5
undefined method `key?' for nil:NilClass PaperClip
Hello, I have a problem with the paperclip, I put on my GemFile
gem "paperclip", "~> 2.6.0"
I create a migrate
class FileUpload < ActiveRecord::Migration
def up
change_table :projects do |t|
t.has_attached_file :image
end
end
def down
drop_attached_file :projects, :image
end
end
on my model I put
class Project < ActiveRecord::Base
2012 Feb 14
4
What I'm doing wrong, has_and_belong_to_many
Hello, I''m trying to insert into my migrate but when I try on rails
console this error shows:
1.9.3-p0 :001 > group = Group.new
=> #<Group id: nil, name: nil, description: nil, created_at: nil,
updated_at: nil>
1.9.3-p0 :002 > group.name = "Group Name"
=> "Group Name"
1.9.3-p0 :003 > group.description = "Description"
=>
2007 Aug 04
1
(no subject)
hola......tengo un problema, tengo un controlador de dominio sobre
windows server 2003, a la hora de adicionar un servidor linux ubuntu
server 7.04 al dominio windows me da el siguiente error
Using short domain name -- ECCMG
Failed to set servicePrincipalNames. Please ensure that
the DNS domain of this server matches the AD domain,
Or rejoin with using Domain Admin credentials.
Disabled account
2012 Mar 01
1
MD5 in action
Hello guys, I need to make a hash in each register, but I don''t know how
I can do this.
Just like this:
<%= link_to :action => "index", :hash => MD5 :project.id %>
/index?hash=202cb962ac59075b964b07152d234b70
Thank all!
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails:
2018 Jul 25
1
Sorry by the topic
I need your help, what about the steve's life, steve did send mail to this list, but there some time that i do not know about your life, can you say me if he have a mail?????
Sorry and thanks
** Alcatel Onetouch Idol 3 (5.5) **
en 25/07/2018 03:26, Rowland Penny via samba <samba at lists.samba.org> escribió:
>
> On Wed, 25 Jul 2018 02:58:29 +0100
> niya via samba
2012 May 31
14
How install libv8 (therubyracer) Windows 7
Hello, I have a problem when I try to add the gem therubyracer.
I put in my prompt:
bundle install, and this error appears:
C:\rails\organily>bundle install
Fetching gem metadata from https://rubygems.org/.........
Using rake (0.9.2.2)
Using i18n (0.6.0)
Using multi_json (1.3.6)
Using activesupport (3.2.3)
Using builder (3.0.0)
Using activemodel (3.2.3)
Using erubis (2.7.0)
Using journey
2018 Jan 06
1
Anonymous
Hello, can you say me how I can deny in my samba that some aplication can read my active directory users anonymous.
** Alcatel Onetouch Idol 3 (5.5) **
en 06/01/2018 16:55, Andrew Bartlett via samba <samba at lists.samba.org> escribió:
>
> On Sat, 2018-01-06 at 11:11 +0000, Antonios Kalkakos via samba wrote:
> > I have an AD with two Debian Stretch Samba 4.5.12 DCs. The Samba
2018 Jul 26
0
(no subject)
Ivan la mayoría en esta lista responde en ingles, tienes qué configurar tu servidor ntp para que los clientes sincronicen bien la hora
** Alcatel Onetouch Idol 3 (5.5) **
en 26/07/2018 01:03, Ivan Rojas via samba <samba at lists.samba.org> escribió:
>
> Tengo instalado samba AD en centos 7, pero tengo un inconveniente para
> sincronizar mis clientes con el servicio NTP, el
2012 Feb 28
0
upload and Read a xls or csv file rails 3
Hello guys, I''m trying to make a app that the user can send a xls or csv
file and I can catch the informations inside this file, but I don''t know
how I can do this.
Thanks for the help.
--
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
2012 Jun 11
0
Using AuthLogic
Hello, I''m trying to use the authlogic to make my login in my app.
The problem is when I change my user model.
user model:
class User < ActiveRecord::Base
attr_accessible :crypted_password, :email, :password_salt,
:persistence_token, :username
acts_as_authentic
end
create_users migration
class CreateUsers < ActiveRecord::Migration
def change
create_table :users do |t|
2012 Feb 06
0
Error ActiveRecord::ConnectionNotEstablished
Hello, this morning I was trying to access my app on my computer, but,
when I initialize the server and access localhost:3000, this message
shows up:
ActiveRecord::ConnectionNotEstablished
So, I try to access via rails console, but again, another error:
felipe@Felipe:~/rails_projects/simple_cms$ rails console