Bonjour à tous,
Je développe une grosse application en Rails 3.2.7 qui est connecté à
une BD Postgres 8.4 installée sur la même machine. L'application
s'exécute sur Apache avec le module Passenger.
L'application est constamment utilisée par une centaine d'utilisateurs
et ne pose aucun problème
When a form is submitted and handled by Rails, it doesn't strip out empty
parameters, instead just inserting those values as-is (blank strings). I'm
not claiming this to be a problem or a bug, I just want to know if there is
a built-in way to normalize these values to ensure clean data. I've
On 10 October 2012 23:44, Jeffrey L. Taylor r...@abluz.dyndns.org wrote:
Quoting Colin Law clan...@googlemail.com:
On 10 October 2012 10:39, RoR Uk railsuk...@gmail.com wrote:
Hi All,
I want to know the EOL date for the below gems for ROR. Can anyone help me
how to find the EOL dates
On 10 October 2012 23:54, Sri ganesh K srickgan...@gmail.com wrote:
If i have two models like Question and Answer. Question has three columns
like question_id, question_type, question_text and Answer has three values
answer_id, question_id, answer_text.
Question should generally not have a
hello,
if you want a default null in a column you can define it in the
migrations.
for example:
t.text :columnname, null: true
hope i understand your problem.
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups Ruby
on
I have a document with tables in it. I want to convert the each cell
present in the table to image.
Any suggestions...
--
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,
On 11 October 2012 10:57, kiran cy li...@ruby-forum.com wrote:
I have a document with tables in it. I want to convert the each cell
present in the table to image.
I, for one, have little idea exactly what you mean by this. What sort
of document? What do you mean by convert each cell to an
Colin Law wrote in post #1079401:
On 11 October 2012 10:57, kiran cy li...@ruby-forum.com wrote:
I have a document with tables in it. I want to convert the each cell
present in the table to image.
I, for one, have little idea exactly what you mean by this. What sort
of document? What do
On 11 October 2012 11:08, kiran cy li...@ruby-forum.com wrote:
Colin Law wrote in post #1079401:
On 11 October 2012 10:57, kiran cy li...@ruby-forum.com wrote:
I have a document with tables in it. I want to convert the each cell
present in the table to image.
I, for one, have little idea
Colin Law wrote in post #1079405:
On 11 October 2012 11:08, kiran cy li...@ruby-forum.com wrote:
What has this got to do with Ruby on Rails?
Colin
I just have to upload the ms-word document file and click the upload
button which should give me the images of the each cell in the table.
how
On 11 October 2012 11:24, kiran cy li...@ruby-forum.com wrote:
Colin Law wrote in post #1079405:
On 11 October 2012 11:08, kiran cy li...@ruby-forum.com wrote:
What has this got to do with Ruby on Rails?
Colin
I just have to upload the ms-word document file and click the upload
button
Colin Law wrote in post #1079407:
On 11 October 2012 11:24, kiran cy li...@ruby-forum.com wrote:
Colin
I have tables in ms-word document(of format doc).
I want to convert the data present in each cell either it may be text or
image to the image
How do you suggest I do it?
As I said the
On 11 October 2012 11:40, kiran cy li...@ruby-forum.com wrote:
Colin Law wrote in post #1079407:
On 11 October 2012 11:24, kiran cy li...@ruby-forum.com wrote:
Colin
I have tables in ms-word document(of format doc).
I want to convert the data present in each cell either it may be text or
I have issues with radiant cms version 0.8.2.In Application,when i click on
submit on form application got an error uninitialized controller which is
in radiant/app/controller.
error :
NameError (uninitialized constant ResourceController):
Hello,
I have this models
class Berichten ActiveRecord::Base
attr_accessible :bericht, :user
belongs_to :user
belongs_to :Category
end
class User ActiveRecord::Base
attr_accessible :email, :name
has_many :berichten
end
class Category ActiveRecord::Base
attr_accessible :id
i tried little bit but it doesn't helpful to me (with the help of googling
and stackoverflow suggestions ):
1. class Admin::ResourceController ApplicationController this is in
resource_controller.rb file. and i also tried to put resource_controller.rb
file out of admin. but it gives error
Colin Law wrote in post #1079413:
On 11 October 2012 11:40, kiran cy li...@ruby-forum.com wrote:
file in ruby, which I don't know how to do. Did google help you with
this? Is suggest googling for
ruby read .doc
Colin
I can read doc using the docx gem, my problem is identifying the cell
On 11 October 2012 12:31, kiran cy li...@ruby-forum.com wrote:
Colin Law wrote in post #1079413:
On 11 October 2012 11:40, kiran cy li...@ruby-forum.com wrote:
file in ruby, which I don't know how to do. Did google help you with
this? Is suggest googling for
ruby read .doc
Colin
I can
On Thu, Oct 11, 2012 at 4:23 AM, roelof rwob...@hotmail.com wrote:
class Berichten ActiveRecord::Base
attr_accessible :bericht, :user
belongs_to :user
belongs_to :Category
Category there should not be capitalized
end
What I wonder is what the right url is when I want to place a new
Colin Law wrote in post #1079421:
On 11 October 2012 12:31, kiran cy li...@ruby-forum.com wrote:
@zip = Zip::ZipFile.open(path)
@xml=Nokogiri::XML(@zip.find_entry('word/document.xml').get_input_stream)
if block_given?
yield self
@zip.close
end
end
I don't understand why
On 11 October 2012 12:46, kiran cy li...@ruby-forum.com wrote:
Colin Law wrote in post #1079421:
On 11 October 2012 12:31, kiran cy li...@ruby-forum.com wrote:
@zip = Zip::ZipFile.open(path)
@xml=Nokogiri::XML(@zip.find_entry('word/document.xml').get_input_stream)
if block_given?
On Thu, Oct 11, 2012 at 6:23 AM, roelof rwob...@hotmail.com wrote:
Hello,
I have this models
class Berichten ActiveRecord::Base
attr_accessible :bericht, :user
belongs_to :user
belongs_to :Category
end
class User ActiveRecord::Base
attr_accessible :email, :name
has_many
The controllers looks now like this :
class BerichtenController ApplicationController
def new
end
def index
@berichten = Berichten.all
end
def delete
end
def show
end
end
class
And the other controller:
lass UsersController ApplicationController
def new
end
def
Line 49 is the last line given in my CustomersController code. (---LINE
49)
The problem is that there isn't a save, but I am just connecting the
authentication to my customers authentication association.
I can't do the save! because of that...
--
Posted via http://www.ruby-forum.com/.
--
Ah, then you probably missed an end somewhere.
Walter
On Oct 11, 2012, at 10:23 AM, Remi B. wrote:
Line 49 is the last line given in my CustomersController code. (---LINE
49)
The problem is that there isn't a save, but I am just connecting the
authentication to my customers
So far I came with a solution for two of this issues:
1) Url using a pluralized name of the object User solved with:
self.collection_name = user
2) Removing the extension from the URL, I solve this adding a Module
that I found googling around to override some methods of AR.
I thought that
Just create admin.html.erb like application.html.erb under views/layouts/
And
Just mentions in your controller which ever controller you need to use
admin layout
class TestController InheritedResources::Base
layout admin
end
On Thu, Oct 11, 2012 at 1:13 AM, Johann Christoph Gorzny
On Oct 11, 2012, at 1:16 AM, bricker wrote:
When a form is submitted and handled by Rails, it doesn't strip out empty
parameters, instead just inserting those values as-is (blank strings). I'm
not claiming this to be a problem or a bug, I just want to know if there is a
built-in way to
Hello,
In my site I am using 'thin' server and my environment is Rails 3.0.3
and Ruby 1.8.7. Certain pages in site take a long time to process and as
I am hosting it on Heroku I get timeout errors frequently. I am planning
to use http streaming in this setup. When I use curl on the command
prompt
there are a lot of solutions , some gems requiring a separate server
setup...
I need to search for occurrences of some 'text in multiple columns
( :name; :email, :description, ..)
Should I actually setup a SOLr server ?
thanks for feedback
--
You received this message because you are
On Thu, Oct 11, 2012 at 12:44 PM, Erwin yves_duf...@mac.com wrote:
there are a lot of solutions , some gems requiring a separate server
setup...
I need to search for occurrences of some 'text in multiple columns
( :name; :email, :description, ..)
https://github.com/Casecommons/pg_search
Solution
Because of the hashing of my password, it validated the wrong length.
Now I made sure that my validation was performed before I hashed my
password.
NEW PROBLEM (damn it's still tricky for me)
---
Stating the
On Oct 11, 2012, at 2:03 PM, Remi B. wrote:
Solution
Because of the hashing of my password, it validated the wrong length.
Now I made sure that my validation was performed before I hashed my
password.
NEW PROBLEM (damn it's still tricky for me)
Thanks , seems to be only for Postgres... I'm using MySQL.. Testicle
seems to be inetresting Oh sorry .. Texticle
On 11 oct, 19:51, Jordon Bedwell envyge...@gmail.com wrote:
On Thu, Oct 11, 2012 at 12:44 PM, Erwin yves_duf...@mac.com wrote:
there are a lot of solutions , some gems requiring a
Sorry, did not include that one...
validates :email, :presence = true, :confirmation = true, :format =
{:with = /\A[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]+\z/}
Thats what is in my Customer validation
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you
Thanks to all for helping me. Problem Solved : ).
--
Mandeep Kaur
http://mandeepsimak.wordpress.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@googlegroups.com.
To unsubscribe
On Thu, Oct 11, 2012 at 1:27 AM, Walther Diechmann
walt...@diechmann.net wrote:
As much as I understand the dire circumstances of our global maltreated
economy prompting extraordinary measures, I am still to uncover the
motives luring peoples searchers into posting their particulars on a
On Fri, Oct 12, 2012 at 3:44 AM, Erwin yves_duf...@mac.com wrote:
there are a lot of solutions , some gems requiring a separate server
setup...
I need to search for occurrences of some 'text in multiple columns
( :name; :email, :description, ..)
Should I actually setup a SOLr server ?
I
38 matches
Mail list logo