Displaying 20 results from an estimated 1000 matches similar to: "rake tells me to install gems that are already there"
2010 Jun 05
6
How do you update HABTM relationships or create.
Hi,
I have a User model with a HABTM relation to a Role model and vice
versa. So There''s a roles_users table that references :user and :role.
I''m using formtastic, and in the user.edit.html.erb I have a line that
outputs the roles as a multi-select list box. But the box is not
showing the roles that have been assigned to the users.
Another problem is that if I select a few
2010 Jan 16
3
Formtastic and Access to Variables of Nested Model
So I''m not even sure if I''ll be able to properly explain what I''m
trying to do, but I''ll do my best.
Let''s say that I have two models: Document and Option.
A Document has many Options (and, by extension, an Option belongs to a
Document).
Each document may have a different number of options, hence why I made
it a separate model.
Each document has the
2020 May 05
2
instalar
update.packages(ask=F, checkBuilt=T)
FUNCIONA BIEN, ESTOY ACTUALIZANDO
El 4/5/20, Emilio L. Cano <emilopezcano en gmail.com> escribió:
> Sí la hay, yo antes lo hacía. Pero ahora pienso como Hadley:
> https://twitter.com/hadleywickham/status/1254387031842701312
> <https://twitter.com/hadleywickham/status/1254387031842701312>
>
> Te digo de memoria (en Windows): copia
2010 Feb 19
3
Hooking validates
I want to hook the validation routines so that I can flag html labels
and change their color to better indicate which fields need to be
corrected in a form.
Is there a way to do this conveniently and/or conventionally?
--
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
2010 Sep 08
5
Newbie cross tabulation issue
hi, i'm new in R and i need some help. Please, ¿do you know a function how
can process cross tables for many variables and show the result in one table
who look like this?:
+----------------------------------------------------+
|------------------ | X variable |
|----------------- | Xop1 | Xop2 | Xop3|.....|
+----------------------------------------------------+
|Yvar1 |
2010 Dec 06
15
Windows new installation - Always problems
I would like to know if there is a way to ''package'' an application
with all the associated gems and ship it to a new server and having it
to "just work" in a Windows environment.
Although I have never done it I know that Rails can be frozen into the
application. I am wondering if I can do the same thing with other
gems. I have found this
2011 Feb 21
1
Multiple custom CSS for Formtastic
Inside stylesheets I have formtastic.css and formtastic_changes.css.
In formtastic_changes.css I have a custom with:
form.formtastic { width: 700px; etc..
It is working ok but now in only one page only, need a narrower form,
say 530. So I need to have two width set up.
What is the best way to do this? I mean I do not want to change the
other forms in the project, I just want to change the
2006 Mar 31
3
Display Name
I have an NI2 PRI connection to a 5ESS switch. I am explicitly told to
use NI2 as the protocol, not 5ESS.
I am running Asterisk 1.2.4.
When making calls to the PSTN, Asterisk sends the calling name as part
of the display information element in the SETUP message. I need to be
able to send the calling name as part of the facility information
element in the SETUP message. I've seen that work
2009 Aug 02
13
NoMethodError in User sessionsController#create - Authlogic
Hi,
I''m beginner in rails, and I wanted to add to my simple application
Authlogic. So I''ve watched http://railscasts.com/episodes/160-authlogic
and step-by-step done everything. And almost everything works fine,
except login in. After registration new user is automatically logged in,
he can edit his profile, but after clicking logout and trying to login
again I get error
2001 Mar 27
2
smbclient -b parameter
I've got problems getting files from a win2000 server using smbclient
(see subject "SMBClient & Windows 2000"). I've tried using the -b
parameter (documented in the online man pages) to change the buffersize
in case that might be the problem but the smbclient I'm running doesn't
recognise it. I've installed 2.0.7 on Compaq Tru64, smbclient declares
itself as
2010 Jun 21
9
[BUG] Segmentation fault
First of all, I use RVM and I installed ruby-1.9.2-head, which I used
to create a new rails3 gemset. Then I changed to that gemset with rvm
use 1.9.2-head@rails3 and I ran bundle install over the following
Gemfile:
source ''http://rubygems.org''
gem ''rails'', ''3.0.0.beta4''
gem ''sqlite3-ruby'', :require =>
2012 Oct 16
5
`method_missing_without_paginate': undefined method `class_attribute' for ActiveRecord::Base:Class
hi
i am using radiant 0.8.2 , rails 2.3.4, ruby 1.8.7 and rubygems 1.4.2. and
i can''t able to run my existing application.
error occurred :
run command for server "script/server -e production -p 3001"
error:
=> Booting WEBrick
=> Rails 2.3.4 application starting on http://0.0.0.0:3001
config.gem: Unpacked gem rack-rewrite-1.2.1 in vendor/gems has no
specification
2012 Oct 10
4
How do we get the End of Line date for the gems which we are using Ruby on Rails?
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
- authlogic
- will paginate
- oauth-plugin 0.3.14
- statistics 0.1.1
- YUI
- cucumber 0.6.4
- cucumber-rails 0.3.0
- rspec 1.3.0
- rspec-rails 1.3.2
- webrat 0.7.0
- factory-girl 1.2.4
- database_cleaner 0.5.0
- SSL requirement
- calender_select
2006 Sep 18
16
Dynamic fields and AAF
Hi,
I have a model which has properties, these are your standard name/value
pairs, but also have attributes that affect how I want to store them in
ferret. I was using 0.9.5 with 0.2 of aaf, which seemed fine, I just
copied and pasted (yes, I know, ick) the to_doc method and added code to
iterate though the properties that that model had, and add relavent
fields to the document.
It seems
2009 Dec 03
2
AuthLogic Question - one time password (persistence_token) - what config is required to use this???
Hi,
I''m stuck trying to work this one out - have been reviewing the
AuthLogic code base but having a hard time making sense of it (
http://github.com/binarylogic/authlogic ).
Question 1 - Can anyone confirm what config exactly is required to
make the one time password (persistence_token) work in AuthLogic? See
below for the bulk...
Question 2 - If not the full answer to the above,
2009 Sep 20
2
[Authlogic]
After I upgraded my Authlogic to 2.1.2 I''m facing an odd error when
trying to use my webpage; it comes up with an error ''undefined method
`^'' for "e":String''. I''ve double checked the lines in the Authlogic
code (see codepad urls for the tracelog), but I can find no trace of
any "^" in the code anywhere. The methods that result in
2009 Jul 02
3
Extending the storeconfigs database
I''m adding tables to the storeconfigs database, to support my
storereports plugin, and would like some guidance on handling the
schema version.
First prize would see my database extensions applied as migrations.
But then ActiveRecord would want to bump the schema version.
Any ideas on how to handle this gracefully so that I don''t confuse the
hell out of puppet itself, on
2010 Nov 14
5
Authlogic and rails 3 : NameError in User sessionsController#new
Hi everybody,
I''ve installed Authlogic on Rails 3 following the Railscast (http://
railscasts.com/episodes/160-authlogic), and the resources I was able
to find on the web, but I''m facing a problem.
Once I''ve generated the user_sessions controller and mapped the login
and logout routes, I get an error if I try to load the login page :
uninitialized constant
2010 Oct 19
4
Rails3 on bluehost??
I''m trying to deploy a rails 3 app to bluehost... Does anyone have
related experience??
I tried a few hours, still struggling....
Many thanks...
--
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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this
2010 Dec 02
7
Rails 3 + Authlogic not working all of a sudden
Hey People,
I''ve been working on Rails 3.0.0 and Authlogic for quite a while now but
all of a sudden I can''t login into my application anymore.
After some research I found out that no sessions are stored into the db
anymore so I started the console and saw this:
ruby-1.9.2-p0 > u = UserSession.new({:username => ''Test'', :password =>