http://guides.rubyonrails.org/security.html#custom-credentials
On Friday, April 13, 2018 at 11:31:42 AM UTC+1, Ralph Shnelvar wrote:
>
> Thomas,
>
> Could you point me at documentation about credentials v. encrypted
> secrets, please?
>
> Ralph
>
>
>
> Friday
set is the latest version per below. Encryption key is identical, 100
> times copied over or sent in env var ;) for not believing the app fails to
> start.
>
> $ sudo gem update --system
> Latest version already installed. Done.
>
> Cheers, Thomas
>
> On Thursday, April
o the ruby systems gemset, however,
gemset is the latest version per below. Encryption key is identical, 100
times copied over or sent in env var ;) for not believing the app fails to
start.
$ sudo gem update --system
Latest version already installed. Done.
Cheers, Thomas
On Thursday, Apri
Hi,
How to fix the recent error regarding rails secrets encryption and ruby?
I have one container running since week start that allows we to "rails
secrets:edit" successfully. Today, if I carbon copy the source code, do
new bundle install and secrets fail. What is going on?
Message from
I am trying to follow RESTful Rails Development from O'Reilly by Silvia
Puglisi.
I have created an app (wikicat), database (MySQL), models (category and
link), controllers (CategoryController show) and routes. I have followed
everything that the book said (taking in to consideration the published
Small update. I have played with the GC and have run several tests. I
manage to solve the problem by disabling the GC with GC.disable, but then
my memory gets filled with garbages. I have also disabled hugepages on
linux and no effects. Finally I've played with some of the parameters of
the GC
Hello everyone,
I have a huge problem with memory in Ruby 2.2.1. Namely, after forking a
process, it seems that the copy-on-write functionality is not working at
all and I end up with double the memory I started with. The problem is
described in details under this link :
Hello,
I'm attempting to generate emails with inline attachments. I'm using
Action Mailer 4.1.6 and the attachment.inline method, but for some
reason all of my attachments are coming through as regular downloadable
attachments, not as inline attachments. Here's the relevant code:
In
Our client specializes in solving complex technical problems in the film
and TV broadcasting industries by creating value through the manual
automatic curation of hidden content in archives, studios and
broadcasting businesses generating new revenue streams for our
customers. This is a
Our client is seeking for candidates for a Senior Ruby on Rails
Developer position.
Primary Skills:
ROR, HTML5, CSS3, and JavaScript, GitHub
Description:
• Senior 8 to 12 years experienced developer who can do hands-on coding
• Should have experience building / designing / developing products
•
A worldwide brand and fast-growing media and entertainment company have
big expansion plans for there development team to bring in several
Senior Ruby on Rails Developers. They are looking for developers to be
responsible for providing technical solutions, designs and
implementations for new and
Our client, a top swiss tech start-up based in Basel are now looking for
a Ruby on Rails Developer with 4+ years experience to join their
expanding team.
Responsibilities:
• Develop new features using a BDD approach.
• Code Review
• Writing code whilst collaborating with the product owner and
Hi All,
I just started the UT on Rails class through reddit and am completely new
to programing. I apologize for not being able to articulate my problem
clearly. I am watching this
video https://www.youtube.com/watch?v=EU98yHB-_7A and at 16:18 when the
instructor restarts something
schrieb Thomas O'Boyle thomas...@gmail.com
javascript::
Hi All,
I just started the UT on Rails class through reddit and am completely new
to programing. I apologize for not being able to articulate my problem
clearly. I am watching this video
https://www.youtube.com/watch?v=EU98yHB-_7A
issues every time.
Thanks again for replying!
On Sunday, August 31, 2014 10:00:16 AM UTC-7, Colin Law wrote:
On 31 August 2014 17:29, Thomas O'Boyle thomas...@gmail.com javascript:
wrote:
Hi Nobert,
Thanks for responding to my question. I have completely followed his
steps
This isn't a Rails problem. It's a very straightforward Heroku error. Go to
Heroku and delete some of your sample apps, or pay for an account.
On Tue, Jan 7, 2014 at 10:46 AM, pramod gupta pramod77...@gmail.com wrote:
While deploying a new app on heroku i got this error
!You've reached
On Wed, Dec 4, 2013 at 1:10 PM, Muralitharan A. li...@ruby-forum.comwrote:
Hi,
Topic : Ruby On Rails
Issue : Error while installing rails using rubygems.
Description:
Am using ruby 1.9.3p194 and rubygems-2.1.7 on Ubuntu 12.0.
Getting the below error when trying to install Rails using
Lead Rails Developer – Berlin - Visasponsoring
About the Job
Our client is seeking a developer to lead on maintaining and improving
of our platform for connecting charities and game developers.
Reporting to the CTO the lead developer will be responsible for the
continued development of the
Ruby on Rails developer for top company in Munich / Germany. Non EU
applicants very welcome, we sponsor Visa!
Senior Ruby on Rails Developer is required by one of the most successful
start ups of the last five years. This is a senior addition to the team
and you will be responsible for developing
you're right, thanks
--
You received this message because you are subscribed to the Google Groups Ruby
on Rails: Talk group.
To unsubscribe from this group and stop receiving emails from it, send an email
to rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this group, send email to
Im trying to submit a rails remote form in a bootstrap popover, but it
keeps processing as html. There are no js errors, controller responds to js
and i have a create.js.erb. Can someone please point me to the problem?
Below is the content of my popover. Users have to options when submitting a
Niiice! that did it, thanks!
--
You received this message because you are subscribed to the Google Groups Ruby
on Rails: Talk group.
To unsubscribe from this group and stop receiving emails from it, send an email
to rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this group, send
Recently I have been reading about form objects and have been wondering its
use in 1 to many assocation.
Let's say I have a model of project with many tasks and the user edits the
project along with the tasks in one big form.
Is nested attributes using cocoon gem better suited than using
I am using rbenv. Just a quick question:
Is it good practice to include binstubs in version control?
I have looked at the binstubs created; they look pretty harmless.
--
You received this message because you are subscribed to the Google Groups Ruby
on Rails: Talk group.
To unsubscribe from
Thanks!
--
You received this message because you are subscribed to the Google Groups Ruby
on Rails: Talk group.
To unsubscribe from this group and stop receiving emails from it, send an email
to rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this group, send email to
Thanks!
--
You received this message because you are subscribed to the Google Groups Ruby
on Rails: Talk group.
To unsubscribe from this group and stop receiving emails from it, send an email
to rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this group, send email to
Thanks!
--
You received this message because you are subscribed to the Google Groups Ruby
on Rails: Talk group.
To unsubscribe from this group and stop receiving emails from it, send an email
to rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this group, send email to
How about an authorization solution like cancan. Have a single sign in point
and redirects based on user rights.
--
You received this message because you are subscribed to the Google Groups Ruby
on Rails: Talk group.
To unsubscribe from this group and stop receiving emails from it, send an
Everything looks fine with your model/controller. The problem is
probably coming from your view. Could you please include the full
snippet form in the view please?
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups Ruby
on
https://github.com/dwilkie/devise_paypal
--
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, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group,
It looks like you have a pretty classic has_many through kind of
relationship. I don't know the details of your model, but I'd assume you
have the following 3 models:
User:
id
TaskRelationship
user_id
task_id
Task
id
What you want to do, then is to put in your user model the following
Hi
We are looking for a strong Ruby on Rails developer in Golden, CO. Post
your resumes to *pradeept at hrgiants.com* or call me at *510 870 2315. PDT*
Description:
Join our agile team of Ruby on Rails developers building wireless home
automation services in Golden, Colorado. We're developing
Martin Streicher wrote in post #1066742:
before(:all) seems well-suited to this problem. It creates data that
persists across transactions.
https://www.relishapp.com/rspec/rspec-rails/docs/transactions
Thank you but (after much googling) I discovered that one cannot load
fixtures in
Rails 3.2.1 Ruby 1.9.3p125 Rspec 2.8.0
I have a utility written in ruby that executes within a Rails
environment. It creates database records in one table based on the info
in other tables. A date and a name determine uniqueness of these created
records.
To test this, I have to run the utility
Hi all, I'm now using Sublime Text 2 and it's pretty awesome
The only problem is that it has no indent support for .html.erb file
type, any one here using this editor can tell me how to solve this
problem?
Thank you
--
Keep It Simple Stupid
Twitter: @ghosTM55
--
You received this message
On Thu, Oct 27, 2011 at 4:55 PM, cval eval li...@ruby-forum.com wrote:
Hello there.
A friend of mine asked me to finish RoR project. Project is almost
finished, but there are plenty of bugs to be fixed.
I don't have Ruby and RoR experience, but I have degree in software
engineering and some
Hi everybody,
I am creating a site, where people can register, but i only want them
to register, if they have a legit code. So let's say I give out the
three codes code1, code2 and code3. How can I make sure, that
the user only gets registered, when the code gets vaildated?
Validate
Hi Sarah,
I think you can find a lot of information here :
http://rdoc.info/github/rails/arel/master/Arel/Table
What you are using here is ActiveRecord, ActiveRecord is using Arel
itself to generate it's queries.
You can use Arel directly this way :
scope :with_or, lambda {
b =
I still have the same problem with Ruby 1.9.2...
===
I 05/17/2011 21:56:20:387 1638 APP| Error:
#REXML::ParseException: Declarations can only occur in the doctype
declaration.
Line: 39
Position: 2342
Last 80 unconsumed characters:
![CDATA[pSDM
did you ever press option-minus or option+plus for change the sizes in
firefox? because firefox remembers this... just a guess
--
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
Hello everyone
Has anyone a suggestion about how to implement an email verification
system with rails 3 ?
By this I mean, a user subscribes (sign up) receives an email
with a link and has to follow that link to change the status of the
user, only after that the user can login.
What's the best
I'm also having this problem. It has been solved by using bundler 1.0.7
instead of 1.0.8...
--
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, send email to
/cache
$ ls
bouncy-castle-java-1.5.0145.2.gem haml-3.0.24.gem
rake-0.8.7.gem
bundler-1.0.7.gem jruby-openssl-0.7.2.gem
snip
Any ideas?
Best regards
Thomas
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups Ruby
AJAX - set the onClick property to point to a function that sends the
request to the server.
On Mon, Oct 18, 2010 at 7:25 AM, Christian Fazzini
christian.fazz...@gmail.com wrote:
Ive got a like and video model.
On a Video page, Users can click a link (like) button which will
allow them to
Thomas Grebschrop wrote in post #950122:
Hi,
I try to send a multipart message with actionmailer under rails3.
When the mail client receives the mail the attachment is empty.
I do definitely attach a non-empty file.
Here is the code:
snip
recipients [sec...@secret.com]
from sec
)
end
attachment :content_type = text/csv,
:filename = verwertung.csv,
:body = File.read('/tmp/verwertung.csv')
snip
The mail looks fine, e.g. the inline attachment is included, but the
attached file is empty!
What is the problem here?
Best regards,
Thomas
--
Posted via http
I think IDEs are important too, and will always be better in a static typed
language like java. I haven't seen a ruby (or python) IDE that comes close
to the java IDEs. Look at Google Web Toolkit. I hate java, but I still use
GWT for ajax apps instead of rails. (And by the way, it has an awesome
On Oct 8, 6:08 am, Premanshu Mishra li...@ruby-forum.com wrote:
I m running Java VM on my system. Is there any luck with WIndows that i
can expect of.???
Yes, in fact JRuby is a good option on Windows. Download the latest
version of NetBeans, which comes with JRuby, and you should be able
I just set up authlogic with rails 3 last week, this forum was super helpful
http://www.ruby-forum.com/topic/204464
I followed this post http://www.ruby-forum.com/topic/204464#916795 and it
Just Worked
On Fri, Oct 8, 2010 at 10:15 AM, Robert Walker li...@ruby-forum.com wrote:
aperture science
[2010-07-21 11:35:18] ERROR NoMethodError: private method `gsub!'
called for #Class:0x47a8e38
C:/Applns/Ruby187/lib/ruby/1.8/webrick/htmlutils.rb:16:in
`escape'
C:/Applns/Ruby187/lib/ruby/1.8/webrick/httpresponse.rb:232:in
`set_error'
We have just published a neat little toolkit for those of you who are
interested in SAML-enabling your enterprise application. SAML is a
standards-based single sign-on protocol, which allows an identity
provider to securely log users into an application without a password.
Some of the advantages
such a response as valid? Is there
something more I need to do in my model for validations to take
effect? My models themselves are dead simple:
class ApplicationResource ActiveResource::Base
self.site = 'http://localhost/frontend/www/api'
end
class Menu ApplicationResource
end
Thomas
--
You
I referred to
http://groups.google.com/group/rubyonrails-talk/browse_thread/thread/67d59a432f1d98e3
and tried this with Rails 2.2.2, but got the same result. I am
guessing the issue I am experiencing is not version-specific.
Thomas
On Apr 28, 12:16 pm, Thomas Allen thomasmal...@gmail.com wrote
for everyone to download. If anyone
wants to get a head start or just hear more, please contact me at
thomas [a] onelogin dot com.
You can read more about us at:
http://www.onelogin.com
Cheers,
Thomas
--
You received this message because you are subscribed to the Google Groups Ruby
on Rails
Hello,
I was wondering if anybody knew of a library (acts_as_ or similar)
that provides a simple framework for mapping ActiveRecord calls to API
calls for model instances that are managed via API calls rather than a
database connection.
Thomas
--
You received this message because you
It looks like ActiveResource is what I wanted.
Thoma
Thomas Allen wrote:
Hello,
I was wondering if anybody knew of a library (acts_as_ or similar)
that provides a simple framework for mapping ActiveRecord calls to API
calls for model instances that are managed via API calls
' | '
end
end
class DashboardController ApplicationController
title :dashboard
def index
title :home
end
end
title%= title %/title
Thomas
On Apr 21, 3:38 am, Alexandre Friquet a...@infopiiaf.fr wrote:
Hi Thomas,
How might I clean this up? My ideal would be for each controller
|
define_method col.to_sym do
contact.send col.to_sym
end
end
end
I tried doing this with method_missing and respond_to? as well, with
similarly poor results, so I was hoping that someone else has found a
way to cleanly map attributes in this way.
Thomas
--
You received this message
routes.generate url
end
else
routes.generate :controller = text
end
unless text.is_a? String
text = t text
end
active = request.request_uri == url
li #{'class=active' if active}#{ link_to text, url }/li
end
end
Thomas
On Apr 21, 4:37 pm, Michael Pavling pavl...@gmail.com wrote:
On 21 April 2010 20:36, Thomas Allen thomasmal...@gmail.com wrote:
active = request.request_uri == url
Would using url_for() not save you a lot of hassle generating that url?
Thanks Michael, url_for was what I was looking
end
end
Thomas
On Apr 21, 5:07 pm, Michael Pavling pavl...@gmail.com wrote:
On 21 April 2010 22:00, Thomas Allen thomasmal...@gmail.com wrote:
On Apr 21, 4:37 pm, Michael Pavling pavl...@gmail.com wrote:
On 21 April 2010 20:36, Thomas Allen thomasmal...@gmail.com wrote:
active
problems, the first being that t is
not available in the class scope. So I'm a bit stuck here.
Thomas
--
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-t...@googlegroups.com.
To unsubscribe from
to write to that directory? The output was
identical with the --trace option.
Thomas
--
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-t...@googlegroups.com.
To unsubscribe from this group
Does anybody know of a way to test that the configured mail server
connection works? In a similar vein, is there a way to simply test the
database connection? I use db:migrate for that now but I'd prefer a
method that simply verifies the connection settings.
Thomas
--
You received this message
I was using the following lines in my _debug.html.erb partial:
% session.cgi.inspect.split(/,/).each{ |key| @mongrel_port = key
if(key =~ /@port/)} %
%= @mongrel_port %
Greetings, Thomas
On 25 Dez., 00:41, ak ajay.ka...@gmail.com wrote:
Thomas, I'm still on Rails 2.1 and would like
Hi Kristian, this also results in port number '3000', and not in the
port number of the upstream mongrel.
On 9 Dez., 09:46, Kristian Hellquist kristian.hellqu...@gmail.com
wrote:
Cant you just do `request.server_port' in controller?
2009/12/9 Thomas thomas.net...@gmail.com
of the request.
Thanks, this solves my problem, Thomas
On 9 Dez., 14:06, Kristian Hellquist kristian.hellqu...@gmail.com
wrote:
Does request.env.inspect gives you any hint?
2009/12/9 Thomas thomas.net...@gmail.com:
Hi Kristian, this also results in port number '3000', and not in the
port
the rack middleware.
Any idea, how to do it?
Greetings and thanks!
Thomas
--
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-t...@googlegroups.com.
To unsubscribe from this group, send email
Rob Biedenharn wrote:
On Nov 11, 2009, at 4:55 AM, Thomas Gendulphe wrote:
| Field | Type | Null | Key | Default |
||
| user_id| int(11)| YES | MUL | NULL
t.datetime created_at
t.boolean confirmed
t.text admin_comment
Hi,
Everything is in the title.
With Rails 2.3.4 and MySQL 5.0.41:
If have a table like this:
+++--+-+-++
| Field | Type | Null | Key | Default | Extra
|
On Nov 9, 9:08 pm, Chris To rails-mailing-l...@andreas-s.net wrote:
Hi,
I've added a couple of validations to my model, however whenever I
submit with no information (to purposely fail) in the view form, I just
get a generic rails error message (the kind with all the stack trace
Hi,
To disable asset_id completely, simply set the environment variable (for
instance in environment.rb):
ENV['RAILS_ASSET_ID'] =
cheers
Philip Hallstrom wrote:
.swf file in public/images/flash
fine.
In production, the app will be deployed in a subdirectory, so the path
will be
You can also directly instanciate a Helper object and call a method.
example with number_to_currency:
Object.new.extend(ActionView::Helpers::NumberHelper).number_to_currency(number,
options)
but beware that is there are methods of other Helpers methods, they will
fail.
--
Posted via
Sorry for the late answer, maybe it will be usefull for someone else.
You can use the following plugin:
http://agilewebdevelopment.com/plugins/activerecord_base_without_table
--
Posted via http://www.ruby-forum.com/.
--~--~-~--~~~---~--~~
You received this
tables).
Is there a way to hook into the database cloning process and override
the generated SQL with the correct column type?
Thomas
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Ruby
on Rails: Talk group.
To post
On Aug 28, 3:23 am, Nik Cool rails-mailing-l...@andreas-s.net wrote:
rake aborted!
wrong number of arguments (2 for 1)
/usr/local/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/tasks/databases.rake:
344:in `recreate_database'
Thanks!
Thomas
do you have test database created ?
--
Posted
It appears that this is coming from my installed lib/mysql_adapter.rb
which has an incorrect signature for recreate_database (and probably
for other methods as well), so I think I have what I need to solve the
problem now.
Thomas
On Aug 28, 9:50 am, Thomas Allen thomasmal...@gmail.com wrote
)
** Invoke environment
** Execute db:test:purge
rake aborted!
wrong number of arguments (2 for 1)
/usr/local/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/tasks/databases.rake:
344:in `recreate_database'
Thanks!
Thomas
--~--~-~--~~~---~--~~
You received this message because you
On Aug 11, 11:20 am, Phlip phlip2...@gmail.com wrote:
Welcome to the cult. Older sites use older technology because - until 2 years
ago - Rails was a fringe player using an obscure language. Rails now leads the
adoption rate in new projects because it showcase what a fine language Ruby
is.
Hello -
I am fairly new to Ruby on Rails, but feel like I am learning quick.
I have what seems to be a fairly unique issue as I cannot find much
out there that describes what I'm seeing. Hopefully it's a very
simple fix, and I simply can't see the forest through all the trees!
I am attempting
11, 2:50 am, Mark Thomas thomasm...@gmail.com wrote:
Hello -
ActionView::TemplateError (undefined local variable or method `f' for
#ActionView::Base:0xb6e7b2f4) on line #1 of app/views/listings/
_automodels.html.erb:
%= f.collection_select :model, @automodels, :model, :model, {:prompt
I posted this in the Ruby forum but I was told it would be more at home
here.
I'm very new to ruby so for all I know this could be ridiculously easy.
Thank you in advance for any and all suggestions!
Here is the error:
For anyone searching for a solution to this:
Add ActiveRecord::Base.logger = Logger.new(debug.log) before the
database connection.
(Care of halogenandtoast on IRC)
--
Posted via http://www.ruby-forum.com/.
--~--~-~--~~~---~--~~
You received this message
Is what I'm attempting possible with render :partial?
On Jul 20, 3:55 pm, Thomas Allen thomasmal...@gmail.com wrote:
I have some simple code that renders a form to an element specified in
form_remote_tag :update. The problem is that, if the loaded view
matches the view to render, Rails does
Hm, I'll try explicitly setting the [nonstandard] autocomplete
attribute off in the inputs...
Thomas
On Jul 22, 9:02 am, Frederick Cheung frederick.che...@gmail.com
wrote:
On Jul 22, 1:51 pm, Thomas Allen thomasmal...@gmail.com wrote: Is what I'm
attempting possible with render :partial
'
render :partial = 'new'
The view that contains this form is the new partial. So, the idea is
that if a user clicks Save and New they will have the new view
refreshed rather than being moved to the edit screen.
Is what I'm attempting possible with render :partial?
Thomas
Hey,
I've released 2 screencasts about Rails + Cappuccino (http://cappuccino.org) :
http://bit.ly/CappuccinoRails1
http://bit.ly/CappuccinoRails2
They show how to create a Cappuccino interface for the Rails Weblog
Application (by Ryan Bates).
I though I might share it here too.
Best,
Thomas
If you really want to learn the latest features as a beginner (might not
be a good idea just because the complications might leave a bad taste in
your mouth when running with rails is generally a smooth process), then
I'd suggest doing what I had to do - track edge. The problem you're
having
Hi
I have three models:
class Product ActiveRecord::Base
has_many :coupons
has_many :orders
end
class Coupon ActiveRecord::Base
belongs_to :product
end
class Order ActiveRecord::Base
belongs_to :product
end
When creating an order, a coupon can be supplied to make use of a
I get the same error message: An object with the method include? is
required must be supplied as the :in option of the configuration
hash
On Feb 18, 4:33 pm, jemminger jemmin...@gmail.com wrote:
try
validates_inclusion_of :coupon, :in = lambda { |prod| prod.coupons.map
(:code) }
Hi,
Try this in your config/environment.rb
config.gem actionmailer, :version = '2.0.2'
If you wanna use 2.0.2 for the whole app then it's
RAILS_GEM_VERSION = '2.0.2'
ciao, tom
--
Thomas R. TomK32 Koll http://ananasblau.com
just a geek trying to change the world
http://github.com/TomK32
= find_options.delete(:find_method)
if options[:find_method]
ciao, tom
--
Thomas R. TomK32 Koll http://ananasblau.com
just a geek trying to change the world
http://github.com/TomK32
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
--
Thomas R. TomK32 Koll http://ananasblau.com
just a geek trying to change the world
http://github.com/TomK32
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Ruby
on Rails: Talk group.
To post to this group, send
= #{company_id} unless company_id.nil?
pls explain.
thank you
--
Posted viahttp://www.ruby-forum.com/.
--
Thomas R. TomK32 Koll http://ananasblau.com
just a geek trying to change the world
http://github.com/TomK32
--~--~-~--~~~---~--~~
You received this message
pop up first.
--
Thomas R. TomK32 Koll http://ananasblau.com
just a geek trying to change the world
http://github.com/TomK32
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Ruby
on Rails: Talk group.
To post
article_path(@article)
For all routes that map.resources creates do a 'rake routes' on the
console.
ciao, tom
--
Thomas R. TomK32 Koll http://ananasblau.com
just a geek trying to change the world
http://github.com/TomK32
--~--~-~--~~~---~--~~
You received this message
button is only
a button, nothing
else. What you need is a label right next to the button:
f.radio_button(part_of_speech, :noun
f.label(part_of_speech, t('noun'))
ciao, tom
--
Thomas R. TomK32 Koll http://ananasblau.com
just a geek trying to change the world
http://github.com/TomK32
Hi Rick,
Do you have validations in you models?
I mean like
validates_presence_of :forum_id
Besides that, I'd do a @topic.posts.new instead of Post.new
And third, please do a @forum = Forum.find(params[:forum_id])
And fourth, maybe its params[:topic][:forum_id] ??
ciao, tom
On Feb 1, 4:25
wrote:
Would it make more sense to store @prefix, @category, @page, and whatever
else I think I might want to pass around in the session? Or should I keep
going down this route?
--
Thomas R. TomK32 Koll http://ananasblau.com
just a geek trying to change the world
http://github.com/TomK32
Hi Stefano,
First of all, migrate your database. Legacy dbs suck and there's no
reasons
why to preserve them for too long.
About your problem:
Both params['first name'] and params[:'first name'] will work.
ciao, tom
--
Thomas R. TomK32 Koll http://ananasblau.com
just a geek trying to change
1 - 100 of 133 matches
Mail list logo