CODES
NEW
ADD
SaveCode.net
Ranking
Extension
parse uri object, and fetch response from it, in one step
Home
/
Codes
/
ruby
0
parse URI object, and fetch response from it, in one step
Copy
ruby
url
Favourite
Share
By
Beautiful Badger
at May 29 2022
Related code examples
fetch site in ruby
Redirect from One Method to Another
ruby datetime parse
parse xml ruby
Fetch remote JSON in Ruby
Ruby One-liner for Restoring One Table from a Huge SQL Dump
Ruby: Parse XML to CSV
Get one of your snippets from Snipplr
Copy object Attributes to another object in Ruby
Parse HTML when reading atom feeds
Ruby: Parse Delicious RSS Feeds
Execute an instance method of Object and call in its block instance methods of another object
Regular Expression to Parse Ruby Log Messages
how to run one line pry
ruby does object exist in array
Validate all your records in one fell swoop
ruby sort an object
ruby if statement one line
one line each loop ruby
Retrieve City, State, and Zip info from Google Geocoding service, by passing in a Zipcode
Search for remote gems from command line and view detailed results in textmate
Create and set instance variables from method parameters / arguments
Output raw object values in view for inspection
rails if else assignment one liner
send email rails c one line
ruby create object with attributes
delete item from array in ruby
List columns in table from console
Scan and Require Ruby Files in Directory
ruby merge array of hashes into one hash
Ruby CSV writing and reading example with quotes, line breaks and commas in the fields
ASCII and characters
get and to rails
iterate through values of an object rails
ruby find lower number array object
how to differentiate get and post when it has same name in rails
Locate and play mp3 files with given pattern in path
ruby and ruby ee
Upload and resize with RMagick
Encrypting passwords for a database using one-way hash technique (SHA1)
how to remove columns from rails
ruby filename from path
ruby version from script
Ruby exclude from slice
Post Data From Ruby
Get links from a URL
Image info from blogging.rb
lazyload ruby and rails extensions
get specific key value from array of hashes in ruby
Extract citations from Google Scholar
Logging from inside a rails model
rails remove column from model
ruby remove value from array
ruby extract number from string
rails add index from console
rails send email from console
Post to Twitter from e/TextMate
Get from Pastie - Textmate Command
reading html from an external URL
Seeding database from .XLS file
execute command and get cmd results
File listing and copying between directories
rails api only with postgress and rspec
Ruby difference between for and .each
ruby remove whitespace beginning and end
difference between is_a and kind_of ruby
TextMate bundle searching and pasting code
replace quotes & trim (left and right)
ruby create engine using rspec and dummy
rails server set default port and ip
What version of Ruby and Rails is this using?
Defining the instance and class methods using define_method
ruby remove key value from hash
ruby remove element from array by value
remove ascii characters from string ruby
call controller method from button rails
ruby create nested hash from array
ruby get min value from array
Running RSpec for Rails from TextMate
human readable time from seconds (helper)
Extract most common colors from an image
Strip characters from between two delimiters
get all images from folder begins with ...
Import Notes from Mail.app Into Evernote
Recurse directory tree and count pages in all pdf files using pdf-reader gem
ruby try catch variable and assign nil value
Ruby: Reading from Files + File Class Methods
ruby select first n elements from array
Deploy From Branches, Tags or Trunk (mojoDNA)
Simple File Upload to Amazon S3 From Ruby
Nested Attributes - Minus records from record set
pg_ctl: no database directory specified and environment variable PGDATA unset
Ruby Ferret Simple Indexing And Search Example Part 2
Ruby Ferret simple indexing and search example part 1
Use regex to match a Ruby substring, and reference it like an index
Ruby class and instance variables lifecycle across inheritance demo
Ruby Metaprogramming - Subclass a Method with Before/After Callbacks and alias_method
Ruby: Capturing Song Title information from an IceCast Server
clean rails tmp file,log file and others file.then tar it!
list directory and create wget calls to build standalone html dirs
Code examples by languages
javascript
29k
python
23k
shell
16k
php
14k
java
8k
html
7k
sql
7k
css
7k
c#
4k
typescript
3k
c++
3k
c
3k
bash
2k
swift
909
go
903
vba
890
dart
866
r
746
ruby
681
latex
477
kotlin
440
lua
395
matlab
270
rust
213
groovy
183
assembly
174
basic
151
markdown
102
delphi
76
scala
70
haskell
64
ascii
62
actionscript
56
perl
54
twig
53
elixir
52
julia
46
d
37
octave
34
velocity
34
f#
29
clojure
23
pascal
23
less
23
prolog
19
diff
18
vhdl
18
objective-c
16
fortran
16
scheme
16
abap
16
brainfuck
15
tcl
14
sieve
12
factor
11
lisp
10
jinja2
10
haxe
9
oz
9
pug
9
spreadsheet
9
smarty
9
crystal
7
verilog
7
cobol
6
ocaml
6
protobuf
6
q
6
turtle
6
gas
5
rpm
5
erlang
4
jsx
4
forth
3
handlebars
3
eiffel
2
elm
2
gherkin
2
scss
2
slim
2
textile
2
postscript
1
coffeescript
1
cython
1
dtd
1
ebnf
1
haml
1
idl
1
mathematica
1
nsis
1
puppet
1
soy
1
squirrel
1
toml
1
systemverilog
1