Displaying 20 results from an estimated 200 matches similar to: "cannot do mass_assignment when inherited class ?"
2009 Mar 09
2
rake:db:prepare Mysql::Error: #42000BLOB/TEXT column ' used in key specification without a length
I have a test environment running rails 1.2.3. I am just starting to
introduce testing into this project.
When I run a rake db:prepare. I see this message "Mysql::Error:
#42000BLOB/TEXT column ''short_description'' used in key specification
without a key length: CREATE INDEX ''short_description'' on cached_cars
(''short_description'')
The
2006 Jul 19
4
sorting and pagination
Hello All,
Okay i think I''m finally getting all of what i want out of ferret
working, thanks mostly to reading this forum and also getting ALOT of
questions answered, thanks alot everyone. Anyway my last ferret task is
too get the results sorted by a field called date_registered and have
this working with pagination.
here is what i''m doing at the moment:
2016 Apr 26
3
[Openmp-dev] [cfe-dev] RFC: Proposing an LLVM subproject for parallelism runtime and support libraries
Chandler,
It seems that the general consensus is to save further discussions for
later and go ahead with your proposal. I can add my +1 to this as well.
Could you / Jason prepare a proposal on the new project, with all the usual
questions covered? One interesting thing is where to put SE and
libomptarget in the project's tree. I would be happy to review it from
Intel / OpenMP side.
Also, as
1997 Jul 23
11
mailing list
pls could you include my name in the samba Digest mailing list,
thanks Mark.
2012 Sep 13
10
access key error
I am getting following error while run my rails app in my server
ActionView::Template::Error (You did not provide both required access keys.
Please provide the access_key_id and the secret_access_key.):
--
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
2006 Nov 12
4
Include option type in gconf schema
I am writing a configuration front end for the compiz gconf plugin at the
moment, but it's proving harder than it should be because gconf does not
record what type of compiz option the key is. For example, say i want a
color picker for each color option the only way I can tell with gconf if it
is color is if it has a # at the beginning, but there could be string
option which also have a # at
2016 Apr 27
0
[Openmp-dev] [cfe-dev] RFC: Proposing an LLVM subproject for parallelism runtime and support libraries
Ahh, I just noticed that Chandler's proposal is to put SE only into this
new project, and to keep libomptarget separately, in OpenMP project. I
wonder why so? Why SE (a library serving only one PPM so far) is different
from libomptarget (a library also serving only one PPM so far)?
Are people have opinion on this?
Yours,
Andrey
=====
Software Engineer
Intel Compiler Team
On Tue, Apr 26,
2006 Jul 14
3
Whitespace Issues
I am trying to build up a filtered search using the logic below.
bq = Ferret::Search::BooleanQuery.new
bq.add_query(Ferret::Search::TermQuery.new(Ferret::Index::Term.new("section",section.downcase!)),
Ferret::Search::BooleanClause::Occur::MUST)
filter = Ferret::Search::QueryFilter.new(bq)
@vobjects = VoObject.find_by_contents(search_input,:filter =>
filter, :sort
2006 Dec 14
12
Saving dates
Hi having trouble saving dates in my form i have the following in the
view
<%= date_select("details", "open_date") %>
and i have
@exhibition.open_date = params[:details][:open_date]
and then
@exhibition.save
All the other values form (not seen here) get saved but not the dates.
What am i doing wrong ?
--
Posted via http://www.ruby-forum.com/.
2007 Oct 16
2
Where override model attribute names?
OK, so I get that ActiveRecord determines model attributes through
reflection of the table schema. Handy for many cases, but not mine.
I need to override that and provide my own mapping of attribute names
to column names to use the mapped names throughout the application code.
I''ve been poking around looking for where in AR''s hierarchy I can can
inject this mapping, but
2016 Apr 22
9
[Openmp-dev] [cfe-dev] RFC: Proposing an LLVM subproject for parallelism runtime and support libraries
> On Apr 22, 2016, at 3:01 PM, Chandler Carruth <chandlerc at gmail.com> wrote:
>
> I feel like this thread got a bit stalled. I'd like to pick it up and try to suggest a path forward.
>
> I don't hear any real objections to the overall idea of having an LLVM subproject for parallelism runtimes and support libraries. I think we should get that created.
I think it
2006 Aug 28
1
stop words and /''s
Hi new version of ferret and acts as ferret have sorted out the scary
glibc *** linked list pointer errors, thank god! New version are good
but some searches are still not working. It is mostly the stop words
ones. For example the "For Sale/Free/Swap" fails but works when "for" is
stripped out. I have read all the recent posts regarding this issue and
failed to get it to
2006 Sep 05
15
ferret finds ''tests'' but not ''test''
Hello all,
Quick question (possibly!) - I''ve got a few records indexed and doing a
search for ''test'' reports in no hits even though I know the word ''tests''
exists in the indexed field. Doing a search for ''tests'' produces a
result. I would have thought that ''test'' would match ''tests'' but no such
2006 Jul 09
3
acts_as_ferret.. what does it actually do?
Okay in this plea for help I''m going to repeat some of what i posted
before but with a larger amount of background info in the hope that i
can get a decent grip on ferret before it wriggles away..
Firstly, what does installing the acts_as_ferret plugin actually do? I
install it and add it to my model and then the index is automatically
generated and a few methods are added to it and
2010 Oct 10
1
eLibrary doesn't work
I would to use this software to manage my books, but it doesn't start. I've installed net 2.0.
In wine database the last information are too old so I would to know if someone have resolved or want to resolve the problem
2012 Mar 27
16
[PATCH 01/16] generator: Fix unescaped '<' and '>' in api descriptions
---
generator/generator_actions.ml | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/generator/generator_actions.ml b/generator/generator_actions.ml
index 68a7bf6..fcf363f 100644
--- a/generator/generator_actions.ml
+++ b/generator/generator_actions.ml
@@ -4664,7 +4664,7 @@ This creates an ext2/3/4 filesystem on C<device> with
an external journal on
2012 Mar 28
1
[PATCH] Split gobject sources into 1 file per class
This patch replaces patches 14 and 15 from my previous series. The gtk-doc
output is now reasonable, and we can rely on an automatically generated
guestfs-sections.txt.
Matt
2016 Apr 25
2
[Openmp-dev] [cfe-dev] RFC: Proposing an LLVM subproject for parallelism runtime and support libraries
Chandler,
Thank you for getting it up to ML top.
I believe we have to move broader than that you just mentioned. The natural
separation of the infrastructure into different parts can be across the
following lines:
- the parallel model of programming - these can be OpenMP, OpenACC,
CilkPlus, OpenCL, StreamExecutor, CUDA, C++ parallel extensions, etc.
- the offloading machinery to be used by any
2009 Feb 02
2
looking for help with NoMethodError: undefined method `key?' for #<String:0x4795488>
Hi all,
Any help with this would be appreciated. I''m using instant rails,
updated to 2.2.2, on Windows XP.
I''ve created my DB and scaffolded a few things and put some fixtures
into place, and when I run the tests I get many errors that look like
this:
---------------------------------
1) Error:
test_the_truth(EntityTest):
NoMethodError: undefined method `key?'' for
2011 Oct 26
6
Add an index to a form
Hello,
I''m having some trouble with forms, my app allows to enter data by
using a multi-step form that has 7 steps.
There are 3 steps that may let the user to add 1 form, for example
there''s a step called "children"
and that children has the following fields:
* name
* age
* gender
but one father may have more than 1 child and I''m adding another form
with