Displaying 20 results from an estimated 400 matches similar to: "help me"
2010 Aug 08
5
Ruby 1.8.7 and openssl failed compile
I got this error:
ossl_ssl.c: In function ?ossl_sslctx_get_ciphers?:
ossl_ssl.c:626:19: error: ?STACK? undeclared (first use in this
function)
ossl_ssl.c:626:19: note: each undeclared identifier is reported
only once for each function it appears in
ossl_ssl.c:626:25: error: expected expression before ?)? token
ossl_ssl.c:629:47: error: expected expression before ?)? token
2009 Mar 11
1
NoMethodError for select_tag
Hello there. I am following a tutorial with rails 2.1 and I have come
across a problem where
<%= f.label :artist_id %><br />
<%= f.select_tag(:artist_id, options_for_select([[''choose one'',
'''']] + @artists.collect {|art| [art.name, art.id]}, @album.artist_id))
%> (Old artist info:<%= @album.artist_old%>)
gives
undefined method
2010 Aug 24
11
will_paginate problem
Hi
I am using rails 2.3.8 & ruby 1.3.7 & will_paginate 2.3.14
I have table name books. I am doing this code for pagination,
In book_controller
@@@@books = Book.paginate :page => params[:page], :per_page => 10@@@@
& in index.html.erb
@@@@@<%= will_paginate @books %>@@@@@
Also added in environment.rb file this line
@@@@@ require
2005 Dec 05
0
bug in bubbleshare's Active Record extensions?
I''m using add_foreign_key_constraint and remove_foreign_key_constraint
from Bubbleshare''s Active Records Extension plugin now to manage the
foreign key relationships I describe in my other recent posting. The
constraints get added within migrations, but I''m running into two
problems (Rails 0.14.3, PostgreSQL db):
1. Dumping the schema doesn''t dump the
2006 Dec 07
2
need to transfer data from old php like db to rails style db
hey all,
I have two tables like that from an old php project:
artists(id,name)
albums(id,artist_id,album_name)
and I need to transfer the data of this database to three tables that
look like this:
artists(id,name)
albums(id,name)
artists_albums(album_id,artist_id)
any idea what''s the fastest query to do this?
thanx in advance
Pat
--~--~---------~--~----~------------~-------~--~----~
2005 Dec 10
0
Paginate - Count(*) Broken or Am I Cheating?
I have the following paginator setup:
@merch_pages, @merch = paginate :merch_item, :per_page => 15, :select =>
''DISTINCT mi.id, mi.merch_image, mi.created_at, mi.artist_id,
mi.item_description, art.sort_name'', :join => ''as mi JOIN merch_formats mf
ON mi.id = mf.merch_item_id JOIN artists art ON mi.artist_id = art.id'',
:order =>
2017 Sep 25
1
[PATCH] Fix determining release date for builddir != srcdir
---
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index 188bed76f..1ab54500d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -94,7 +94,7 @@ dnl Find the release date for this version. This is used in
dnl the website 'index.html' file. We have to do this after
dnl testing for awk in guestfs_progs.m4 above.
2006 Jan 10
1
[AJAX] related drop-down list question
Hi all,
I followed the example on: http://www.roryhansen.ca/?p=9 for creating
related drop-down lists.
However, this code actually creates HTML in the controller component:
@albums = Album.find_all_by_artist_id(@params["artist_id"])
@html = "<select id=''album_id'' name=''album_id''>"
@html += "<option
2011 May 19
1
update_attributes updates data from second instance of nested form but not the first
Got a weird situation with an update put to a controller with a form with
nested attributes.
On the data below, I am updating data for both items (''0'' and ''1'') in
rosters_attributes (in the example below I am updating the ''name'' attribute
to a new value in both cases. What I am stuck on is that ''1'' gets its data
updated,
2006 Apr 04
3
newbie - HABTM problems writing to Join Table in SQL
I am attempting to document a join between two tables. There seems to be
no writing to my database. Please help me out it is driving me absolutly
crazy.
Basically i''ve got a table of directors that is called when the new/edit
controller model for films is activated. It shows the user a selectable
list of directors they can apply to films. The problem is in the
update/create part. I
2010 Dec 21
1
Matching 2 SQL tables
Hi,
I have a postgresql and a mysql database and I would like to combine the
info from two different tables in R. Both databases contain a table with
three columns: project_name, release_id and release_date. So each project
output could be released multiple times (I am interested in the first
release_date). However, some of the data is missing. Basically, what I want
to do is to try and fill the
2006 Feb 02
4
uninitialized constant Test (NameError)
I have three Rails apps on my laptop.
Two can runs tests just fine.
The third generates this error when I try to run any tests:
> /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/
> active_support/dependencies.rb:200:in `const_missing'':
> uninitialized constant Test (NameError)
> from ./test/unit/../test_helper.rb:5
> from
2015 Apr 11
1
XML Parser failing due to cryptic Serial Number.
I set virt-manager in qemu:///system space and tried to add new VM but it didn't proceed. Found out serial in crypic form.
# cat /sys/devices/virtual/dmi/id/product_serial
ÿÿÿÿÿÿÿ
#virt-manager --debugTraceback (most recent call last):
File "/usr/share/virt-manager/virtManager/libvirtobject.py", line 225, in _reparse_xml
self._xmlobj = self._build_xmlobj(self._get_raw_xml())
2006 Jan 03
3
SwitchTower and Subversion branches
I''m working on a Rails project that needs to be deployed in the near
future. To enable prompt responses to bug reports, me and my coding
partner were thinking to use the following SVN repository
lay-out/policy.
We''re using trunk/ for our main-line development. Whenever we deploy
something from our trunk, we first want to make a branch (e.g.
branches/1.x) and then derive a tag
2017 Aug 09
2
[PATCH 1/2] configure: visually split the blocks of checks
Add sort of "headers" to split most of the logical sections of the
configure, so it is easier to get feedback on the progress of configure.
---
configure.ac | 46 ++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 46 insertions(+)
diff --git a/configure.ac b/configure.ac
index 7f9c1dac0..5ccf6f821 100644
--- a/configure.ac
+++ b/configure.ac
@@ -76,11 +76,15 @@
2006 May 04
4
form post not working
Hi there,
I have this form code in a view:
<%= start_form_tag :action => "listByArtist", :id => artist.id %>
<p><b>List by Artist:</b>
<select id="artist_id" name="artists[id]">
<%= options_from_collection_for_select(@artists, "id", "name") %>
</select>
<%= submit_tag "List"
2006 Apr 07
1
Formatting form tags for children of parrent data?
This my first Rails project.
All my previous work was done it Perl, so I may be missing the
Ruby/Rails obvious here.
The site I''m working on needs to display archived programs.
Some of the programs have multiple versions, all belonging to the same
listing.
As such, I''ve set-up an extra_files table related to the archive list.
Displaying the extra files was trivial. However,
2007 May 12
4
help, 1 error(s) on assignment of multiparameter attributes
Hi everyone!
I just started learning Ruby on Rails about a week ago for a school
project, and can''t seem to find a solution for something.
I have this inside the form inside of edit_albums.rhtml:
<%= start_form_tag :action=>''proccess_edit_album'', :id=>@album.id %>
....
Release Date: <%= datetime_select(:album, :release_date, :start_year
=> 1960)
2017 Dec 20
0
gluster and HA NFS
On 20/12/2017 16:51, Craig Lesle wrote:
> With the release of 3.12 ltm and now 3.13 stm, when 4.0 is
> released 3.10 is shown to be at eol;
>
> Version Status ???? Release_Date? EOL_Version EOL_Date
> 3.10 ?? LTM ??? ??? 2017-02-27 ?? 4.0 ???
> 3.11 ?? EOL ??? ??? 2017-05-30 ?? 3.12 ??? ?? 2017-8-30
> 3.12 ?? LTM ??? ??? 2017-08-30??? 4.3 ???
> 3.13 ?? STM ??? ???
2017 Dec 20
2
gluster and HA NFS
Hello.
After working with the 3.12 flavor of gluster I learned nfs-ganesha was
replaced with storhaug in 3.11.Have people been successfully utilizing
storhaug and does any documentation exist for using it in a ha nfs
configuration or is ha in gluster so rarely used it's a non-issue for
most gluster users?
Going through the lists, it was recommended in November to not use
storhaug and if