Ask for Help
“How do you restrict access to particular fields in a model by user (e.g. admin user versus regular user)?”
The CanCan gem can do this.
“How exactly does Active Support find helper files when injecting them into view contexts? The goal is to add helper files into view contexts without using ActionController.”
There was no immediate answer; some pivots are going to look into this.
- An Xcode update (4.0) has end-of-life’d hwprefs, which older versions of the parallel_tests gem require. The solution is to upgrade to the newest version of the parallel_tests gem or to place the shell script below somewhere within your search path.
#!/bin/sh case $1 in 'thread_count') sysctl -n hw.ncpu esac