similar to: Users, Roles and Permissions

Displaying 20 results from an estimated 400 matches similar to: "Users, Roles and Permissions"

2007 Aug 26
4
howto regressions on environment.rb in Rails projects
How would one write a spec on environment.rb in a rails app? I was requiring a gem in environment.rb, but received a "MissingSourceError". Generally, ruby raises a LoadError when it can''t find a gem, but rails overrides this to raise a MissingSourceError (since rails is expecting a required file to be in lib/...). How would I write a spec to override this behavior,
2008 Apr 02
18
Setting up PuppetShow - Puppet's Web Interface
Hello puppeters; I want to set/test the PuppetShow "Puppet''s Web Interface" with Ruby on Rails (ROR). If somebody has setup such show, please share your experiece with EXAMPLES...I''m not the programmer.so please share your STEPS....I have setup the ROR environment, currently learning Rails with different frameworks....HOBO (http://hobocentral.net/) is great for starter
2004 Jul 05
2
Why does summary does not produce output?
Hello, I'm a starting user of R. I have installed R 1.9.1 and winedt 5.4 If I run the example from written with winedt. The summary command does not produce any output. It does when I repeat the command manualy in R. Can someone explain me what can be the problem? library(MASS) data(anorexia) anorex.1 <- glm(Postwt ~ Prewt + Treat + offset(Prewt), family =
2007 Sep 29
2
Typo3 5.0 Framework
Hi guys, for about one and half a year I am involved in RoR Development. I like the framework very much! But more and more I have my doubts, that this framework will succeed, I think Ruby on Rails succeed only, if some powers from community will be concentrated on a target-oriented development of the Framework. Since the approach of a pragmatic way of programming isn''t new anymore, more
2011 Sep 13
3
Accessing Rails helper method with_output_buffer
Hi all, I cannot figure out how to correctly use the with_output_buffer helper method (located in ActionView::Helpers::CaptureHelper) inside a custom FormBuilder. Below follows a simplified example. I''m trying to achieve the following behavior in an ERB as suggested in the form_for helper docs in the Rails source: ========== <%= form_for @object, :builder => MyFormBuilder do
2008 Feb 01
2
Facebooker interfering with existing application
Hi! I have an existing application, basically a very simple Hobo app. It works... When I install the Facebooker plugin and create the facebooker.yml file (with valid or fake content, doesn''t matter), the original app starts behaving strangely. The controller and view logic keeps working, but several static files stop being served from http://localhost:3000/javascripts and start being
2011 Aug 23
2
Where is WillPaginate::Finders ???
Hi All! It''s been a while since I had to ask for help, but I''m back! I''ve finished beta testing my big app and started the transition to production. Everything went fine and the production version was working till I was asked to add another model :-( (Almost a year of beta testing and they only come up with it after moving to production :-D ) I successfully
2007 Jun 22
11
Nicer failure message formatting
Hi Are there any tools around that make rspec''s failure messages easier to read? unit_diff from ZenTest doesn''t seem to work - unless I missed something. A simple but very helpful improvement would be to use more line- breaks, e.g. Current output: expected "this is a very long string blah blah", got "this is a very very long string blah blah" (using
2007 Jun 21
3
(no subject)
Hi, Not sure if this is the right place for general questions on BDD style, but here goes... I have a class which behaves almost like a big function - you always instantiate it with a bunch of args, and call one of a couple of methods to get the results back. BDD style seems to like a separate describe block for each instantiation of the class under test. In this case that would mean a
2009 Nov 13
3
Encoding::UTF_8 missing?
I''ve just done a fresh reinstall of OS X Snow Leopard on my mac, and I''m having all kinds of problems with Rails, but the latest problem has me stumped. Whenever I run rake db:seed to populate my database I hit the following error: ** Invoke db:seed (first_time) ** Invoke environment (first_time) ** Execute environment ** Execute db:seed rake aborted! uninitialized constant
2003 Nov 13
1
RE: Aculab SS7/ISUP (new subject)
>Freddi Hansen wrote: >> with boards from Aculab, we are replacing Aculab boards with Digium >> boards BUT we would need more >> Digium boards IF we could use both Digium and Aculab cards in the same >> server. The reason being that >> TE410P doesn't support SS7-ISUP so we continue using only Aculab cards >> in the servers that must support >>
2013 May 17
5
Active Admin with Ajax call
Hello everyone. I''m begining with Ruby on Rails, and i''m facing some trouble with "ActiveAdmin with ajax." Here''s the situation: It''s a Kennel''s web site, so, while i''m creating a new dog, i have one select/options for the dog''s father, dog''s mother, and dog''s race. After select the dog''s
2018 Jun 07
2
dovecot-pigeonhole Missing sieve_imapsieve Plugin?
Hi Folks, I am having a problem configuring imapsieve via dovecot-pidgeonhole on CentOS7. After following the docs here: https://wiki2.dovecot.org/Pigeonhole/Sieve/Plugins/IMAPSieve I get: dovecot[22026]: managesieve: Fatal: Plugin 'sieve_imapsieve' not found from directory /usr/lib64/dovecot/sieve dovecot[22026]: doveconf: Error: managesieve-login: dump-capability process returned 89
2007 Sep 07
1
Problem with spec -l
Hiya I used to be able to run a single example with spec -l <line-num> <spec file> But now it always just runs 0 tests when I give this option. Any ideas? Thanks Tom
2007 Jun 29
3
fixtures :all
Does rspec not understand "fixtures :all" ? If so, has it been requested? If not, can I request it? If you need a patch I can surely submit one. ;) Zach
2008 May 20
2
rspec fails at first run -- no such file to load -- spec/rails
Hi, I newly downloaded rspec, rspec_on_rails and ran the command ruby script/generate rspec from the instructions http://rspec.info/documentation/rails/install.html I then created the directories in spec: controllers, fixtures, helpers, models, views I then created the file spec/models/user_spec.rb as a spec for my model User. (Is the convention to name the model''s spec
2006 Jun 22
4
Authorization Plugin 1.0 release candidate + 3 test apps
In honor of RailsConf, I''m releasing an authorization plugin with 3 test apps that show you how to use the system. A reasonably lengthy description can be found here: http://www.writertopia.com/developers/authorization I will also be talking about the plugin''s architecture in my RailsConf talk on Saturday. Some features: - Nice English-like way of expressing permissions through
2006 Apr 03
4
How to fake composite primary keys?
I know ActiveRecord doesn''t support composite primary keys, but I need to use one, and I need it ASAP. I don''t need any composite foreign keys, luckily; what I have is a table that stores old versions of rows in another table, so the composite key is an id + date stamp. Would someone tell me a hack I can use to support this? -- View this message in context:
2006 Nov 28
8
how to update index from a script
Hello all, I''m using AAF right now to index my ~3million db records. However, any additions to these records are added to the database through an external script so the aaf activerecord hooks will not catch any updates. Since new records are only added rarely, I figured I could just add the new records manually in ferret from some type of script. I''ve been looking at the
2009 Dec 07
1
problem starting rails (hobo) app with passenger
Dear All! I''ve set up my apache, passenger and configs, the passenger works, but the app can''t be started. the erros are the following These are the possible causes: * There may be a syntax error in the application''s code. Please check for such errors and fix them. * A required library may not installed. Please install all libraries that this