Displaying 20 results from an estimated 5000 matches similar to: "PGError: ERROR: invalid byte sequence for encoding "UTF8": 0xa0"
2010 Dec 01
10
How to Redirect from http://mysite.com to https://www.mysite.com on Herok
Hello I''m looking to learn how to redirect all non-www (mysite.com) to
https://www.mysite.com
I tried the following:
class ApplicationController < ActionController::Base
before_filter :check_uri
def check_uri
redirect_to request.protocol + "www." + request.host_with_port +
request.request_uri if !/^www/.match(request.host) if Rails.env ==
2010 Nov 11
2
Rails 3 - Nested Forms, using Builder -- Check_box issue
Hello, I have the following:
My Controller:
def new
.
.
@teammembers.each do |teammember|
request = @request_thread.requests.build(:recipient_id =>
teammember.user_id, :full_name => ''Billy Bob T'')
end
My View:
.
.
<%= f.fields_for :requests do |builder| %>
<div class="field">
<%= builder.label
2010 Dec 22
2
Rails - JSON object with an array?
Hello, I''m able to create and send a JSON object like so:
@mylist << {
:id => item.id,
:name => name.id
}
render :json => { :result => ''success'', :mylist => @mylist }
That works great. Problem I''m having now is that I need to include
users which can be 1 or users per item.
@mylist << {
This installation of RMagick was configured with ImageMagick 6.6.4 but ImageMagick 6.6.5-0 is in use
2010 Nov 20
2
This installation of RMagick was configured with ImageMagick 6.6.4 but ImageMagick 6.6.5-0 is in use
Hi all, just installed ImageMagick on my Mac, then added the gem
rmagick, and not can''t launch the server on my local machine. Anyone
experience this or have any ideas?
rails s
/Library/Ruby/Gems/1.8/gems/rmagick-2.13.1/lib/RMagick2.bundle: This
installation of RMagick was configured with ImageMagick 6.6.4 but
ImageMagick 6.6.5-0 is in use. (RuntimeError)
from
2011 Mar 08
2
Rails - Acts as Nested - Impossible move, target node cannot be inside moved tree.
Hello, I''m using the Awesome Nested Set plugin:
https://github.com/collectiveidea/awesome_nested_set
And in my model I do the following:
acts_as_nested_set
after_save :ensure_max_nestedset_level
private
def ensure_max_nestedset_level
if self.level > 2
self.move_to_child_of(parent.parent)
end
end
I do this to keep the levels from getting
2010 Dec 21
8
Rails - escape_javascript without all the \n\n\n\n\n
Hello, I''m using escape_javascript to return a partial to the browser
via ajax.
Something like:
$("#inject").html("<%=escape_javascript(render :partial =>"feed/
index")%>");
Problem is escape_javascript ends up outputing all kinds of wasted
space like
\n\n\n\n\n \n
Is there anyway in Rails to escape_javascript more
2010 Sep 21
25
Working in install acts_as_commentable, On create, error: "unknown attribute: book_id"
Hello, I''m working to install the acts_as_commentable plugin on my
Rails 3 app.
After adding "acts_as_commentable" to my book model, I then added a
comment form on my book show view:
<% form_for(@comment) do|f| %>
<%= f.hidden_field :book_id %>
<%= f.label :comment %><br />
<%= f.text_area :comment %>
<%= f.submit "Post
2010 Jan 19
1
PGError: ERROR: operator does not exist: character = integer
Hi,
I''m using PostgreSql database with the rails application,In a
functionality I''m trying to compare two attributes in a condition, one
is of type varchar and other the Integer. While doing so i''m getting the
error as below.
ActiveRecord::StatementInvalid: PGError: ERROR: operator does not exist:
character = integer
LINE 5: WHERE PART.part_number =
2007 Mar 19
0
PGError "unknown column" on polymorphic association column
Hi all !
This is very strange. I am attempting to get my application running
on PostgreSQL (from MySQL), and I get this error:
ActiveRecord::StatementInvalid: PGError: ERREUR: la colonne «Party»
n'existe pas
: SELECT * FROM contact_routes WHERE (routable_type = "Party" AND
routable_id = 1000013) ORDER BY position DESC LIMIT 1
2011 Feb 17
4
PGError: ERROR: relation "instructions" does not exist
HI,
I got this error when i am testing my rails application. I dont have the
table named ''instructions''. But it shows a error like "ERROR: relation
"instructions" does not exist". Totally, I got same error for 64 tests as 64
errors.
I am using rails 3.0, Ruby 1.9.2, Netbeans 6.8.
PS: I didnt creat Instruction manual for rails application.
*Error:
2010 Apr 14
3
PGError: duplicate key
I''m running a rails 2.3.5 / ruby 1.8.7 / postgresql 8.4.2 app and have
just run into a curious problem.
I have several tables that are initialized with data from csv files
and I''ve noticed that, when I try to add new data to any of these
tables via Table.new I get a PGError on duplicate key.
For example:
MIGRATION:
class CreateNumbers < ActiveRecord::Migration
def self.up
2017 Jul 14
2
No email notifications from Phabricator
It seems emails to me were not sent out due to them being held back by
sendgrid spam protection. In case somebody else has this problem, this
might be something to look into.
Best,
Tobias
On Fri, Jul 14, 2017, at 10:12 AM, Manuel Klimek via llvm-dev wrote:
> Phab was down during the night, should be back up now. When phab is down,
> emails don't get sent out (all emails get sent out
2011 Aug 24
9
PGError: server closed the connection unexpectedly
Hi,
Since 1-2 weeks I get a lot of "PGError: server closed the connection
unexpectedly" errors and I cant figure out where it is coming from.
Haven''t found any solution on Google either.
My setup is:
Postgres
Rails 2.3.9
Passenger
Ruby 1.9.2
Thought it might be passenger, so I stopped the spawning, it seems to
have helped a bit, but I still get these errors.
The errors are
2015 Jul 09
2
[LLVMdev] Phabricator update
I filed a ticket with sendgrid. Since we're paying them money nowadays, I
hope they'll answer quickly
On Thu, Jul 9, 2015 at 10:05 AM Manuel Klimek <klimek at google.com> wrote:
> aaaaaand you're on the bounce list again. I'm going to delete you again,
> but I'd be curious what the problem is...
>
> On Wed, Jul 8, 2015 at 6:50 PM Adam Nemet <anemet at
2015 Jul 10
2
[LLVMdev] Phabricator update
Do you have a bounced email, we can look at for clues?
> On Jul 10, 2015, at 12:49 AM, Manuel Klimek <klimek at google.com> wrote:
>
> Ok, apple addresses still bounce without a reason - the sendgrid folks say this is completely controlled by apple.com <http://apple.com/>'s mail servers - do you have somebody you can ask?
>
> On Thu, Jul 9, 2015 at 10:10 AM Manuel
2015 Jul 10
2
[LLVMdev] [cfe-dev] Phabricator update
It's actually surprising to me that the emails from Phabricator and llvm's
svn *DO* get through most of the time.
Both of these fabricate the "From" address to generate an email purportedly
be from the author of the svn revision or phabricator comment's email
address. While the message is hopefully from the real person behind that
email address, those messages are decidedly
2010 Nov 01
2
paperclip Image Versioning
Hello. I''m hoping to hear your recommendations on using paperclip for
images with versioning.
Anyone know of any elegant paper_clip image, versioning implementation
solutions?
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
2020 Jul 28
2
Phabricator down for maintenance tonight
On Tue, Jul 28, 2020 at 11:04 AM MyDeveloper Day <mydeveloperday at gmail.com>
wrote:
> Out of interest are you keeping the local modifications in a fork of the
> Phabricator source (llvm-phabricator)? Firstly we should be keeping any
> changes we make in source control but also it's good to review those
> changes.
>
I didn't innovate, Manuel set it up originally and
2020 Aug 27
2
Phabricator new review email behaviour change?
Hi,
Is it me, or has Phabricator changed at some point in the past week or two
with regards to emails for newly created reviews? I noticed this morning
that my mailing rule (which previously simply marked new emails from
review at reviews.llvm.org with a specific tag) was no longer working for
them, and consequently, I missed several new review requests. (It wasn't an
issue for subsequent
2006 Jun 15
8
postgresql sequence and migrations
I have a specific need to ''fixate'' my ''roles'' table sequence when
migrating.
at migration #4, I have 28 records in my roles tables and I can manually
reset the roles_id_seq but it stands to reason that since I am doing
everything else in the migration, I might as well reset the sequence
there too.
so I tried this in my migration file...
execute