Displaying 6 results from an estimated 6 matches for "ariejan".
Did you mean:
ardjan
2009 Mar 05
6
About before_* callbacks
Hi
I have an problem about before_* callbacks.
I have a model named: Event
And I don''t want anyone to destroy or update any records in Event
model.
So:
[code]
class ActiveRecord::Base
before_destroy :log_illegal_operations
before_update :log_illegal_operations
private
def log_illegal_operations
Event.create({:key => "illegal operation", :value =>
2010 Apr 27
2
how to start an edge rails app
I want to check out an issue in edge rails. I''ve never used edge
before and am having a lot of trouble getting it up and running.
Following modified instructions from
http://ariejan.net/2009/01/04/how-to-start-a-rails-edge-app-the-easy-way/
$ mkdir -p app/vendor
$ cd app
$ git clone git://github.com/rails/rails.git vendor/rails
$ ruby vendor/rails/railties/lib/rails/cli.rb .
vendor/rails/railties/lib/rails/cli.rb:27:in `require'': no such file
to load -- rails/ruby_ve...
2017 Feb 01
2
CentOS 7.3.1611 scap-security-guide issue
Hello,
I have noticed that pci-dss profile, ssg-centos7-xccdf.xml will always fail
on test and remediation for disable_prelink rule. That seem to be caused by
insufficient CentOS RPM customization of upstream code. Specifically this:
https://github.com/OpenSCAP/scap-security-guide/blob/master/shared/oval/disable_prelink.xml#L24-L35
2017 Feb 03
0
CentOS 7.3.1611 scap-security-guide issue
...s://git.centos.org/summary/rpms!scap-security-guide but I am
> unsure as to what action should I take.
You can clone that git project from git.centos.org, then checkout the
'c7' branch and fix the issue on your branch .. then use the git
--format-patch option as explained here:
https://ariejan.net/2009/10/26/how-to-create-and-apply-a-patch-with-git/
Then you can send your patch (attached to an email) to the CentOS-Devel
mailing list (https://lists.centos.org/mailman/listinfo/centos-devel)
and I will import it into the git repo and fix the package.
<snip>
Thanks,
Johnny Hughes...
2007 Mar 22
0
Build an app with Ruby on Rails resources
...a small tutorial explaining how rails resources can be
put to use as building blocks for a more complex application.
The tutorial is a step-by-step instruction on how to generate
resources and put them together. The full source is included if you
want to download it.
Check the tutorial at http://ariejan.net/2007/03/21/build-an-app-with-ruby-on-rails-resources/
--~--~---------~--~----~------------~-------~--~----~
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-/JYPxA39Uh5TLH3Mbo...
2009 May 15
0
Undefined method `rescue_responses' for ActionController::Base:Class in Rails Edge
...ut when I did so, I received the error
below. Anybody else encounter this and have a suggestion?
$ rake gems:unpack
(in [omitted])
rake aborted!
undefined method `rescue_responses'' for ActionController::Base:Class
(See full trace by running task with --trace)
Thanks,
Ben
--
[1]: http://ariejan.net/2009/01/04/how-to-start-a-rails-edge-app-the-easy-way/