I’m working on a dynamic form generator. Someone can create the following fields: string, text, boolean, number, file, etc.
Does it exist? A gem or guide for storing data from such dynamic fo
I’m working on a dynamic form generator. Someone can create the following fields: string, text, boolean, number, file, etc.
Does it exist? A gem or guide for storing data from such dynamic fo
The following query is suitable for local but not for production: (production is heroku is running postgreSQL, local I am running sqllite database)
ruby p>
Tutor.joins(:expertises).wh
I am using the active_scaffold branch of vhochstein, and it runs very well on rails 3, except for some minor errors – http://github.com/vhochstein/active_scaffold. < /p> In rails 2.3, the following
Is it possible to follow Typhoeus redirects and how? write something like this:
res = Typhoeus::Request.get(url, {:follow_location => true})
Is it possible to follow Typhoeus redirection and how?
Write something like this:
res = Typhoeus::Request.get(url, {:follow_location => true})
I need to store a lot of numbers: 100000076685963
For the integer of the db field type, which is the larger one. In my database migration, I use :
t.integer :fb_uid What field type shou
Can I access the parameters passed in the url in CanCan? I am trying to authenticate guests based on the token in the URL.
Thank you!
https://github.com/ryanb/cancan/wiki/Accessing-requ
When I use Selenium to run my test, my step fails and the page is displayed as follows in the browser:
Internal Server Error
can’t convert nil into String
WEBrick/1.3.1 (Ruby/1.9.2/2010-08-18
If I have
ary = [7, 8, 0, 1, nil, 6] How to find the position of the maximum value in the array? I can do this, but it needs more than one line.
ary = [7, 8, 0, 1, nil, 6, 8]
ary.index(
I am trying to install RVM on OSX 10.6.7 and start using it to sandbox my development environment on a per-project basis, but I have encountered some problems.
I installed RVM and created a g
If I have a time string in the form of “Wed,22 Jun 2011 09:43:58 0200” from a customer, I want to save the time zone. This is important because it is not only important It is the absolute UTC time,